Operation control method, device, storage medium, and electronic device

The method improves operational control accuracy by dynamically adjusting the display area of a virtual cancel button based on user interaction, addressing the inaccuracies in existing operation execution and cancellation methods.

JP2024541050AActive Publication Date: 2024-11-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Application Number
JP2024525862
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-01-21
Filing Date
2022-11-09
Publication Date
2024-11-06
Estimated Expiration
2042-11-09

AI Technical Summary

Technical Problem

Existing methods for determining whether to execute or cancel a target operation lack accuracy, leading to judgment errors and low operational control precision.

Method used

A method involving the display of a virtual operation button that triggers execution, with a virtual cancel button adjusting its display area based on the distance between the operation position and the cancel button, allowing for precise control over operation execution and cancellation.

Benefits of technology

Enhances operational control accuracy by dynamically adjusting the display area of the cancel button in response to user interaction, reducing erroneous operations and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024541050000001_ABST
    Figure 2024541050000001_ABST
Patent Text Reader

Abstract

An operation control method executed by a computer device, comprising: a step of displaying a virtual operation button, the virtual operation button being used to trigger execution of a target operation (S202); a step of displaying a virtual cancel button in response to a target selection operation executed on the virtual operation button, and adjusting a state of the target operation to a standby state, the virtual cancel button being used to cancel the execution of the target operation (S204); a step of controlling so that a display area of ​​the virtual cancel button is enlarged when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is reduced (S206); and a step of canceling the execution of the target operation in a standby state when the target selection operation is ended while the operation position of the target selection operation is on the virtual cancel button (S208).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on January 21, 2022, bearing application number 2022100748892 and entitled "Operation control method, apparatus, storage medium and electronic device," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of computers, and in particular to an operation control method, apparatus, storage medium, computer program product and electronic device. [Background technology]

[0003] After a target operation is triggered, it is often necessary to re-determine whether to execute the triggered target operation or cancel the execution, and further control the target operation according to the determination result. However, in the related art, the method of determining whether to execute or cancel the execution of the target operation lacks precision, and problems such as judgment errors are likely to occur. Therefore, there is a problem of low precision in operation control. Summary of the Invention [Problem to be solved by the invention]

[0004] Various embodiments of the present application provide an operation control method, an apparatus, a storage medium, a computer program product, and an electronic device. [Means for solving the problem]

[0005] According to one aspect of an embodiment of the present application, there is provided an operation control method executed by a computer device, the operation control method including: a step of displaying a virtual operation button, the virtual operation button being used to trigger execution of a target operation; a step of displaying a virtual cancel button in response to a target selection operation performed on the virtual operation button and adjusting a state of the target operation to a standby state, the virtual cancel button being used to cancel the execution of the target operation; a step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is reduced; and a step of canceling the execution of the target operation in the standby state when the target selection operation is ended when the operation position of the target selection operation is on the virtual cancel button.

[0006] According to another aspect of an embodiment of the present application, an operation control device is further provided, the operation control device including: a display unit used for displaying a virtual operation button, the virtual operation button being used for triggering execution of a target operation; an adjustment unit for displaying a virtual cancel button in response to a target selection operation performed on the virtual operation button and adjusting a state of the target operation to a standby state for execution, the virtual cancel button being used for canceling the execution of the target operation; a control unit used for controlling the display area of ​​the virtual cancel button to be larger when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is reduced; and a cancel unit used to cancel the execution of the target operation in the standby state for execution when the target selection operation is ended when the operation position of the target selection operation is on the virtual cancel button.

[0007] According to one aspect of the embodiment of the present application, a non-volatile computer-readable storage medium is provided that stores computer-readable instructions, which, when processed and executed, realize the above-mentioned operation control method.

[0008] According to another aspect of an embodiment of the present application, there is provided a computer program product including computer readable instructions stored in a computer readable storage medium, the computer readable instructions being read by a processor of a computing device from the computer readable storage medium, and the processor executing the computer readable instructions to cause the computing device to perform the above-mentioned operation control method.

[0009] According to another aspect of an embodiment of the present application, there is further provided an electronic device including a memory, a processor and computer readable instructions stored in the memory and executable on the processor, the processor executing the above-mentioned operation control method according to the computer readable instructions.

[0010] The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the application will become apparent from the description, the accompanying drawings, and the claims.

[0011] In order to more clearly explain the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art are briefly described below. The accompanying drawings described here are provided for a better understanding of the present application and form a part of the present application. It is clear that the outline embodiments and the description thereof are used for interpreting the present application and do not constitute an unreasonable limitation on the present application. A person skilled in the art can obtain other accompanying drawings based on these accompanying drawings without any creative effort. [Brief description of the drawings]

[0012] [Figure 1] FIG. 2 is a schematic diagram of a usage environment of the optional operation control method according to an embodiment of the present application. [Diagram 2] FIG. 2 is a schematic diagram of the flow of an optional operation control method according to an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of an optional operation control method according to an embodiment of the present application. [Figure 4] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Diagram 5] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 6] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 7] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 8] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 9] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 10] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 11] FIG. 13 is a schematic diagram of another optional operation control method according to an embodiment of the present application. [Figure 12] FIG. 2 is a schematic diagram of an optional operating control device according to an embodiment of the present application. [Figure 13] FIG. 2 is a schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In order to allow those skilled in the art to better understand the solution of the present application, the following will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. It is clear that the described embodiments are only some embodiments of the present application, and are not all embodiments. Based on the embodiments of the present application, any other embodiments that a person skilled in the art can obtain without creative efforts shall fall within the scope of protection of the present application.

[0014] In addition, the terms "first", "second", and the like in the specification and claims of this application and the above-mentioned attached drawings are used to distinguish similar objects, and are not intended to indicate a particular order or sequence. It should be understood that the data used herein may be interchangeable, where appropriate, such that the embodiments of this application described herein may be performed in an order other than that illustrated or described herein. In addition, the terms "comprise" and "have", as well as any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or device that includes a series of steps or units need not be limited to the steps or units explicitly recited, but rather may include other steps or units not explicitly recited or inherent to these processes, methods, systems, products, or devices.

[0015] According to one aspect of an embodiment of the present application, an operation control method is provided, which may be optionally used in an environment, but is not limited to, as illustrated in Fig. 1, as an optional embodiment, which may include, but is not limited to, a user device 102, a network 110, and a server 112, among which the user device 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104.

[0016] The specific process is as follows: Step S102: The user device 102 acquires a target selection operation performed on a virtual operation button; Steps S104 to S106: the user device 102 transmits a target selection operation to the server 112 via the network 110; Step S108: The server 112 searches the relevant position data of the virtual cancel button through the database 114, and processes the relevant position data and the operation position of the target selection operation through the processing engine 116 to obtain the display area of ​​the virtual cancel button; Steps S110 to S112: The server 112 transmits the display area of ​​the virtual cancel button to the user device 102 via the network 110, and the processor 106 in the user device 102 adjusts the virtual cancel button according to the obtained display area, displays the adjusted virtual cancel button on the display 108, and stores the adjusted virtual cancel button in the memory 104.

[0017] In addition to the example shown in Figure 1, in order to reduce the processing burden of the server, the user device 102 may independently complete the above steps, i.e., the user device 102 may perform steps such as obtaining the display area of ​​the virtual cancel button. The user device 102 may include, but is not limited to, a handheld device (e.g., a mobile phone), a laptop computer, a desktop computer, an in-vehicle device, etc., and the present application does not limit the specific implementation manner of the user device 102.

[0018] Optionally, as an optional embodiment, as shown in FIG. 2, an operation control method may be performed by a computer device, specifically, by a user device in FIG. 1, and the method includes: S202: displaying a virtual operation button, the virtual operation button being used to trigger execution of a target operation; S204: in response to a target selection operation performed on the virtual operation button, displaying a virtual cancel button and adjusting a state of the target operation to a standby state, the virtual cancel button being used to cancel the execution of the target operation; S206: when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is shortened, a step of controlling so that a display area of ​​the virtual cancel button is enlarged; S208: When the target selection operation is ended while the operation position of the target selection operation is on the virtual cancel button, the execution of the target operation in the execution waiting state is cancelled.

[0019] Optionally, in this embodiment, the above operation control method may be used for a scene of canceling the execution of a target operation, but is not limited thereto, in which the execution cancellation scene first triggers the execution of the target operation by a virtual operation button, and then cancels the execution of the target operation using various methods, but is not limited thereto. Here, the various methods may include, but are not limited to, a method of canceling the execution of a target operation using a virtual cancel button, or a method of canceling the execution of a target operation by the distance between the operation position of the target selection operation and the virtual operation button reaching a target cancellation threshold when a target selection operation performed on the virtual operation button is obtained. However, the above operation control method may be, but is not limited to, a method performed on the above method of canceling the execution of a target operation using a virtual cancel button, or a method for solving the technical problem of low accuracy of operation control that exists in the above method of canceling the execution of a target operation using a virtual cancel button.

[0020] Optionally, in this embodiment, in the above method of using a virtual cancel button to cancel the execution of a target operation, the display area of ​​the virtual cancel button is often fixed and does not change, but this fixed and unchanging method does not consider the more efficient cancellation of the execution of the target operation that users generally want in real scenes. And, in order to meet the above demand of users, the distance between the operation position of the target selection operation and the virtual cancel button is used to feed back the intention of the user to cancel the execution of the target operation, and when the distance between the operation position of the target selection operation and the virtual cancel button is shortened or the intention is obtained, the display area of ​​the virtual cancel button is controlled to be larger, so as to provide the user with a method of more efficiently canceling the execution of the target operation, and further achieve the technical effect of the precision of operation control.

[0021] Optionally, in this embodiment, the virtual operation button is used to trigger the execution of the target operation. In one embodiment, the trigger method of the virtual operation button of the target operation may include, but is not limited to, at least one of tapping, long pressing, or sliding. The user can trigger the execution of the target operation by triggering the virtual operation button by at least one of tapping, long pressing, or sliding, thereby supporting the triggering of the target operation in various scenes. In a general case, the triggering of the execution of the target operation using the virtual operation button can be understood as setting the state of the target operation to a standby state, but is not limited thereto, and the target operation in the standby state may be controlled so that it is further executed or the execution is canceled. Alternatively, when the execution of the target operation is triggered using the virtual operation button, the user's control intention for the target operation is not clear, so a buffering state is set in preparation for the execution of the control operation, which is the user's next step.

[0022] Optionally, in this embodiment, a virtual cancel button is used to cancel the execution of the target operation, and the virtual cancel button may be set to be displayed when the target selection operation performed on the virtual operation button is obtained, or the virtual cancel button may be set to be hidden when the target selection operation performed on the virtual operation button is not obtained, but is not limited thereto. In this manner, the effect of the virtual cancel button on the user operation can be reduced, and the effectiveness of the display of the virtual cancel button can be realized, but is not limited thereto.

[0023] Optionally, in this embodiment, the display manner of the virtual operation button and the virtual cancel button is not limited, for example, the shape may be rectangular, circular, polygonal, irregular, etc., but is not limited thereto, and the adjustable state parameters may include, but are not limited to, transparency, chromaticity, or contrast, etc.

[0024] Optionally, in this embodiment, when the target selection operation performed on the virtual operation button is not acquired, the user device can display the virtual operation button and hide the virtual cancel button, but is not limited to this; when the target selection operation performed on the virtual operation button is acquired, the user device displays the virtual cancel button, thereby reducing the line of sight obstruction effect of the virtual cancel button on the user when it is not necessary to use it. In addition, when the target selection operation performed on the virtual operation button is not acquired, the user device may display the virtual operation button and the identifier of the virtual operation button, but is not limited to this; the virtual operation button identifier is used to indicate the hidden position of the virtual operation button, so that the user can clearly determine the position where the virtual operation button is located even when the virtual operation button is hidden; further, when the target selection operation performed on the virtual operation button is acquired, the execution of the target operation can be efficiently canceled with the virtual cancel button; in order to reduce the line of sight obstruction effect on the user by the virtual operation button identifier, but is not limited to this, the display area of ​​the virtual operation button identifier may be set to an upper limit value of the area.

[0025] Optionally, in this embodiment, the state of the target operation may include, but is not limited to, at least one of a trigger waiting state, an execution waiting state, and an execution state. In response to a target selection operation performed on the virtual operation button, the user device may adjust the state of the target operation from a trigger waiting state to an execution waiting state, but is not limited to this. Furthermore, if the target selection operation is terminated when the operation position of the target selection operation is on the virtual cancel button, the user device cancels the execution of the target operation that is in the execution waiting state, or the user device adjusts the state of the target operation from the execution waiting state to the trigger waiting state. Also, if the operation position of the target selection operation is not within the cancel area range when the target selection operation is terminated, the user device adjusts the state of the target operation from the execution waiting state to the execution state, where the cancel area range may include, but is not limited to, the range of the button associated with the virtual cancel button.

[0026] In one embodiment, adjusting the state of the target operation to a waiting-to-execute state includes adjusting the state of the target operation from a waiting-to-trigger state to a waiting-to-execute state.

[0027] Here, in response to a target selection operation performed on a virtual operation button, the triggered target operation is adjusted from a trigger waiting state to an execution waiting state, and the target operation in the execution waiting state can be further controlled to be executed or the execution canceled, so that a buffering state can be set in preparation for the user's next step, which is the execution of a control operation.

[0028] Additionally, canceling the execution of a target operation that is in a waiting to be executed state includes adjusting the state of the target operation from a waiting to be executed state to a waiting to be triggered state.

[0029] Ending the target selection operation when the operating position of the target selection operation is on the virtual cancel button indicates that the user needs to cancel the execution of the target operation, so the user device adjusts the state of the target operation from an execution waiting state to a trigger waiting state to cancel the execution of the target operation.

[0030] In this embodiment, the user device can control the triggering and cancellation of the target operation by switching the state of the target operation, thereby reducing the occurrence of erroneous operations and being advantageous in improving the accuracy of operations.

[0031] In one embodiment, the operation control method further includes adjusting a state of the target operation from a standby state to an execution state when the operation position of the target selection operation is not within a cancel area range associated with the virtual cancel button when the target selection operation is finished. The cancel area range may include a button range associated with the virtual cancel button. The end of the target selection operation and the operation position of the target selection operation not within a cancel area range associated with the virtual cancel button indicate that the user does not need to cancel the execution of the target operation, so that the user device adjusts the state of the target operation from a standby state to an execution state and executes the target operation. Providing an execution standby state for the target operation and buffering the execution and cancellation can reduce the occurrence of erroneous operations and is advantageous in improving the accuracy of operations.

[0032] Optionally, in this embodiment, the user device may acquire, in the process of the operation position of the target selection operation moving, movement information such as, but not limited to, movement direction information, movement distance information, and movement speed information of the operation position of the target selection operation. The distance between the operation position of the target selection operation and the virtual cancel button may be acquired from, but not limited to, the movement direction information and / or the movement distance information. And, the movement speed information may be associated with the control of the display area of ​​the virtual cancel button, such that, the faster the movement speed of the operation position of the target selection operation is, the faster the speed at which the display area of ​​the virtual cancel button is increased is controlled and increased, and vice versa.

[0033] Optionally, in this embodiment, the distance between the operation position of the target selection operation and the virtual cancel button may be, but is not limited to, the distance between the operation position of the target selection operation and the button center of the virtual cancel button.Optionally, in this embodiment, the display area of ​​the virtual cancel button that is controlled to be larger may have a correlation with the distance between the operation position of the target selection operation and the virtual cancel button that is shortened, such as, for example, the shorter the distance between the operation position of the target selection operation and the virtual cancel button, the larger the display area of ​​the controlled virtual cancel button.

[0034] Optionally, in this embodiment, the display area of ​​the virtual cancel button may be set to an upper limit display area and a lower limit display area, but is not limited to this, the lower limit display area may be understood as the initial display area of ​​the virtual cancel button, but is not limited to this, and the upper limit display area may be understood as the maximum display area to which the virtual cancel button is controlled to increase, but is not limited to this.

[0035] In one embodiment, the shape of the virtual cancel button is circular, and the radius of the virtual cancel button is negatively correlated to the distance between the operation position of the target selection operation and the virtual cancel button.

[0036] Specifically, the shape of the virtual cancel button is circular, and the display area of ​​the virtual cancel button is positively correlated with the radius of the virtual cancel button, the larger the radius of the virtual cancel button, the larger the display area of ​​the virtual cancel button on the user device. The radius of the virtual cancel button is negatively correlated with the distance between the operation position of the target selection operation and the virtual cancel button, that is, the shorter the distance between the operation position of the target selection operation and the virtual cancel button, the larger the radius of the virtual cancel button and the larger the display area of ​​the virtual cancel button, which is favorable for triggering the user's cancel.

[0037] In this embodiment, for a circular virtual cancel button, the radius of the virtual cancel button is negatively correlated with the distance between the operation position of the target selection operation and the virtual cancel button, so the shorter the distance between the operation position of the target selection operation and the virtual cancel button, the larger the display area of ​​the virtual cancel button, which is advantageous for the user to trigger cancellation and is advantageous for improving the efficiency of operation control.

[0038] To further explain by way of example, as shown in FIG. 3, the adjustable radius of the virtual cancel button 304 may be arbitrarily assumed to be r (the minimum radius corresponding to the lower limit display area is r1, and the maximum radius corresponding to the upper limit display area is r2), and the distance a between the virtual cancel button 304 and the operation position 306 of the virtual operation button 302 may be obtained, and the formula r=x / a may be used to obtain the adjustable radius r. Here, x is a constant and may be flexibly set according to the distance between the virtual operation button 302 and the virtual cancel button 304. Specifically, for example, if the distance between the center of the virtual cancel button 304 and the operation position 306 of the virtual operation button 302 is a1, then r1=x / a1 may be obtained, and the value of x may be obtained.

[0039] Furthermore, from the set value of r2 and the determined value of x, the minimum distance a2 between the center of the virtual cancel button 304 and the operation position 306 of the virtual operation button 302 is derived, and r2=x / a2 is obtained. In other words, if the distance between the center of the virtual cancel button 304 and the operation position 306 of the virtual operation button 302 is less than a2, it may be possible to prevent the virtual cancel button 304 from being enlarged any further, but this is not limited to the above.

[0040] Optionally, in this embodiment, when the target selection operation is ended when the operation position of the target selection operation is on the virtual cancel button, the operation position of the target selection operation may include, but is not limited to, a case where the operation position of the target selection operation overlaps with the area associated with the virtual cancel button. Furthermore, based on the scene shown in Figure 3, as shown in Figure 4, the operation position 402 of the target selection operation overlaps with the area associated with the virtual cancel button 304, or based on the scene shown in Figure 3, as shown in Figure 5, the operation position 502 of the target selection operation is within the area associated with the virtual cancel button 304, but is not limited to this.

[0041] In addition, the efficiency of operation control is improved by using a method in which the execution of the target operation is controlled to be canceled by the virtual cancel button, and the display area of ​​the virtual cancel button is controlled to become larger when the operation position of the target selection operation that triggers the execution of the target operation approaches the virtual cancel button, and further by flexibly adjusting the display area of ​​the virtual cancel button depending on the distance between the operation position of the target selection operation that triggers the execution of the target operation and the virtual cancel button.

[0042] To further explain by way of example, optionally, based on the scene shown in Fig. 3, the virtual operation button 302 and the virtual cancel button 304 are subsequently displayed as shown in Fig. 6, where the virtual operation button 302 is used to trigger the execution of the target operation, and the virtual cancel button 304 is used to cancel the execution of the target operation. As shown in Fig. 6(a), a target selection operation performed on the virtual operation button 302 is obtained, and the state of the target operation is adjusted to an execution standby state in response to the target selection operation. Also, as shown in Fig. 6(b), when the operation position 602 of the target selection operation moves and the distance between the operation position 602 of the target selection operation and the virtual cancel button 304 is reduced, the display area of ​​the virtual cancel button 304 is controlled to be larger. Furthermore, as shown in Fig. 6(c), when the target selection operation is completed while the operation position 602 of the target selection operation is on the virtual cancel button 304, the execution of the target operation in the execution standby state is canceled.

[0043] According to the embodiment provided in the present application, the user device displays a virtual operation button, which is used to trigger the execution of a target operation; in response to a target selection operation performed on the virtual operation button, displays a virtual cancel button and adjusts the state of the target operation to a standby state, which is used to cancel the execution of the target operation; when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button decreases, the display area of ​​the virtual cancel button is controlled to be larger; when the operation position of the target selection operation is on the virtual cancel button and the target selection operation is completed, the execution of the target operation in the standby state is canceled, and the execution of the target operation is controlled to be canceled by the virtual cancel button; and when the operation position of the target selection operation that triggers the execution of the target operation approaches the virtual cancel button, the display area of ​​the virtual cancel button is controlled to be larger, thereby achieving the purpose of flexibly adjusting the display area of ​​the virtual cancel button according to the distance between the operation position of the target selection operation that triggers the execution of the target operation and the virtual cancel button, and thereby achieving the technical effect of improving the efficiency of operation control.

[0044] As an optional embodiment, when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, a method for controlling the display area of ​​the virtual cancel button to be increased includes: S1: When the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button continues to decrease, the virtual cancel button is displayed to increase from a preset display area to a target display area; or S2: When the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button continues to decrease, the virtual cancel button is displayed to continue to increase in size.

[0045] Optionally, in this embodiment, the process of controlling the display area of ​​the virtual cancel button by the user device to be larger may be continuous, but is not limited thereto, and may be fixed, but is not limited thereto. Here, "continuous" may be understood as, but is not limited to, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button continues to shrink, the user device displays the virtual cancel button so that it continues to be larger. By continuously increasing the display area of ​​the virtual cancel button, the user device can further contribute to the user's operation and improve the operation efficiency. "Fixed" may be understood as, but is not limited to, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button continues to shrink, the user device enlarges the virtual cancel button from a preset display area to a target display area of ​​a fixed size. By enlarging the virtual cancel button to a target display area of ​​a fixed size, the user device can balance the display area of ​​the virtual cancel button and the display content of the screen, and avoid the display content of the screen being excessively blocked by the virtual cancel button, which is advantageous for the user to perform the operation.

[0046] As an optional embodiment, when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, the step of controlling so that the display area of ​​the virtual cancel button is increased includes: The method includes a step of performing control so that, when the operation position of the target selection operation moves toward the virtual cancel button, the display area of ​​the virtual cancel button is increased.

[0047] Optionally, in this embodiment, when the operation position of the target selection operation moves toward the virtual cancel button, this can be understood as when the direction of the operation position of the target selection operation relative to the virtual cancel button on the user device satisfies an orientation condition, but is not limited to this.

[0048] 3, and then as shown in FIG. 7, for example, the target direction 702 may be understood as a standard reference direction for the virtual cancel button 304, but is not limited thereto, and the user device may determine a direction whose angle difference with the target direction 702 is equal to or less than a target angle threshold as a direction in which the orientation condition is satisfied, and determine an operation position corresponding to the direction in which the orientation condition is satisfied as an operation position of the movement toward the virtual cancel button, but is not limited thereto. When the operation position of the target selection operation moves toward the virtual cancel button, the user device can timely adjust the display area of ​​the virtual cancel button based on the moving direction of the operation position, which is advantageous to improving the efficiency of the operation control.

[0049] As an optional embodiment, when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, a method for controlling the display area of ​​the virtual cancel button to be increased includes: S1: When the operation position of the target selection operation is moved but the distance between the operation position of the target selection operation and the virtual cancel button is smaller than the target distance threshold, a step of controlling so that the display area of ​​the virtual cancel button does not change; S2: When the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is equal to or greater than the target distance threshold, the display area of ​​the virtual cancel button is controlled to be larger.

[0050] Optionally, in this embodiment, the distance between the operation position of the target selection operation and the virtual cancel button corresponds to the user's intention of whether or not to cancel the execution of the target operation. However, in reality, when the user triggers the target selection operation and is at the operation position of the target selection operation, it is highly likely that the user does not actually want to cancel the execution of the target operation, if it is a user's operation habit, or if they want to perform it at the appropriate time, so when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is shortened, directly controlling the display area of ​​the virtual cancel button to be larger may lead to problems such as erroneous operation. In order to solve this problem, a pre-control function may be provided, and the pre-control function may be used to make a secondary judgment as to whether the user really wants to cancel the execution of the target operation, but is not limited to this.

[0051] In addition, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is equal to or greater than the target distance threshold, the user device controls so that the display area of ​​the virtual cancel button increases for the first time, and conversely, when the operation position of the target selection operation moves but the distance between the operation position of the target selection operation and the virtual cancel button is smaller than the target distance threshold, the user device controls so that the display area of ​​the virtual cancel button does not change. The user device can reduce the occurrence of erroneous operations by determining the change in the display area of ​​the virtual cancel button based on the target distance threshold.

[0052] As an optional embodiment, when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, a method for controlling the display area of ​​the virtual cancel button to be increased includes: S1: when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is a first distance, displaying a virtual cancel button of a first display area; S2: When the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is a second distance, a step of displaying a virtual cancel button of a second display area, wherein the second distance is smaller than the first distance and the second display area is larger than the first display area.

[0053] Optionally, in this embodiment, the distance between the operation position of the target selection operation and the virtual cancel button may have a corresponding relationship with the display area of ​​the virtual cancel button, which is controlled and changed, but is not limited thereto.

[0054] According to the embodiment provided in the present application, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is a first distance, the user device displays a virtual cancel button of a first display area, and when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is a second distance, the user device displays a virtual cancel button of a second display area, where the second distance is smaller than the first distance and the second display area is larger than the first display area, so that by comparing the distance numerical values, the purpose of efficiently controlling the display area of ​​the virtual cancel button is achieved and the effect of improving the efficiency of operation control is realized.

[0055] As an optional embodiment, when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, a method for controlling the display area of ​​the virtual cancel button to be increased includes: S1: when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is within a first distance threshold range, displaying a virtual cancel button of a third display area, where the first distance threshold range corresponds to the third display area; S2: When the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is within a second distance threshold range, a step of displaying a virtual cancel button of a fourth display area, wherein the second distance threshold range corresponds to the fourth display area, the distance threshold in the second distance threshold range is smaller than the distance threshold in the first distance threshold range, and the fourth display area is larger than the third display area.

[0056] Optionally, in this embodiment, the distance threshold, which includes the distance between the operation position of the target selection operation and the virtual cancel button, may have a correspondence relationship with the display area that changes by controlling the virtual cancel button, but is not limited to this.

[0057] According to the embodiment provided in the present application, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is in a first distance threshold range, the user device displays a virtual cancel button of a third display area, and the first distance threshold range corresponds to the third display area; when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is in a second distance threshold range, the user device displays a virtual cancel button of a fourth display area, and the second distance threshold range corresponds to the fourth display area, and the distance threshold in the second distance threshold range is smaller than the distance threshold in the first distance threshold range, and the fourth display area is larger than the third display area. Therefore, by judging the distance threshold range, the purpose of efficiently controlling the display area of ​​the virtual cancel button is achieved, and the effect of improving the efficiency of operation control is realized.

[0058] As an optional embodiment, a method for canceling the execution of a target operation waiting to be executed when the target selection operation is ended when the operation position of the target selection operation is on a virtual cancel button includes:

[0059] When a target operation location point associated with the target selection operation is on the virtual cancel button and the target selection operation is terminated when the amount of target operation location points on the virtual cancel button reaches a trigger threshold, the user device cancels execution of the target operation that is waiting to be executed, and at least one target operation location point is associated with the target selection operation, and the target operation location point is used to determine the operation location of the target selection operation.

[0060] Optionally, in this embodiment, the target selection operation is generally associated with a plurality of target operation position points, and taking the touch screen operation as an example, when the touched area reaches a certain range, it can indicate that the target selection operation is triggered, but is not limited thereto, the operation position point included in the touched area can be understood as the target operation position point, or among all the operation position points included in the touched area, the operation position point that meets a preset condition can be understood as the target operation position point, but is not limited thereto, the preset condition can be, but is not limited to, the distance between the center point of the touched area is less than or equal to the operation distance. When the number of target operation position points on the virtual cancel button reaches the trigger threshold, the user device can cancel the execution of the target operation in the execution waiting state, thereby ensuring the accuracy of the cancellation of the target operation.

[0061] As an optional embodiment, the step of controlling the display area of ​​the virtual cancel button to increase includes a step of controlling the display area of ​​the virtual cancel button to start increasing from a preset display area, and as an optional embodiment, the operation control method further includes returning the display area of ​​the virtual cancel button to the preset display area when the execution of the target operation is canceled.

[0062] A preset display area is set as the initial display area of ​​the virtual cancel button, and the virtual cancel button becomes larger based on the preset display area. However, when the execution of the target operation is canceled, the user device returns the display area of ​​the virtual cancel button to the preset display area, i.e., returns the enlarged display area to the initial preset display area and displays it, thereby realizing the restoration of the display area of ​​the virtual cancel button. The change in the display area of ​​the virtual cancel button can express the execution status of the target operation, which is advantageous to improving the efficiency of operation control.

[0063] In one embodiment, the step of controlling the display area of ​​the virtual cancel button to increase includes a step of controlling the display area of ​​the virtual cancel button to start increasing from a preset display area, and the operation control method further includes a step of returning the display area of ​​the virtual cancel button to the preset display area when the end position of the target selection operation is outside the area where the virtual cancel button is located.

[0064] The virtual cancel button becomes larger based on a preset display area, but when the end position of the target selection operation is outside the area where the virtual cancel button is located, the user device returns the display area of ​​the virtual cancel button to the preset display area, i.e., returns the enlarged display area to the initial preset display area and displays it, thereby realizing the restoration of the virtual cancel button display area. The change in the display area of ​​the virtual cancel button can express the execution status of the target operation, which is advantageous to improving the efficiency of operation control.

[0065] To further illustrate, optionally, based on the scene shown in FIG. 3 and subsequently as shown in FIG. 8, the user device displays a virtual operation button 302 and a virtual cancel button 304, where the virtual operation button 302 is used to trigger the execution of a target operation and the virtual cancel button 304 is used to cancel the execution of the target operation. As shown in (a) of FIG. 8, the user device obtains a target selection operation performed on the virtual operation button 302, and in response to the target selection operation, the user device adjusts the state of the target operation to a standby state for execution, and as shown in (b) of FIG. 8, when the operation position 802 of the target selection operation moves and the distance between the operation position 802 of the target selection operation and the virtual cancel button 304 decreases, the user device controls the virtual cancel button 304 to start to increase in size from a preset display area, and as shown in (c) of FIG. 8, when the target selection operation is ended when the operation position 802 of the target selection operation is on the virtual cancel button 304, the user device cancels the execution of the target operation in the standby state for execution, and when the execution of the target operation is canceled, as shown in (d) of FIG. 8, the user device returns the display area of ​​the virtual cancel button 304 to the preset display area.

[0066] As an optional embodiment, when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, the step of controlling so that the display area of ​​the virtual cancel button is increased includes: When the target selection operation is a long press operation on the virtual operation button, and the touch position of the long press operation moves and the distance between the touch position of the long press operation and the virtual cancel button is reduced, a step of controlling so that a display area of ​​the virtual cancel button is increased; or The method includes a step of controlling so that when the target selection operation is a successive selection operation (e.g., a floating selection operation) on a virtual operation button, the successive selection positions of the successive selection operation move and the distance between the successive selection positions and the virtual cancel button decreases, the display area of ​​the virtual cancel button is increased.

[0067] In this embodiment, when the touch position of the long press operation on the virtual operation button moves and the distance between the touch position and the virtual cancel button is shortened, the user device controls the display area of ​​the virtual cancel button to be larger, thereby achieving the purpose of flexibly adjusting the display area of ​​the virtual cancel button according to the distance between the operation position of the target selection operation that triggers the execution of the target operation and the virtual cancel button, and the technical effect of improving operation control efficiency.

[0068] As an optional embodiment, the operation control method includes: The method further includes a step of displaying movement of the virtual cancel button toward the virtual operation button when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button decreases.

[0069] It should be noted that when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button decreases, the user device displays the movement of the virtual cancel button towards the virtual operation button.

[0070] To further illustrate the invention, optionally, based on the scene shown in FIG. 3, the user device displays a virtual operation button 302 and a virtual cancel button 304, as shown in FIG. 9, for example, where the virtual operation button 302 is used to trigger the execution of a target operation and the virtual cancel button 304 is used to cancel the execution of the target operation, and the user device obtains a target selection operation performed on the virtual operation button 302, as shown in FIG. 9(a), and further, in response to the target selection operation, the user device adjusts the state of the target operation to an execution waiting state, and as shown in FIG. 9(b), when the operation position 602 of the target selection operation moves and the distance between the operation position 602 of the target selection operation and the virtual cancel button 304 is reduced, the user device controls the virtual cancel button 304 to start to grow from a preset display area, and displays the movement of the virtual cancel button 304 toward the virtual operation button 302.

[0071] According to the embodiment provided in the present application, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is shortened, the movement of the virtual cancel button toward the virtual operation button is displayed, thereby achieving the purpose of flexibly adjusting the relative position between the virtual cancel button and the virtual operation button, and achieving the technical effect of improving the efficiency of operation control.

[0072] As an optional embodiment, for the sake of convenience, the above operation control method is applied to a game scene. Optionally, in this embodiment, a virtual operation button (skill button) is used to trigger the control of a target operation performed by a virtual character in a virtual scene, the target operation may be but is not limited to the character skill of the virtual character, and a virtual cancel button (cancel button) is used to cancel the execution of the character skill.

[0073] In addition, in order to allow the player to more easily and conveniently select the skill release cancel button, the display area of ​​the cancel button is set to flexibly adjust according to the distance between the player's finger and the cancel button, for example, the closer the distance, the larger the cancel button becomes, so that the corresponding hotspot becomes larger, and the player can more easily select and complete the operation.

[0074] To further illustrate, optionally, for example, as shown in FIG. 10, when the player presses the skill button 1004 and receives a signal to move toward the cancel button 1002, during the process of moving toward it, the user device controls the cancel button 1002 to increase at a constant speed, so that the hotspot for the player to perform the cancel operation becomes larger, making the operation easier.

[0075] To further illustrate, a method may be implemented by a user device, for example as shown in FIG. Step S1102: Obtaining a selection operation triggered on a skill button; step S1104: displaying a cancel button used to cancel the skill release; Step S1106: Displaying a movement of the selection operation toward the cancel button; Step S1108: dynamically adjusting the display area of ​​the cancel button; Step S1110: determining whether the selection operation has been completed; Step S1112: Canceling the skill release.

[0076] Optionally, in this embodiment, the radius of the cancel button is assumed to be r, the minimum radius of the cancel button is assumed to be r1, and the maximum radius of the cancel button is assumed to be r2. The distance from the center of the cancel button to the finger is assumed to be a, r=x / a, where x is a constant, and the distance between the center of each skill button and the center of the cancel button is assumed to be a1. The value of x can be obtained based on r1=x / a1. Next, based on the set value of r2 and the determined value of x, the shortest distance a2 from the finger to the cancel button is derived by r2=x / a2, that is, when the distance from the finger to the center of the cancel button becomes less than a2, the cancel button will not be enlarged any more. The judgment on the display of the cancel button is made based on whether the player is pressing any skill and has not lifted his finger off the screen of the mobile phone, and the judgment on the cancellation of the skill release is made based on whether the player has pressed the skill cancel button and lifted his finger off the screen of the mobile phone.

[0077] According to the embodiment provided in the present application, the corresponding hotspot changes dynamically according to the distance of the finger, such that the closer the distance, the larger the button, reducing the requirement on the player's operation precision, allowing the player to make selections more easily and enjoying a smoother and more familiar experience throughout the operation.

[0078] It will be appreciated that specific embodiments of the present application involve relevant data such as user information, and therefore, when the above examples of the present application are applied to a specific product or technology, user permission or consent may be required, and the collection, use and processing of relevant data may be in accordance with the relevant laws, regulations and standards of the relevant countries and regions.

[0079] Although the above method embodiments are shown as a combination of a series of operations for the sake of brevity, those skilled in the art will appreciate that the present application is not limited to the described order of operations, since some steps may be performed in other orders or simultaneously. Furthermore, those skilled in the art will appreciate that the embodiments described in the specification are preferred embodiments, and the operations and modules involved are not necessarily essential to the present application.

[0080] According to another aspect of the embodiment of the present application, there is further provided an operation control device for implementing the above operation control method. As shown in FIG. 12, the device includes: a display unit 1202 used for displaying virtual operation buttons, the virtual operation buttons being used to trigger the execution of target operations; an adjusting unit 1204 adapted to display a virtual cancel button and adjust a state of the target operation to a waiting-to-execute state in response to a target selection operation performed on the virtual operation button, the virtual cancel button being adapted to cancel the execution of the target operation; A control unit 1206 is used for controlling the display area of ​​the virtual cancel button to be enlarged when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is shortened; and a cancel unit 1208 used to cancel the execution of the target operation waiting to be executed when the target selection operation is terminated while the operation position of the target selection operation is on the virtual cancel button.

[0081] For a specific embodiment, please refer to the example shown in the above operation control method.

[0082] In the embodiment provided in the present application, a virtual operation button is displayed, the virtual operation button is used to trigger the execution of a target operation, and in response to a target selection operation performed on the virtual operation button, a virtual cancel button is displayed and the state of the target operation is adjusted to a standby state, the virtual cancel button is used to cancel the execution of the target operation, when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is shortened, the display area of ​​the virtual cancel button is controlled to be enlarged, when the operation position of the target selection operation is on the virtual cancel button and the target selection operation is terminated, the execution of the target operation in the standby state is cancelled, and the execution of the target operation is cancelled by the virtual cancel button, and further, when the operation position of the target selection operation that triggers the execution of the target operation approaches the virtual cancel button, the display area of ​​the virtual cancel button is controlled to be enlarged, thereby achieving the purpose of flexibly adjusting the display area of ​​the virtual cancel button according to the distance between the operation position of the target selection operation that triggers the execution of the target operation and the virtual cancel button, and realizing the technical effect of improving operation control efficiency.

[0083] In an optional embodiment, the control unit 1206 is A first display module is used for displaying that the virtual cancel button increases in size from a preset display area to a target display area when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button continues to decrease; or and a second display module used to display that the virtual cancel button continues to grow larger when the operating position of the target selection operation moves and the distance between the operating position of the target selection operation and the virtual cancel button continues to shrink.

[0084] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0085] In an optional embodiment, the control unit 1206 is The device includes a first control module that is used for controlling the display area of ​​the virtual cancel button to be larger when the operation position of the target selection operation moves toward the virtual cancel button.

[0086] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0087] In an optional embodiment, the control unit 1206 is a second control module that is used for controlling so that a display area of ​​the virtual cancel button does not change when the operation position of the target selection operation is moved but the distance between the operation position of the target selection operation and the virtual cancel button is smaller than a target distance threshold; and a third control module used to control the display area of ​​the virtual cancel button to be larger when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is equal to or greater than the target distance threshold.

[0088] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0089] In an optional embodiment, the control unit 1206 is a third display module, which is used for displaying a virtual cancel button in a first display area when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is a first distance; and a fourth display module used to display a virtual cancel button of a second display area when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is a second distance, the second distance being smaller than the first distance and the second display area being larger than the first display area.

[0090] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0091] In an optional embodiment, the control unit 1206 is a fifth display module, which is used to display a virtual cancel button in a third display area when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is within a first distance threshold range, and the first distance threshold range corresponds to the third display area; a sixth display module used to display a virtual cancel button of a fourth display area when the operating position of the target selection operation moves and the distance between the operating position of the target selection operation and the virtual cancel button is within a second distance threshold range, the second distance threshold range corresponds to the fourth display area, the distance threshold in the second distance threshold range is smaller than the distance threshold in the first distance threshold range, and the fourth display area is larger than the third display area.

[0092] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0093] As an optional embodiment, the canceling unit 1208 is The first cancellation module is a first cancellation module used to cancel execution of a target operation waiting to be executed when a target operation location point associated with the target selection operation is on a virtual cancel button and the target selection operation is terminated when the quantity of target operation location points on the virtual cancel button reaches a trigger threshold, wherein the target selection operation is associated with at least one target operation location point, and the target operation location point includes a first cancellation module used to determine an operation location of the target selection operation.

[0094] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0095] As an optional embodiment, the control unit 1206 includes a fourth control module used for controlling the display area of ​​the virtual cancel button to start growing from a preset display area; The device further includes a second cancel module used to return the display area of ​​the virtual cancel button to a preset display area if the execution of the target operation is canceled, or a third cancel module used to return the display area of ​​the virtual cancel button to a preset display area if the end position of the target selection operation is outside the area where the virtual cancel button is located.

[0096] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0097] In an optional embodiment, the control unit 1206 is The device includes a fifth control module used for controlling the display area of ​​the virtual cancel button to be enlarged when the target selection operation is a long press operation on the virtual operation button, the touch position of the long press operation moves, and the distance between the touch position of the long press operation and the virtual cancel button is reduced.

[0098] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0099] In an optional embodiment, the apparatus comprises: The device further includes a seventh display module used to display the movement of the virtual cancel button toward the virtual operation button when the operating position of the target selection operation moves and the distance between the operating position of the target selection operation and the virtual cancel button decreases.

[0100] For specific embodiments, reference can be made to the examples given in the above operation control method, and thus the details will not be repeated in this example.

[0101] According to yet another aspect of an embodiment of the present application, there is further provided an electronic device for performing the above-mentioned operation control method, the electronic device including a memory 1302 and a processor 1304, the memory 1302 having computer-readable instructions stored therein, and the processor 1304 being configured to execute steps in any of the above-mentioned method embodiments according to the computer-readable instructions, as shown in FIG. 13 .

[0102] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0103] Optionally, in this embodiment, the processor is further configured to: S1: displaying a virtual operation button, the virtual operation button being used to trigger the execution of a target operation; S2: in response to a target selection operation performed on the virtual operation button, displaying a virtual cancel button and adjusting a state of the target operation to a standby state, the virtual cancel button being used to cancel the execution of the target operation; S3: When the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is shortened, a step of controlling so that the display area of ​​the virtual cancel button is enlarged; S4: When the target selection operation is ended while the operation position of the target selection operation is on the virtual cancel button, a step of canceling the execution of the target operation that is in a standby state may be executed.

[0104] Optionally, as will be understood by those skilled in the art, the configuration shown in Fig. 13 is merely schematic, and the electronic device may be a terminal device such as a smartphone (e.g., an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a personal digital assistant and a mobile Internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 13 does not limit the configuration of the electronic device. For example, the electronic device may include more or less components (e.g., a network interface, etc.) than those shown in Fig. 13, or may have a different configuration from that shown in Fig. 13.

[0105] Here, the memory 1302 may be used to store software readable instructions and modules, such as computer readable instructions / modules corresponding to the operation control method and device in the embodiments of the present application, and the processor 1304 executes the computer readable instructions and modules stored in the memory 1302 to perform various functional applications and data processing, i.e., to realize the above operation control method. The memory 1302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some embodiments, the memory 1302 may further include memories that are provided remotely with respect to the processor 1304, and these remote memories may be connected to the terminal via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Among them, the memory 1302 may be used to specifically store information such as, but is not limited to, target operations, target selection operations, operation positions, and display areas. 13, the memory 1302 may include, but is not limited to, the display unit 1202, the adjustment unit 1204, the control unit 1206 and the cancel unit 1208 in the operation control device, and may further include, but is not limited to, other module units in the operation control device, which will not be repeated in this example.

[0106] Optionally, the above-mentioned transmission device 1306 is used to receive or transmit data through a network. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one embodiment, the transmission device 1306 includes a network adapter (Network Interface Controller, NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1306 is a Radio Frequency (RF) module that is used to communicate with the Internet in a wireless manner.

[0107] The electronic device further includes a display 1308 used to display information such as the target operation, target selection operation, operation position, and display area, and a connection bus 1310 used to connect each modular component in the electronic device.

[0108] In another embodiment, the terminal device or server may be a node in a distributed system, the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by the nodes connected in the form of network communication. Here, the nodes may form a peer-to-peer (P2P) network, and any type of computing device, such as a server, a terminal, or other electronic device, can become a node in the blockchain system by participating in the peer-to-peer network.

[0109] According to one aspect of the present application, a computer program product is provided, the computer program product including computer readable instructions, the computer readable instructions including program code for performing the method illustrated in the flowchart. In such an embodiment, the computer readable instructions may be downloaded and installed from a network via a communication unit and / or may be installed from a removable medium. When the computer readable instructions are executed by a central processing unit, various functions provided by the embodiments of the present application are performed.

[0110] The numbers of the above embodiments of the present invention are merely for illustrative purposes and do not represent the superiority or inferiority of the embodiments.

[0111] It should be noted that the computer system of the electronic device is merely an example and does not impose any limitations on the functions and scope of use of the embodiments of the present application.

[0112] The computer system includes a central processing unit (CPU) that performs various appropriate operations and processes according to computer readable instructions stored in a read-only memory (ROM) or loaded from the memory into a random access memory (RAM). The random access memory further stores various computer readable instructions and data necessary for the operation of the system. The central processing unit, the read-only memory, and the random access memory are connected to each other via a bus. An input / output interface (I / O interface) is also connected to the bus.

[0113] To the input / output interface, there are connected an input section including a keyboard, a mouse, etc., an output section including a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, etc., a storage section including a hard disk, etc., and a communication section including a network interface card such as a local area network card and a modem. The communication section performs communication processing via a network such as the Internet. Drives are also connected to the input / output interface as necessary. Removable media such as magnetic disks, optical disks, magneto-optical disks, and semiconductor memories are mounted in the drives as necessary, and computer-readable instructions read from them are installed in the storage section as necessary.

[0114] In particular, according to an embodiment of the present application, the processes described in the flowcharts of each method may be implemented as computer-readable instructions. For example, an embodiment of the present application may include a computer program product, the computer program product including computer-readable instructions carried on a computer-readable medium, the computer-readable instructions including program code for executing the method shown in the flowchart. In such an embodiment, the computer-readable instructions may be downloaded and installed from a network via a communication unit and / or installed from a removable medium. When the computer-readable instructions are executed by a central processing unit, various functions defined in the system of the present application are performed.

[0115] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computing device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions such that the computing device performs the methods provided in the various selectable implementations above.

[0116] Optionally, in this embodiment, the computer readable storage medium further comprises: S1: displaying a virtual operation button, where the virtual operation button is used to trigger the execution of a target operation; S2: in response to a target selection operation performed on the virtual operation button, displaying a virtual cancel button and adjusting a state of the target operation to a standby state, the virtual cancel button being used to cancel the execution of the target operation; S3: When the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, a step of controlling so that the display area of ​​the virtual cancel button is increased; S4: If the target selection operation is ended while the operating position of the target selection operation is on the virtual cancel button, canceling the execution of the target operation that is waiting to be executed may be configured to store computer readable instructions for executing the steps.

[0117] Optionally, in this embodiment, as will be understood by those skilled in the art, all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware associated with a terminal device by computer-readable instructions, and the computer-readable instructions may be stored in a computer-readable storage medium, and the storage medium may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0118] The numbers of the above embodiments of the present invention are merely for illustrative purposes and do not represent the superiority or inferiority of the embodiments.

[0119] When the integrated units in the above embodiments are realized in the form of a software functional unit and sold or used as an independent product, they may be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application may be essentially embodied in the form of a software product, or the part that contributes to the prior art or the whole or part of the technical solution, and the computer software product is stored in a storage medium and includes some instructions for executing the whole or part of the steps of the method according to each embodiment of the present application by one or more computer devices (which may be personal computers, servers, network devices, etc.).

[0120] In the above embodiments of the present application, emphasis is placed on the description of each embodiment, and for parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0121] It should be understood that in some embodiments provided in the present application, the disclosed client may be realized in other forms. Among others, the above-described device embodiments are merely schematic, for example, the division of the units is merely a logical functional division, and may have other division methods when actually realized, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. Another point is that the couplings or direct couplings or communication connections between the units or modules shown or discussed may be via some interfaces, and the indirect couplings or communication connections of the units or modules may be electrical or other forms.

[0122] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of these units can be selected according to actual needs to achieve the objectives of the solution of the present embodiment.

[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist physically independent, or two or more units may be integrated into one unit. The above-mentioned integrated units may be realized in the form of hardware or software functional units.

[0124] The above description is merely a preferred embodiment of the present application, and those skilled in the art may further make some improvements and modifications without departing from the principles of the present application, and these improvements and modifications should also be considered as within the scope of protection of the present application.

Claims

1. 1. A method of operational control performed by a computing device, comprising: displaying a virtual operation button, the virtual operation button being used to trigger execution of a target operation; displaying a virtual cancel button and adjusting a state of the target operation to a standby state in response to a target selection operation performed on the virtual operation button, the virtual cancel button being used to cancel the execution of the target operation; a step of controlling so that a display area of ​​the virtual cancel button is increased when an operation position of the target selection operation is moved and a distance between the operation position of the target selection operation and the virtual cancel button is reduced; canceling the execution of the target operation that is in the execution waiting state when the target selection operation is ended while the operating position of the target selection operation is on the virtual cancel button.

2. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, 2. The method of claim 1, further comprising a step of displaying the virtual cancel button so that it increases from a preset display area to a target display area when the operating position of the target selection operation moves and the distance between the operating position of the target selection operation and the virtual cancel button continues to decrease.

3. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, 2. The method of claim 1, further comprising a step of displaying the virtual cancel button to continue to grow larger when the operating position of the target selection operation moves and the distance between the operating position of the target selection operation and the virtual cancel button continues to shrink.

4. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, The method according to claim 1 , further comprising a step of controlling a display area of ​​the virtual cancel button to be larger when an operation position of the target selection operation moves toward the virtual cancel button.

5. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, When an operation position of the target selection operation is moved but a distance between the operation position of the target selection operation and the virtual cancel button is smaller than a target distance threshold, controlling so that a display area of ​​the virtual cancel button does not change; The method according to claim 1, further comprising: a step of controlling a display area of ​​the virtual cancel button to be larger when the operation position of the target selection operation moves and the distance between the operation position of the target selection operation and the virtual cancel button is equal to or greater than the target distance threshold.

6. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, displaying the virtual cancel button in a first display area when an operation position of the target selection operation moves and a distance between the operation position of the target selection operation and the virtual cancel button is a first distance; 2. The method of claim 1, further comprising: when an operating position of the target selection operation moves and a distance between the operating position of the target selection operation and the virtual cancel button is a second distance, displaying the virtual cancel button in a second display area, wherein the second distance is shorter than the first distance and the second display area is larger than the first display area.

7. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, a step of displaying the virtual cancel button in a third display area when an operation position of the target selection operation moves and a distance between the operation position of the target selection operation and the virtual cancel button is within a first distance threshold range, the first distance threshold range corresponding to the third display area; 2. The method of claim 1, further comprising: when an operating position of the target selection operation moves and a distance between the operating position of the target selection operation and the virtual cancel button is within a second distance threshold range, displaying the virtual cancel button in a fourth display area, wherein the second distance threshold range corresponds to the fourth display area, a distance threshold in the second distance threshold range is shorter than the distance threshold in the first distance threshold range, and the fourth display area is larger than the third display area.

8. When the target selection operation is ended while the operation position of the target selection operation is on the virtual cancel button, the step of canceling the execution of the target operation in the execution waiting state includes:

2. The method of claim 1, further comprising: canceling execution of the target operation waiting to be executed when the target selection operation is terminated when a target operation location point associated with the target selection operation is on the virtual cancel button and a quantity of target operation location points on the virtual cancel button reaches a trigger threshold, wherein the target selection operation is associated with at least one target operation location point, and the target operation location point is used to determine an operation location of the target selection operation.

9. The step of controlling the display area of ​​the virtual cancel button to be increased includes: The method includes controlling the display area of ​​the virtual cancel button so that the display area starts to increase from a preset display area; The method of claim 1 , further comprising the step of returning a display area of ​​the virtual cancel button to a preset display area if execution of the target operation is canceled.

10. The step of controlling the display area of ​​the virtual cancel button to be increased includes: The method includes controlling the display area of ​​the virtual cancel button so that the display area starts to increase from a preset display area; 2. The method of claim 1, further comprising the step of returning a display area of ​​the virtual cancel button to the preset display area when an end position of the target selection operation is outside an area in which the virtual cancel button is located.

11. the step of controlling so that a display area of ​​the virtual cancel button is increased when the operation position of the target selection operation is moved and the distance between the operation position of the target selection operation and the virtual cancel button is reduced, The method according to claim 1, characterized in that when the target selection operation is a long press operation on the virtual operation button, the touch position of the long press operation moves and the distance between the touch position of the long press operation and the virtual cancel button decreases, the method includes a step of controlling so that the display area of ​​the virtual cancel button increases.

12. 2. The method of claim 1, further comprising the step of displaying movement of the virtual cancel button toward the virtual operation button when the operating position of the target selection operation moves and the distance between the operating position of the target selection operation and the virtual cancel button decreases.

13. The method according to claim 1 , wherein a triggering method of the target operation on the virtual operation button includes at least one of tapping, long pressing, or sliding.

14. adjusting the state of the target operation to a waiting-to-execute state, adjusting a state of the target operation from a wait-to-trigger state to a wait-to-perform state; The step of canceling the execution of the target operation in the execution waiting state includes:

2. The method of claim 1, further comprising adjusting a state of the target operation from the ready to execute state to the ready to trigger state.

15. 2. The method of claim 1, further comprising the step of adjusting a state of the target operation from the waiting-to-execute state to an executing state if an operating position of the target selection operation is not within a cancel area range associated with the virtual cancel button when the target selection operation is terminated.

16. The method of claim 1 , wherein the virtual cancel button has a circular shape, and the radius of the virtual cancel button is negatively correlated to the distance between the operation position of the target selection operation and the virtual cancel button.

17. a display unit adapted to display a virtual operation button and a virtual cancel button, the virtual operation button being adapted to trigger the execution of a target operation and the virtual cancel button being adapted to cancel the execution of the target operation; an adjustment unit for displaying a virtual cancel button in response to a target selection operation performed on the virtual operation button and for adjusting a state of the target operation to a standby state, the virtual cancel button being used to cancel the execution of the target operation; a control unit that is used for controlling so that a display area of ​​the virtual cancel button is increased when an operation position of the target selection operation is moved and a distance between the operation position of the target selection operation and the virtual cancel button is reduced; and a cancel unit used to cancel the execution of the target operation that is in the execution waiting state when the target selection operation is ended while the operation position of the target selection operation is on the virtual cancel button.

18. A computer program comprising computer readable instructions, which, when executed by a processor, cause the steps of the method according to any one of claims 1 to 16 to be implemented.

19. 17. An electronic device comprising a memory and a processor, characterized in that the memory has computer readable instructions stored therein, and the processor is configured to execute a method according to any one of claims 1 to 16 by means of the computer readable instructions.

Citation Information

Patent Citations

  • Virtual resource use control method and device, computer equipment and storage medium

    CN113546424A

  • Method and device for controlling skills in game and electronic terminal

    CN113908534A

  • Information Processing Method, Apparatus, Electronic Device and Storage Medium

    US20180373406A1

  • Devices, methods, and graphical user interfaces for providing game controls

    US20190366213A1

Cited By

  • Information processing device, method, and program

    JP7892816B1