WO2023138174A1 - 操作控制方法、装置和存储介质及电子设备 - Google Patents

操作控制方法、装置和存储介质及电子设备 Download PDF

Info

Publication number
WO2023138174A1
WO2023138174A1 PCT/CN2022/130837 CN2022130837W WO2023138174A1 WO 2023138174 A1 WO2023138174 A1 WO 2023138174A1 CN 2022130837 W CN2022130837 W CN 2022130837W WO 2023138174 A1 WO2023138174 A1 WO 2023138174A1
Authority
WO
WIPO (PCT)
Prior art keywords
cancel button
virtual
target
target selection
display area
Prior art date
Application number
PCT/CN2022/130837
Other languages
English (en)
French (fr)
Inventor
蒋帅
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to US18/214,914 priority Critical patent/US20230338844A1/en
Publication of WO2023138174A1 publication Critical patent/WO2023138174A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Definitions

  • the present application relates to the field of computers, in particular, to an operation control method, device, storage medium, computer program product and electronic equipment.
  • an operation control method, device, storage medium, computer program product and electronic equipment are provided.
  • an operation control method executed by a computer device, comprising: displaying a virtual operation button, wherein the virtual operation button is used to trigger execution of a target operation; in response to a target selection operation performed on the virtual operation button, displaying a virtual cancel button, and adjusting the state of the target operation to a state to be executed, wherein the virtual cancel button is used to cancel 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 becomes smaller, control the virtual cancel button.
  • the display area becomes larger; and when the above-mentioned target selection operation ends when the operation position of the above-mentioned target selection operation is located on the above-mentioned virtual cancel button, cancel execution of the above-mentioned target operation in the above-mentioned waiting state.
  • an operation control device including: a display unit configured to display a virtual operation button, wherein the virtual operation button is used to trigger the execution of a target operation; an adjustment unit configured to display a virtual cancel button in response to a target selection operation performed on the virtual operation button, and adjust the state of the target operation to a state to be executed, wherein the virtual cancel button is used to cancel execution of the target operation; a control unit configured to move 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 becomes smaller , controlling the display area of the above-mentioned virtual cancel button to become larger; and a cancel unit, configured to cancel execution of the above-mentioned target operation in the above-mentioned waiting state when the above-mentioned target selection operation ends when the operation position of the above-mentioned target selection operation is located on the above-mentioned virtual cancel button.
  • a non-volatile computer-readable storage medium storing computer-readable instructions.
  • the above operation control method is realized.
  • a computer program product includes computer-readable instructions, and the computer-readable instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer-readable instructions from the computer-readable storage medium, and the processor executes the computer-readable instructions, so that the computer device executes the above operation control method.
  • an electronic device including a memory, a processor, and computer-readable instructions stored on the memory and operable on the processor, wherein the above-mentioned processor executes the above-mentioned operation control method through the computer-readable instructions.
  • FIG. 1 is a schematic diagram of an application environment of an optional operation control method according to an embodiment of the present application
  • Fig. 2 is a schematic diagram of the flow of an optional operation control method according to an embodiment of the present application
  • Fig. 3 is a schematic diagram of an optional operation control method according to an embodiment of the present application.
  • Fig. 4 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • Fig. 5 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • Fig. 6 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • Fig. 7 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • Fig. 8 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • Fig. 11 is a schematic diagram of another optional operation control method according to an embodiment of the present application.
  • Fig. 12 is a schematic diagram of an optional operation control device according to an embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.
  • an operation control method is provided.
  • the above operation control method may be applied to the environment shown in FIG. 1 , but is not limited to. It may include, but is not limited to, a user equipment 102 , a network 110 and a server 112 , wherein, the user equipment 102 may include, but is not limited to, a display 108 , a processor 106 and a memory 104 .
  • Step S102 the user equipment 102 obtains the target selection operation performed on the virtual operation button
  • Steps S104-S106 the user equipment 102 sends the target selection operation to the server 112 through the network 110;
  • Step S108 the server 112 searches the database 114 for the relevant position data of the virtual cancel button, and processes the relevant position data and the operation position of the target selection operation through the processing engine 116, so as to obtain the display area of the virtual cancel button;
  • the server 112 sends the display area of the virtual cancel button to the user equipment 102 through the network 110, and the processor 106 in the user equipment 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.
  • the above steps can be independently completed by the user equipment 102, that is, the user equipment 102 performs steps such as obtaining the display area of the virtual cancel button, thereby reducing the processing pressure on the server.
  • the user equipment 102 includes, but is not limited to, a handheld device (such as a mobile phone), a notebook computer, a desktop computer, and a vehicle-mounted device, and the present application does not limit the specific implementation manner of the user equipment 102 .
  • the operation control method is executed by a computer device, specifically, it may be executed by a user device as shown in FIG. 1, and the method includes:
  • the above-mentioned operation control method can be applied, but not limited, to the cancel execution scenario of the target operation.
  • the execution of the target operation can be triggered first through the virtual operation button, and then cancel the execution of the target operation in various ways; wherein, the various methods can include but are not limited to canceling the execution of the target operation by using the virtual cancel button, or canceling the execution of the target operation when the target selection operation performed on the virtual operation button is acquired.
  • the control method can be, but not limited to, aiming at the above method of using the virtual cancel button to cancel the execution of the target operation, or solve the technical problem of low accuracy of operation control existing in the above method of using the virtual cancel button to cancel the execution of the target operation.
  • the display area of the virtual cancel button in the method of using the virtual cancel button to cancel the execution of the target operation is often fixed, but this fixed method does not take into account that in actual scenarios, the user usually wants to cancel the execution of the target operation in a more efficient manner; furthermore, in order to meet the above-mentioned needs of the user, the user's intention to cancel the execution of the target operation is fed back through the distance between the operation position of the target selection operation and the virtual cancel button, and the distance between the operation position of the target selection operation and the virtual cancel button becomes smaller, or the above intention is obtained In this case, the display area of the control virtual cancel button becomes larger, so as to provide the user with a more efficient way to cancel the execution of the target operation, thereby achieving the technical effect of the accuracy of operation control.
  • the virtual operation button is used to trigger execution of the target operation.
  • the triggering manner of the target operation on the virtual operation button may include, but is not limited to: at least one of touch, long press, or slide. The user can trigger the virtual operation button by at least one trigger method of touch, long press, or slide to trigger the execution of the target operation, thereby supporting target operation triggering in various scenarios.
  • a virtual operation button to trigger the execution of a target operation can be understood as, but not limited to, setting the status of the target operation to be executed, and the target operation in the pending state will be allowed to be further controlled or canceled; or in other words, when the virtual operation button is used to trigger the execution of the target operation, the user's control intention for the target operation is not clear, so a buffered state is reserved for the user to perform the next control operation.
  • the virtual cancel button is used to cancel the execution of the target operation, wherein the virtual cancel button can be set to be displayed when the target selection operation performed on the virtual operation button is obtained, or can be but not limited to be hidden when the target selection operation performed on the virtual operation button is not obtained.
  • the display forms of the virtual operation button and the virtual cancel button are not limited.
  • the shape can be, but not limited to, rectangle, circle, polygon, or irregular shape, etc.
  • the adjustable state parameters can include, but not limited to, transparency, color, or contrast.
  • the user equipment may, but is not limited to, display the virtual operation button and hide the virtual cancel button; if the target selection operation performed on the virtual operation button is obtained, the user equipment displays the virtual cancel button again, thereby reducing the impact of the virtual cancel button on the user's line of sight when it is not required to be used.
  • the user equipment may also, but not limited to, display the virtual operation button and the virtual operation button logo when the target selection operation performed on the virtual operation button is not obtained, wherein the virtual operation button logo is used to indicate the hidden position of the virtual operation button, so that the user can still clearly determine the location of the virtual operation button when the virtual operation button is hidden, and then in the case of obtaining the target selection operation performed on the virtual operation button, the virtual cancel button can be efficiently used to cancel the execution of the target operation, wherein the display area of the virtual operation button logo can be set, but not limited to, with an upper limit value, In order to reduce the impact of the visual occlusion caused by the virtual operation button logo on the user.
  • the state of the target operation may include, but is not limited to, at least one of the following: to-be-triggered state, to-be-executed state, and executed state.
  • the user equipment may, but not limited to, adjust the state of the target operation from the to-be-triggered state to the to-be-executed state; Triggered state; in addition, when the operation position of the target selection operation is not within the range of the cancel area when the target selection operation ends, the user equipment adjusts the state of the target operation from the pending state to the execution state, wherein the range of the cancel area may include, but is not limited to, the range of buttons associated with the virtual cancel button.
  • adjusting the state of the target operation to the state to be executed includes: adjusting the state of the target operation from the state to be triggered to the state to be executed.
  • the triggered target operation in response to the target selection operation performed on the virtual operation button, is adjusted from the to-be-triggered state to the to-be-executed state, and the target operation in the to-be-executed state can be further controlled to be executed or canceled, thereby leaving a buffered state for the user to perform the next control operation.
  • canceling execution of the target operation in the state of being executed includes: adjusting the state of the target operation from the state of being executed to the state of being triggered.
  • the target selection operation ends, indicating that the user needs to cancel the execution of the target operation, then the user equipment adjusts the state of the target operation from the pending state to the pending state to cancel the execution of the target operation.
  • the user equipment controls the triggering and canceling of the target operation by switching the state of the target operation, which can reduce the occurrence of misoperations and is beneficial to improve the accuracy of the operation.
  • the operation control method further includes: when the target selection operation ends and the operation position of the target selection operation is not within the range of the cancel area associated with the virtual cancel button, adjusting the state of the target operation from the pending state to the execution state.
  • the range of the cancel area may include a range of buttons associated with the virtual cancel button.
  • the user equipment may, but not limited to, obtain movement information of the operation position of the target selection operation, such as movement direction information, movement distance information, movement speed information, etc.; the distance between the operation position of the target selection operation and the virtual cancel button may be obtained, but not limited to, according to the above-mentioned movement direction information and/or movement distance information; and the movement speed information may be related to the control of the display area of the virtual cancel button. The faster the display area becomes larger, and vice versa.
  • movement information of the operation position of the target selection operation such as movement direction information, movement distance information, movement speed information, etc.
  • the distance between the operation position of the target selection operation and the virtual cancel button may be obtained, but not limited to, according to the above-mentioned movement direction information and/or movement distance information
  • the movement speed information may be related to the control of the display area of the virtual cancel button. The faster the display area becomes larger, and vice versa.
  • the distance between the operation position of the target selection operation and the virtual cancel button may be, but 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 become larger may be but not limited to a correlation with the distance between the operation position of the target selection operation and the virtual cancel button.
  • the display area of the virtual cancel button can be, but not limited to, set an upper limit display area and a lower limit display area, wherein the lower limit display area can be understood as but not limited to the initial display area of the virtual cancel button, and the upper limit display area can be understood as but not limited to the maximum display area that the virtual cancel button can be controlled to become larger.
  • the shape of the virtual cancel button is a circle, and the radius of the virtual cancel button is negatively correlated with the distance between the operation position of the target selected operation and the virtual cancel button.
  • 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 in the user equipment.
  • the radius of the virtual cancel button is negatively correlated with the distance between the operation position of the target selected operation and the virtual cancel button, that is, the smaller the distance between the operation position of the target selected 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 beneficial for the user to trigger cancellation.
  • the radius of the virtual cancel button is negatively correlated with the distance between the operation position of the target selected operation and the virtual cancel button, so that the smaller the distance between the operation position of the target selected operation and the virtual cancel button, the larger the display area of the virtual cancel button, which is beneficial for the user to trigger cancellation and improve the efficiency of operation control.
  • the situation that the target selection operation ends may include, but is not limited to, the operation position of the target selection operation coincides with the area associated with the virtual cancel button. Further, based on the scene shown in FIG. 3, as shown in FIG.
  • the execution cancellation of the target operation is controlled by the virtual cancel button, and then the display area of the virtual cancel button is controlled to become larger when the operation position of the target selection operation triggering execution of the target operation is close to the virtual cancel button, and then the display area of the virtual cancel button is flexibly adjusted according to the distance between the operation position of the target selection operation triggering execution of the target operation and the virtual cancel button, thereby improving the efficiency of operation control.
  • FIG. 6 Further illustrate, optionally based on the scene shown in FIG. 3 , continue to display a virtual operation button 302 and a virtual cancel button 304 as shown in FIG. 6 , wherein 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; obtain the target selection operation performed on the virtual operation button 302, as shown in (a) in FIG. 6 ; further respond to the target selection operation, and adjust the state of the target operation to the state to be executed; When movement occurs and the distance between the operating position 602 of the target selection operation and the virtual cancel button 304 becomes smaller, the display area of the virtual cancel button 304 is controlled to become larger; further as shown in (c) in FIG.
  • the user equipment displays a virtual operation button, wherein the virtual operation button is used to trigger the execution of the target operation; in response to the 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 state to be executed, wherein 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 becomes smaller, the display area of the virtual cancel button is controlled to become larger; when the operation position of the target selection operation is located on the virtual cancel button, the target selection operation ends.
  • the execution cancellation of the target operation is controlled through the virtual cancel button, and then the method of controlling the display area of the virtual cancel button to become larger when the operation position of the target selected operation that triggers the execution of the target operation is close to the virtual cancel button is used, 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 selected operation that triggers the execution of the target operation and the virtual cancel button, thereby achieving the technical effect of improving the efficiency of operation control.
  • the display area of the control virtual cancel button becomes larger, including:
  • the process by which the user equipment controls the display area of the virtual cancel button to become larger may be, but not limited to, continuous, and may also be fixed; wherein, continuous may be, but not limited to, understood to mean 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 continues to decrease, the user equipment displays the virtual cancel button continuously becomes larger; by continuously increasing the display area of the virtual cancel button, the user equipment is more conducive to user operations and improves operational efficiency.
  • Fixed can be understood as, but not limited to, 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 continues to decrease, the virtual cancel button displayed on the user equipment increases from the preset display area to the fixed target display area.
  • the display area of the control virtual cancel button becomes larger, including:
  • the fact that the operation position of the target selection operation moves toward the virtual cancel button may be understood as, but not limited to, that the direction of the operation position of the target selection operation relative to the virtual cancel button satisfies the orientation condition in the user equipment.
  • the target direction 702 can be understood as, but not limited to, the standard reference direction of the operation position 306 relative to the virtual cancel button 304 , and then the user equipment can be, but not limited to, determining a direction whose angle difference from the target direction 702 is less than or equal to the target angle threshold as a direction satisfying the orientation condition, and determining an operation position corresponding to a direction satisfying the orientation condition as an operation position moving toward the virtual cancel button.
  • the user equipment can timely adjust the display area of the virtual cancel button based on the moving direction of the operation position, which is beneficial to improve the efficiency of operation control.
  • the display area of the control virtual cancel button becomes larger, including:
  • the distance between the operation position of the target selection operation and the virtual cancel button corresponds to whether the user intends to cancel the execution of the target operation, but in fact, when the user triggers the target selection operation and makes the operation position of the target selection operation, it is likely to be an operating habit, or wants to perform it at an appropriate time, but does not really want to cancel the execution of the target operation.
  • a pre-control function may be set, but not limited to, to determine whether the user really wants to cancel the execution of the target operation through the pre-control function.
  • the user equipment controls the display area of the virtual cancel button to increase; 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 equipment controls the display area of the virtual cancel button to remain unchanged.
  • the user equipment determines the change of the display area of the virtual cancel button through the target distance threshold, which can reduce misoperations.
  • the display area of the control virtual cancel button becomes larger, including:
  • the distance between the operation position of the target selection operation and the virtual cancel button may, but is not limited to, be in a corresponding relationship with the display area that controls the change of the virtual cancel button.
  • the user equipment 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 the first distance, the user equipment displays the virtual cancel button of the first 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 the second distance, the user equipment displays the virtual cancel button of the 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, thereby achieving efficient control of the virtual cancel button by comparing the distance values
  • the purpose of increasing the display area is to achieve the effect of improving the efficiency of operation control.
  • the display area of the control virtual cancel button becomes larger, including:
  • the distance threshold between the operation position of the target selection operation and the virtual cancel button may, but not limited to, have a corresponding relationship with the display area that controls the change of the virtual cancel button.
  • the user equipment 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 the first distance threshold range, the user equipment displays a virtual cancel button in the third display area, wherein 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 within the second distance threshold range, the user equipment displays a virtual cancel button in the fourth display area, wherein the second distance threshold range is within 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, so that the purpose of efficiently controlling the display area of the virtual cancel button is achieved through the determination of the distance threshold range, and the effect of improving operation control efficiency is achieved.
  • the execution of the target operation in the pending state is canceled, including:
  • the user equipment cancels the execution of the target operation in the pending state, 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 the operation location of the target selection operation.
  • the target selection operation usually has multiple target operating position points. Taking the touch screen operation as an example, when the touch screen area reaches a certain range, it is not limited to the trigger of the target selection operation.
  • the operation position point of the part is understood as the target operation position point.
  • the preset conditions can be, but not limited to the distance between the center point between the touch screen area less than or equal to the operation distance.
  • controlling the display area of the virtual cancel button to become larger includes: controlling the display area of the virtual cancel button to become larger from the preset display area; as an optional solution, the operation control method further includes: restoring the display area of the virtual cancel button to the preset display area when the execution of the target operation is cancelled.
  • the preset display area is the initial display area of the virtual cancel button.
  • the virtual cancel button is enlarged on the basis of the preset display area.
  • the user device restores the display area of the virtual cancel button to the preset display area, and restores the enlarged display area to the initial preset display area for display, thereby realizing the reset of the display area of the virtual cancel button.
  • the execution of the target operation can be represented, which is conducive to improving the efficiency of operation control.
  • controlling the display area of the virtual cancel button to become larger includes: controlling the display area of the virtual cancel button to become larger from a preset display area; the operation control method further includes: when the end position of the target selection operation is outside the area where the virtual cancel button is located, restoring the display area of the virtual cancel button to the preset display area.
  • the virtual cancel button is enlarged on the basis of the preset display area, and when the end position of the target selected operation is outside the area where the virtual cancel button is located, the user device restores the display area of the virtual cancel button to the preset display area, and restores the enlarged display area to the initial preset display area for display, thereby realizing the reset of the display area of the virtual cancel button.
  • the execution of the target operation can be characterized, which is conducive to improving the efficiency of operation control.
  • the user equipment displays a virtual operation button 302 and a virtual cancel button 304, wherein 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; the user equipment obtains the target selection operation performed on the virtual operation button 302, as shown in (a) in FIG. 8 ;
  • the user equipment controls the virtual cancel button 304 to start to increase from the preset display area; further as shown in (c) in FIG.
  • the display area of the virtual cancel button 304 returns to the preset display area.
  • the display area of the control virtual cancel button becomes larger, including:
  • 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 becomes smaller, the display area of the virtual cancel button is controlled to become larger; or,
  • the target selection operation is a continuous selection operation on a virtual operation button (such as a floating selection operation)
  • the continuous selection position of the continuous selection operation moves, and the distance between the continuous selection position and the virtual cancel button becomes smaller, the display area of the control virtual cancel button becomes larger.
  • the user device controls the display area of the virtual cancel button to become larger, and flexibly adjusts 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, thereby achieving the technical effect of improving the efficiency of operation control.
  • the operation control method also includes:
  • the virtual cancel button is displayed to move toward the virtual operation button.
  • the user equipment displays a virtual operation button 302 and a virtual cancel button 304, wherein 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; the user equipment acquires the target selection operation performed on the virtual operation button 302, as shown in (a) in FIG.
  • the user equipment adjusts the state of the target operation to the pending state;
  • the user equipment controls the virtual cancel button 304 to start to enlarge from the preset display area, and displays that the virtual cancel button 304 moves toward the virtual operation button 302.
  • the displayed virtual cancel button moves toward the virtual operation button, thereby achieving the purpose of flexibly adjusting the relative position between the virtual cancel button and the virtual operation button, thereby achieving the technical effect of improving the efficiency of operation control.
  • the above operation control method is applied to a game scene.
  • the virtual operation button (skill button) is used to trigger and control the target operation performed by the virtual character in the virtual scene.
  • the target operation can be but not limited to the role skill of the virtual character
  • the virtual cancel button (cancel button) is used to cancel the execution of the above-mentioned role skill.
  • the display area of the cancel button is set to be flexibly adjusted based on the distance between the player's finger and the cancel button. For example, the closer the distance, the larger the cancel button, so that the corresponding hot zone will be larger, making it easier for the player to select and complete the operation.
  • the user device controls the cancel button 1002 to zoom in at a constant speed during the process of moving closer, so that the player completes the cancel operation.
  • the hot spot will be larger and easier to operate.
  • Step S1102 acquiring the selection operation triggered on the skill button
  • Step S1104 displaying a cancel button for canceling skill release
  • Step S1108 dynamically adjust the display area of the cancel button
  • Step S1110 judging whether the selection operation is finished
  • Step S1112 canceling and releasing the skill.
  • the radius of the cancel button is r
  • r1 is the minimum radius of the cancel button
  • r2 is the maximum radius of the cancel button
  • the distance from the center of the cancel button to the finger is set to a
  • r x/a
  • the requirements for the accuracy of the player's operation are reduced, and the corresponding hot spot changes dynamically with the distance of the finger. The closer the finger is, the larger the button is, and the player is easier to select, making the entire operation experience smoother and more friendly.
  • an operation control device for implementing the above operation control method is also provided. As shown in Figure 12, the device includes:
  • a display unit 1202 configured to display a virtual operation button, wherein the virtual operation button is used to trigger execution of a target operation;
  • the adjustment unit 1204 is configured to display a virtual cancel button and adjust the state of the target operation to be executed in response to the target selection operation performed on the virtual operation button, wherein the virtual cancel button is used to cancel execution of the target operation;
  • the control unit 1206 is configured to control the display area of the virtual cancel button to become 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 becomes smaller;
  • the canceling unit 1208 is configured to cancel execution of the target operation in the pending state when the target selection operation ends when the operation position of the target selection operation is located on the virtual cancel button.
  • a virtual operation button is displayed, wherein the virtual operation button is used to trigger the execution of the target operation; in response to the 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 the state to be executed, wherein 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 becomes smaller, the display area of the virtual cancel button is controlled to become larger; when the operation position of the target selection operation is located on the virtual cancel button, the target selection operation ends.
  • control unit 1206 includes:
  • the first display module is configured to display that the virtual cancel button increases from the preset display area to the 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;
  • the second display module is configured to display that the virtual cancel button continues to grow 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 continues to decrease.
  • control unit 1206 includes:
  • the first control module is configured to control the display area of the virtual cancel button to become larger when the operation position of the target selection operation moves toward the virtual cancel button.
  • control unit 1206 includes:
  • the second control module is used to control the display area of the virtual cancel button to remain unchanged 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 less than the target distance threshold;
  • the third control module is configured to control the display area of the virtual cancel button to become 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 greater than or equal to the target distance threshold.
  • control unit 1206 includes:
  • the third display module is used to display the virtual cancel button in the first 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 the first distance;
  • the fourth display module is configured to display a virtual cancel button in the 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, wherein the second distance is smaller than the first distance, and the second display area is larger than the first display area.
  • control unit 1206 includes:
  • the fifth display module is configured to display the virtual cancel button in 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 within the first distance threshold range, wherein the first distance threshold range corresponds to the third display area;
  • the sixth display module is configured to display the virtual cancel button in the fourth 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 within the second distance threshold range, 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.
  • canceling unit 1208 includes:
  • the first canceling module is configured to cancel execution of the target operation in the state to be executed when the target operation position point associated with the target selection operation is located on the virtual cancel button and the number of target operation position points located on the virtual cancel button reaches the trigger threshold, and the target operation in the pending state is terminated, wherein the target selection operation is associated with at least one target operation position point, and the target operation position point is used to determine the operation position of the target selection operation.
  • control unit 1206 includes: a fourth control module, configured to control the display area of the virtual cancel button to become larger from the preset display area;
  • the device also includes: a second cancel module, used to restore the display area of the virtual cancel button to the preset display area when the execution of the target operation is cancelled; or, a third cancel module, used to restore the display area of the virtual cancel button to the preset display area when the end position of the target selected operation is outside the area where the virtual cancel button is located.
  • a second cancel module used to restore the display area of the virtual cancel button to the preset display area when the execution of the target operation is cancelled
  • a third cancel module used to restore the display area of the virtual cancel button to the preset display area when the end position of the target selected operation is outside the area where the virtual cancel button is located.
  • control unit 1206 includes:
  • the fifth control module is used to control the display area of the virtual cancel button to become larger 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 becomes smaller.
  • the device also includes:
  • the seventh display module is configured to display that the virtual cancel button moves 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 becomes smaller.
  • the electronic device for implementing the above-mentioned operation control method.
  • the electronic device includes a memory 1302 and a processor 1304, the memory 1302 stores computer-readable instructions, and the processor 1304 is configured to execute the steps in any one of the above-mentioned method embodiments through the computer-readable instructions.
  • the foregoing electronic device may be located in at least one network device among multiple network devices in the computer network.
  • the above-mentioned processor may be configured to execute the following steps through computer-readable instructions:
  • the structure shown in Figure 13 is only for illustration, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal devices.
  • FIG. 13 does not limit the structure of the above-mentioned electronic equipment.
  • the electronic device may also include more or less components than those shown in FIG. 13 (such as a network interface, etc.), or have a different configuration from that shown in FIG. 13 .
  • the memory 1302 can be used to store software-readable instructions and modules, such as the computer-readable instructions/modules corresponding to the operation control method and device in the embodiment of the present application, and the processor 1304 executes various functional applications and data processing by running the computer-readable instructions and modules stored in the memory 1302, that is, implements the above-mentioned operation control method.
  • the memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 1302 may further include a memory that is remotely located relative to the processor 1304, and these remote memories may be connected to the terminal through a network.
  • the memory 1302 may be specifically, but not limited to, used for storing information such as target operation, target selection operation, operation position, and display area.
  • 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.
  • it may also include but not limited to other module units in the above-mentioned operation control device, which will not be repeated in this example.
  • the above-mentioned transmission device 1306 is configured to receive or send data via a network.
  • Specific examples of the above-mentioned network may include a wired network and a wireless network.
  • the transmission device 1306 includes a network adapter (Network Interface Controller, NIC), which can be connected with other network devices and a router through a network cable so as to communicate with the Internet or a local area network.
  • the transmission device 1306 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • the above-mentioned electronic device further includes: a display 1308 for displaying information such as the above-mentioned target operation, target selection operation, operation position and display area; and a connection bus 1310 for connecting various module components in the above-mentioned electronic device.
  • the above-mentioned terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication.
  • nodes can form a peer-to-peer (Peer To Peer, referred to as P2P) network, and any form of computing equipment, such as servers, terminals and other electronic devices, can become a node in the blockchain system by joining the peer-to-peer network.
  • P2P peer To Peer
  • a computer program product includes computer readable instructions, and the computer readable instructions include program code for executing the method shown in the flowchart.
  • the computer readable instructions may be downloaded and installed from a network via the communications portion, and/or from removable media.
  • the central processing unit When the computer-readable instructions are executed by the central processing unit, various functions provided by the embodiments of the present application are performed.
  • the computer system includes a central processing unit (Central Processing Unit, CPU), which can perform various appropriate actions and processes according to computer-readable instructions stored in a read-only memory (Read-Only Memory, ROM) or loaded from a storage part into a random-access memory (Random Access Memory, RAM). Also stored in random access memory are various computer readable instructions and data required for system operation.
  • the central processing unit, the read-only memory and the random-access memory are connected to each other through a bus.
  • An input/output interface Input/Output interface, ie, an I/O interface
  • I/O interface input/output interface
  • the following components are connected to the input/output interface: an input section including a keyboard, a mouse, etc.; an output section including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker; a storage section including a hard disk, etc.; and a communication section including a network interface card such as a LAN card, a modem, etc.
  • the communication section performs communication processing via a network such as the Internet.
  • Drivers are also connected to the input/output interface as required.
  • Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are mounted on the drive as needed, so that computer-readable instructions read therefrom are loaded into the storage portion as needed.
  • the processes described in the various method flow charts may be implemented as computer-readable instructions.
  • the embodiments of the present application include a computer program product, which includes computer-readable instructions carried on a computer-readable medium, where the computer-readable instructions include program codes for executing the methods shown in the flowcharts.
  • the computer readable instructions may be downloaded and installed from a network via the communications portion, and/or from removable media.
  • the various functions defined in the system of the present application are performed when the computer readable instructions are executed by the central processing unit.
  • a computer-readable storage medium is provided.
  • a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementation manners above.
  • the above-mentioned computer-readable storage medium may be configured to store computer-readable instructions for performing the following steps:
  • a computer-readable storage medium can include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk, or an optical disk.
  • the integrated units in the above embodiments are realized in the form of software function units and sold or used as independent products, they can be stored in the above computer-readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions to make one or more computer devices (which can be personal computers, servers or network devices, etc.) execute all or part of the steps of the methods described in the various embodiments of the application.
  • the disclosed client can be implemented in other ways.
  • the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种操作控制方法,由计算机设备执行,包括:显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作(S202);响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作(S204);在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大(S206);及在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作(S208)。

Description

操作控制方法、装置和存储介质及电子设备
本申请要求于2022年01月21日提交中国专利局、申请号为2022100748892、发明名称为“操作控制方法、装置和存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,具体而言,涉及一种操作控制方法、装置、存储介质、计算机程序产品及电子设备。
背景技术
在目标操作被触发后,往往会再判断触发的目标操作是执行还是取消执行,并根据判断结果对该目标操作执行进一步的控制。但相关技术对于上述目标操作是执行还是取消执行的判断方式不够准确,容易出现误判等问题,因此,存在操作控制的准确性较低的问题。
发明内容
根据本申请的各种实施例,提供了一种操作控制方法、装置、存储介质、计算机程序产品及电子设备。
根据本申请实施例的一个方面,提供了一种操作控制方法,由计算机设备执行,包括:显示虚拟操作按钮,其中,上述虚拟操作按钮用于触发执行目标操作;响应于对上述虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将上述目标操作的状态调整为待执行状态,其中,上述虚拟取消按钮用于取消执行上述目标操作;在上述目标选中操作的操作位置发生移动、且上述目标选中操作的操作位置与上述虚拟取消按钮之间的距离变小的情况下,控制上述虚拟取消按钮的显示面积变大;及在上述目标选中操作的操作位置位于上述虚拟取消按钮上时上述目标选中操作结束的情况下,取消执行处于上述待执行状态的上述目标操作。
根据本申请实施例的另一方面,还提供了一种操作控制装置,包括:显示单元,用于显示虚拟操作按钮,其中,上述虚拟操作按钮用于触发执行目标操作;调整单元,用于响应于对上述虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将上述目标操作的状态调整为待执行状态,其中,上述虚拟取消按钮用于取消执行上述目标操作;控制单元,用于在上述目标选中操作的操作位置发生移动、且上述目标选中操作的操作位置与上述虚拟取消按钮之间的距离变小的情况下,控制上述虚拟取消按钮的显示面积变大;及取消单元,用于在上述目标选中操作的操作位置位于上述虚拟取消按钮上时上述目标选中操作结束的情况下,取消执行处于上述待执行状态的上述目标操作。
根据本申请实施例的一个方面,提供一种存储有计算机可读指令的非易失性计算机可读存储介质,该计算机可读指令被处理执行时,实现以上操作控制方法。
根据本申请实施例的又一个方面,提供一种计算机程序产品,该计算机程序产品包括计算机可读指令,该计算机可读指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机可读指令,处理器执行该计算机可读指令,使得该计算机设备执行如以上操作控制方法。
根据本申请实施例的又一方面,还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可读指令,其中,上述处理器通过计算机可读指令执行上述的操作控制方法。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特 征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1是根据本申请实施例的一种可选的操作控制方法的应用环境的示意图;
图2是根据本申请实施例的一种可选的操作控制方法的流程的示意图;
图3是根据本申请实施例的一种可选的操作控制方法的示意图;
图4是根据本申请实施例的另一种可选的操作控制方法的示意图;
图5是根据本申请实施例的另一种可选的操作控制方法的示意图;
图6是根据本申请实施例的另一种可选的操作控制方法的示意图;
图7是根据本申请实施例的另一种可选的操作控制方法的示意图;
图8是根据本申请实施例的另一种可选的操作控制方法的示意图;
图9是根据本申请实施例的另一种可选的操作控制方法的示意图;
图10是根据本申请实施例的另一种可选的操作控制方法的示意图;
图11是根据本申请实施例的另一种可选的操作控制方法的示意图;
图12是根据本申请实施例的一种可选的操作控制装置的示意图;
图13是根据本申请实施例的一种可选的电子设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本申请实施例的一个方面,提供了一种操作控制方法,可选地,作为一种可选的实施方式,上述操作控制方法可以但不限于应用于如图1所示的环境中。其中,可以但不限于包括用户设备102、网络110及服务器112,其中,该用户设备102上可以但不限于包括显示器108、处理器106及存储器104。
具体过程可如下步骤:
步骤S102,用户设备102获取对虚拟操作按钮执行的目标选中操作;
步骤S104-S106,用户设备102通过网络110将目标选中操作发送给服务器112;
步骤S108,服务器112通过数据库114查找虚拟取消按钮的相关位置数据,并通过处理引擎116将该相关位置数据与目标选中操作的操作位置进行处理,从而获取虚拟取消按钮的显示面积;及
步骤S110-S112,服务器112通过网络110将虚拟取消按钮的显示面积发送给用户设备102,用户设备102中的处理器106将按照得到的显示面积调整虚拟取消按钮,并将调整好的虚拟取消按钮显示在显示器108中,并将调整好的虚拟取消按钮存储在存储器104中。
除图1示出的示例之外,上述步骤可以由用户设备102独立完成,即由用户设备102执行虚拟取消按钮的显示面积的获取等步骤,从而减轻服务器的处理压力。该用户设备102包括但不限于手持设备(如手机)、笔记本电脑、台式电脑、车载设备等,本申请并不限制用户设备102的具体实现方式。
可选地,作为一种可选的实施方式,如图2所示,操作控制方法由计算机设备执行,具体可由如图1中的用户设备执行,该方法包括:
S202,显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作;
S204,响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作;
S206,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;及
S208,在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作。
可选地,在本实施例中,上述操作控制方法可以但不限于应用在目标操作的取消执行场景下,在该取消执行场景下,可以但不限于先通过虚拟操作按钮触发目标操作的执行,再利用多种方式以取消目标操作的执行;其中,多种方式可以但不限于包括利用虚拟取消按钮取消目标操作的执行、或在获取到对虚拟操作按钮执行的目标选中操作时目标选中操作的操作位置与虚拟操作按钮之间的距离达到目标取消阈值以取消目标操作的执行;而上述操作控制方法可以但不限于针对上述利用虚拟取消按钮取消目标操作的执行的方式,或者说解决上述利用虚拟取消按钮取消目标操作的执行的方式中所存在的操作控制的准确性较低的技术问题。
可选地,在本实施例中,上述利用虚拟取消按钮取消目标操作的执行的方式中虚拟取消按钮的显示面积往往是固定不变的,但这种固定不变的方式并未考虑实际的场景中,用户通常希望以一种更为高效的方式以取消目标操作的执行;进而为满足用户的上述需求,通过目标选中操作的操作位置与虚拟取消按钮之间的距离反馈用户想取消目标操作的执行的意图,并在目标选中操作的操作位置与虚拟取消按钮之间的距离变小,或者说获取到上述意图的情况下,控制虚拟取消按钮的显示面积变大,以为用户提供一种更为高效取消目标操作的执行的方式,进而实现操作控制的准确性的技术效果。
可选地,在本实施例中,虚拟操作按钮用于触发执行目标操作。在一个实施例中,目标操作在虚拟操作按钮上的触发方式可以但不限于包括:点触、长按或滑动中的至少一种。用户可以通过点触、长按或滑动中的至少一种触发方式,针对虚拟操作按钮进行触发,以触发执行目标操作,从而支持各种场景的目标操作触发。通常情况下,利用虚拟操作按钮触发执行目标操作,可以但不限于理解为将目标操作的状态设置为待执行状态,而处于待执行状态的目标操作将被允许进一步被控制执行或取消执行;或者说,利用虚拟操作按钮触发执行目标操作时并不明确用户对目标操作的控制意图,因此留出一个缓冲的状态以供用户执行下一步的控制操作。
可选地,在本实施例中,虚拟取消按钮用于取消执行目标操作,其中,虚拟取消按钮可以但不限于被设置为在获取到对虚拟操作按钮执行的目标选中操作的情况下显 示,或者说在未获取到对虚拟操作按钮执行的目标选中操作的情况下可以但不限于隐藏虚拟取消按钮,通过这种方式,可以但不限于减少虚拟取消按钮对用户操作的影响程度,进而实现虚拟取消按钮的显示有效性。
可选地,在本实施例中,虚拟操作按钮与虚拟取消按钮的显示形态不做限定,如形状可以但不限于为矩形、圆形、多边形或不规则形状等;如可调整的状态参数可以但不限于包括透明度、色彩度或对比度等。
可选地,在本实施例中,在未获取到对所述虚拟操作按钮执行的目标选中操作的情况下,用户设备可以但不限于显示虚拟操作按钮,而隐藏虚拟取消按钮;在获取到对所述虚拟操作按钮执行的目标选中操作的情况下,用户设备再显示虚拟取消按钮,进而降低虚拟取消按钮在不被需要使用时对用户所造成的视线遮挡的影响。此外,用户设备也可以但不限于在未获取到对所述虚拟操作按钮执行的目标选中操作的情况下显示虚拟操作按钮以及虚拟操作按钮标识,其中,该虚拟操作按钮标识用于表示虚拟操作按钮的隐藏位置,如此用户可在虚拟操作按钮被隐藏时仍能清晰确定虚拟操作按钮所在位置,进而在获取到对所述虚拟操作按钮执行的目标选中操作的情况下,可高效地利用虚拟取消按钮以取消执行目标操作,其中,虚拟操作按钮标识的显示面积可以但不限于设置有面积上限值,以降低虚拟操作按钮标识对用户所造成的视线遮挡的影响。
可选地,在本实施例中,目标操作的状态可以但不限于包括以下至少之一:待触发状态、待执行状态、执行状态,其中,用户设备响应于对虚拟操作按钮执行的目标选中操作,用户设备可以但不限于将目标操作的状态由待触发状态调整为待执行状态;进一步,在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,用户设备取消执行处于待执行状态的目标操作,或者说用户设备将目标操作的状态由待执行状态调整为待触发状态;此外,在目标选中操作结束时目标选中操作的操作位置未位于取消区域范围内的情况下,用户设备将目标操作的状态由待执行状态调整为执行状态,其中,取消区域范围可以但不限于包括虚拟取消按钮所关联的按钮范围。
在一个实施例中,将目标操作的状态调整为待执行状态,包括:将目标操作的状态由待触发状态调整为待执行状态。
其中,响应于对虚拟操作按钮执行的目标选中操作,则触发的目标操作由待触发状态调整为待执行状态,处于待执行状态的目标操作可以进一步被控制执行或取消执行,从而能够留出一个缓冲的状态以供用户执行下一步的控制操作。
进一步地,取消执行处于待执行状态的目标操作,包括:将目标操作的状态由待执行状态调整为待触发状态。
在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束,表明用户需要取消目标操作的执行,则用户设备将目标操作的状态由待执行状态调整为待触发状态,以取消目标操作的执行。
本实施例中,用户设备通过对目标操作的状态进行切换,以控制目标操作的触发和取消,能够减少误操作的产生,有利于提高操作的准确性。
在一个实施例中,操作控制方法还包括:在目标选中操作结束时,目标选中操作的操作位置不处于虚拟取消按钮关联的取消区域范围内的情况下,将目标操作的状态由待执行状态调整为执行状态。其中,取消区域范围可以包括虚拟取消按钮所关联的按钮范围。在目标选中操作结束,目标选中操作的操作位置不处于虚拟取消按钮关联的取消区域范围内,表明用户不需要对目标操作取消执行,则用户设备将目标操作的 状态由待执行状态调整为执行状态,从而对目标操作进行执行。通过对目标操作设置待执行状态进行执行和取消的缓冲,能够减少误操作的产生,有利于提高操作的准确性。
可选地,在本实施例中,在目标选中操作的操作位置发生移动的过程中,用户设备可以但不限于获取目标选中操作的操作位置的移动信息,如移动方向信息、移动距离信息、移动速度信息等;目标选中操作的操作位置与虚拟取消按钮之间的距离可以但不限于根据上述移动方向信息合/或移动距离信息获取;而移动速度信息可以但不限于与虚拟取消按钮的显示面积的被控制相关,如目标选中操作的操作位置的移动速度越快,控制虚拟取消按钮的显示面积变大的速度越快,反之同理。
可选地,在本实施例中,目标选中操作的操作位置与虚拟取消按钮之间的距离可以但不限为目标选中操作的操作位置与虚拟取消按钮的按钮中心之间的距离;可选地,在本实施例中,被控制变大的虚拟取消按钮的显示面积可以但不限于与变小的目标选中操作的操作位置与虚拟取消按钮之间的距离呈相关关系,例如目标选中操作的操作位置与虚拟取消按钮之间的距离越小,所控制的虚拟取消按钮的显示面积越大。
可选地,在本实施例中,虚拟取消按钮的显示面积可以但不限于被设置上限显示面积和下限显示面积,其中,下限显示面积可以但不限于理解为虚拟取消按钮的初始显示面积,上限显示面积可以但不限于理解为虚拟取消按钮所能被控制变大的最大显示面积。
在一个实施例中,虚拟取消按钮的形状为圆形,虚拟取消按钮的半径同目标选中操作的操作位置与虚拟取消按钮之间的距离成负相关关系。
具体地,虚拟取消按钮的形状为圆形,则虚拟取消按钮的显示面积与虚拟取消按钮的半径正相关,虚拟取消按钮的半径越大,则在用户设备中虚拟取消按钮的显示面积也越大。虚拟取消按钮的半径同目标选中操作的操作位置与虚拟取消按钮之间的距离成负相关关系,即目标选中操作的操作位置与虚拟取消按钮之间的距离越小,则虚拟取消按钮的半径越大,虚拟取消按钮的显示面积也越大,有利于用户进行触发取消。
本实施例中,对于圆形形状的虚拟取消按钮,虚拟取消按钮的半径,同目标选中操作的操作位置与虚拟取消按钮之间的距离成负相关关系,使得目标选中操作的操作位置与虚拟取消按钮之间的距离越小,虚拟取消按钮的显示面积也越大,有利于用户进行触发取消,有利于提高操作控制的效率。
进一步举例说明,可选的例如图3所示,假设虚拟取消按钮304的可调整半径为r(下限显示面积对应的最小半径为r1、上限显示面积对应的最大半径为r2);再者获取到虚拟取消按钮304到虚拟操作按钮302的操作位置306之间的距离a,再利用公式r=x/a以得到可调整半径为r,其中,x为一个常数,可以根据虚拟操作按钮302与虚拟取消按钮304之间的距离灵活设置;具体的,例如将虚拟取消按钮304的圆心到虚拟操作按钮302的操作位置306之间的距离设为a1,则得到r1=x/a1,从而得出x的数值。
再者根据设定好的r2的数值,以及确定的x的数值,推导出虚拟取消按钮304的圆心到虚拟操作按钮302的操作位置306之间的最近距离a2,再得到r2=x/a2,即当虚拟取消按钮304的圆心到虚拟操作按钮302的操作位置306之间的距离小于或等于a2时,虚拟取消按钮304可以但不限于不再允许继续被控制放大。
可选地,在本实施例中,目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况可以但不限于包括目标选中操作的操作位置与虚拟取消按钮所关联的区域重合,进一步基于图3所示场景如图4所示,目标选中操作的操作位置402与 虚拟取消按钮304所关联的区域重合;或基于图3所示场景继续如图5所示,目标选中操作的操作位置502位于虚拟取消按钮304所关联的区域内。
需要说明的是,通过虚拟取消按钮控制目标操作的执行取消,再利用触发执行目标操作的目标选中操作的操作位置接近虚拟取消按钮时控制虚拟取消按钮的显示面积变大的方式,进而根据触发执行目标操作的目标选中操作的操作位置与虚拟取消按钮之间距离灵活调整述虚拟取消按钮的显示面积,并以此提高操作控制的效率。
进一步举例说明,可选的基于图3所示场景,继续如图6所示,显示虚拟操作按钮302以及虚拟取消按钮304,其中,虚拟操作按钮302用于触发执行目标操作,虚拟取消按钮304用于取消执行目标操作;获取对虚拟操作按钮302执行的目标选中操作,如图6中的(a)所示;进一步响应于目标选中操作,将目标操作的状态调整为待执行状态;再者,如图6中的(b)所示,在目标选中操作的操作位置602发生移动、且目标选中操作的操作位置602与虚拟取消按钮304之间的距离变小的情况下,控制虚拟取消按钮304的显示面积变大;进一步如图6中的(c)所示,在目标选中操作的操作位置602位于虚拟取消按钮304上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作。
通过本申请提供的实施例,用户设备显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作;响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作;在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作,通过虚拟取消按钮控制目标操作的执行取消,再利用触发执行目标操作的目标选中操作的操作位置接近虚拟取消按钮时控制虚拟取消按钮的显示面积变大的方式,进而达到了根据触发执行目标操作的目标选中操作的操作位置与虚拟取消按钮之间距离灵活调整虚拟取消按钮的显示面积的目的,从而实现了提高操作控制的效率的技术效果。
作为一种可选的方案,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大,包括:
S1,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离持续变小的情况下,显示虚拟取消按钮从预设显示面积变大到目标显示面积;或者
S2,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离持续变小的情况下,显示虚拟取消按钮持续变大。
可选地,在本实施例中,用户设备控制虚拟取消按钮的显示面积变大的过程可以但不限于为持续的,也可以但不限于为固定的;其中,持续的可以但不限于理解为在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离持续变小的情况下,用户设备显示虚拟取消按钮持续变大;用户设备通过持续增加虚拟取消按钮的显示面积,更有利于用户进行操作,提高操作效率。固定的可以但不限于理解为在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离持续变小的情况下,用户设备显示虚拟取消按钮从预设显示面积变大到固定的目标显示面积。用户设备通过将虚拟取消按钮变大到固定的目标显示面积进行显示,可以实现虚拟取消按钮的显示面积与屏幕显示内容的平衡,避免虚 拟取消按钮对屏幕显示内容的过多遮挡,有利用用户进行操作。
作为一种可选的方案,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大,包括:
在目标选中操作的操作位置朝着虚拟取消按钮移动的情况下,控制虚拟取消按钮的显示面积变大。
可选地,在本实施例中,目标选中操作的操作位置朝着虚拟取消按钮移动的情况可以但不限于理解为,在用户设备中目标选中操作的操作位置相对于虚拟取消按钮的方向满足朝向条件。
进一步举例说明,可选的基于图3所示场景,继续例如图7所示,目标方向702可以但不限于理解为操作位置306相对于虚拟取消按钮304标准的参考方向,进而用户设备可以但不限于将与该目标方向702相差角度小于或等于目标角度阈值的方向确定为满足朝向条件的方向,并将满足朝向条件的方向对应的操作位置确定为朝着虚拟取消按钮移动的操作位置。在目标选中操作的操作位置朝着虚拟取消按钮移动的情况下,用户设备可以基于操作位置的移动朝向,及时调整虚拟取消按钮的显示面积,有利于提高操作控制的效率。
作为一种可选的方案,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大,包括:
S1,在目标选中操作的操作位置发生移动、但目标选中操作的操作位置与虚拟取消按钮之间的距离小于目标距离阈值的情况下,控制虚拟取消按钮的显示面积不变;及
S2,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离大于或等于目标距离阈值的情况下,控制虚拟取消按钮的显示面积变大。
可选地,在本实施例中,目标选中操作的操作位置与虚拟取消按钮之间的距离对应用户是否想取消执行目标操作的意图,但实际上,用户在触发目标选中操作并使目标选中操作的操作位置时,很有可能是操作习惯,或者想在合适的时间执行,并非真的想取消执行目标操作,如此在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,就直接控制虚拟取消按钮的显示面积变大,有可能会出现误操作等问题。为克服该问题,可以但不限于设置了一个控制前置功能,通过该控制前置功能二次判断用户是否真的想取消执行目标操作。
需要说明的是,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离大于或等于目标距离阈值的情况下,用户设备才控制虚拟取消按钮的显示面积变大;反之,在目标选中操作的操作位置发生移动、但目标选中操作的操作位置与虚拟取消按钮之间的距离小于目标距离阈值的情况下,用户设备控制虚拟取消按钮的显示面积不变。用户设备通过目标距离阈值对虚拟取消按钮的显示面积的变化进行判定,可以减少产生的误操作。
作为一种可选的方案,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大,包括:
S1,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离为第一距离的情况下,显示第一显示面积的虚拟取消按钮;及
S2,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离为第二距离的情况下,显示第二显示面积的虚拟取消按钮,其中,第二距离小于第一距离,第二显示面积大于第一显示面积。
可选地,在本实施例中,目标选中操作的操作位置与虚拟取消按钮之间的距离,可以但不限于与控制虚拟取消按钮发生变化的显示面积之间呈对应关系。
通过本申请提供的实施例,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离为第一距离的情况下,用户设备显示第一显示面积的虚拟取消按钮;在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离为第二距离的情况下,用户设备显示第二显示面积的虚拟取消按钮,其中,第二距离小于第一距离,第二显示面积大于第一显示面积,从而通过距离数值比较,达到了高效地控制虚拟取消按钮的显示面积的目的,实现了提高操作控制效率的效果。
作为一种可选的方案,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大,包括:
S1,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离位于第一距离阈值范围的情况下,显示第三显示面积的虚拟取消按钮,其中,第一距离阈值范围与第三显示面积对应;及
S2,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离位于第二距离阈值范围的情况下,显示第四显示面积的虚拟取消按钮,其中,第二距离阈值范围与第四显示面积对应,第二距离阈值范围中的距离阈值小于第一距离阈值范围中的距离阈值,第四显示面积大于第三显示面积。
可选地,在本实施例中,目标选中操作的操作位置与虚拟取消按钮之间的距离所在的距离阈值,可以但不限于与控制虚拟取消按钮发生变化的显示面积之间呈对应关系。
通过本申请提供的实施例,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离位于第一距离阈值范围的情况下,用户设备显示第三显示面积的虚拟取消按钮,其中,第一距离阈值范围与第三显示面积对应;在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离位于第二距离阈值范围的情况下,用户设备显示第四显示面积的虚拟取消按钮,其中,第二距离阈值范围与第四显示面积对应,第二距离阈值范围中的距离阈值小于第一距离阈值范围中的距离阈值,第四显示面积大于第三显示面积,从而通过距离阈值范围判定,达到了高效地控制虚拟取消按钮的显示面积的目的,实现了提高操作控制效率的效果。
作为一种可选的方案,在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作,包括:
在目标选中操作所关联的目标操作位置点位于虚拟取消按钮上、且位于虚拟取消按钮上的目标操作位置点的数量达到触发阈值时目标选中操作结束的情况下,用户设备取消执行处于待执行状态的目标操作,其中,目标选中操作关联有至少一个目标操作位置点,目标操作位置点用于确定目标选中操作的操作位置。
可选地,在本实施例中,目标选中操作通常关联有多个目标操作位置点,以触屏操作为例,触屏区域达到一定范围时可以但不限于表示目标选中操作的触发,而触屏区域内所包含的操作位置点可以但不限于理解为目标操作位置点,或将触屏区域内所 包含的所有操作位置点中满足预设条件的操作位置点理解为目标操作位置点,其中,预设条件可以但不限于为与触屏区域中心点之间的距离小于或等于操作距离等。在位于虚拟取消按钮上的目标操作位置点的数量达到触发阈值时,用户设备取消执行处于待执行状态的目标操作,可以确保针对目标操作进行取消的准确性。
作为一种可选的方案,控制虚拟取消按钮的显示面积变大,包括:控制虚拟取消按钮的显示面积从预设显示面积开始变大;作为一种可选的方案,操作控制方法还包括:在取消执行目标操作的情况下,将虚拟取消按钮的显示面积恢复为预设显示面积。
预设显示面积为虚拟取消按钮初始的显示面积,虚拟取消按钮在预设显示面积的基础上进行变大,而在取消执行目标操作的情况下,用户设备将虚拟取消按钮的显示面积恢复为预设显示面积,即将变大的显示面积恢复到初始的预设显示面积进行显示,从而实现虚拟取消按钮显示面积的复位,通过虚拟取消按钮显示面积的变化,可以对目标操作的执行情况进行表征,有利于提高操作控制的效率。
在一个实施中,所述控制所述虚拟取消按钮的显示面积变大,包括:控制所述虚拟取消按钮的显示面积从预设显示面积开始变大;操作控制方法还包括:在目标选中操作的结束位置位于虚拟取消按钮所在的区域外的情况下,将虚拟取消按钮的显示面积恢复为预设显示面积。
虚拟取消按钮在预设显示面积的基础上进行变大,而在目标选中操作的结束位置位于虚拟取消按钮所在的区域外的情况下,用户设备将虚拟取消按钮的显示面积恢复为预设显示面积,即将变大的显示面积恢复到初始的预设显示面积进行显示,从而实现虚拟取消按钮显示面积的复位,通过虚拟取消按钮显示面积的变化,可以对目标操作的执行情况进行表征,有利于提高操作控制的效率。
进一步举例说明,可选的基于图3所示场景,继续如图8所示,用户设备显示虚拟操作按钮302以及虚拟取消按钮304,其中,虚拟操作按钮302用于触发执行目标操作,虚拟取消按钮304用于取消执行目标操作;用户设备获取对虚拟操作按钮302执行的目标选中操作,如图8中的(a)所示;进一步响应于目标选中操作,用户设备将目标操作的状态调整为待执行状态;再者,如图8中的(b)所示,在目标选中操作的操作位置802发生移动、且目标选中操作的操作位置802与虚拟取消按钮304之间的距离变小的情况下,用户设备控制虚拟取消按钮304从预设显示面积开始变大;进一步如图8中的(c)所示,在目标选中操作的操作位置802位于虚拟取消按钮304上时目标选中操作结束的情况下,用户设备取消执行处于待执行状态的目标操作;以及如图8中的(d)所示,在取消执行目标操作的情况下,用户设备将虚拟取消按钮304的显示面积恢复为预设显示面积。
作为一种可选的方案,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变变大,包括:
在目标选中操作为对虚拟操作按钮的长按操作、长按操作的触控位置发生移动、且长按操作的触控位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;或,
在目标选中操作为对虚拟操作按钮的持续选中操作(如悬浮选中操作)、持续选中操作的持续选中位置发生移动、且持续选中位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大。
本实施例中,在针对虚拟操作按钮的长按操作的触控位置发生移动,且触控位置与虚拟取消按钮之间的距离变小时,用户设备控制虚拟取消按钮的显示面积变大,根 据触发执行目标操作的目标选中操作的操作位置与虚拟取消按钮之间距离灵活调整虚拟取消按钮的显示面积的目的,从而实现了提高操作控制的效率的技术效果。
作为一种可选的方案,操作控制方法还包括:
在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,显示虚拟取消按钮朝着虚拟操作按钮移动。
需要说明的是,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,用户设备显示虚拟取消按钮朝着虚拟操作按钮移动。
进一步举例说明,可选的基于图3所示场景,继续例如图9所示,用户设备显示虚拟操作按钮302以及虚拟取消按钮304,其中,虚拟操作按钮302用于触发执行目标操作,虚拟取消按钮304用于取消执行目标操作;用户设备获取对虚拟操作按钮302执行的目标选中操作,如图9中的(a)所示;进一步响应于目标选中操作,用户设备将目标操作的状态调整为待执行状态;再者,如图9中的(b)所示,在目标选中操作的操作位置602发生移动、且目标选中操作的操作位置602与虚拟取消按钮304之间的距离变小的情况下,用户设备控制虚拟取消按钮304从预设显示面积开始变大,以及显示虚拟取消按钮304朝着虚拟操作按钮302移动。
通过本申请提供的实施例,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,显示虚拟取消按钮朝着虚拟操作按钮移动,进而达到了灵活调整述虚拟取消按钮与虚拟操作按钮之间的相对位置的目的,从而实现了提高操作控制的效率的技术效果。
作为一种可选的方案,为方便理解,将上述操作控制方法应用在游戏场景中。可选的,在本实施例中,虚拟操作按钮(技能按钮)用于触发控制虚拟场景中的虚拟角色执行的目标操作,目标操作可以但不限于为虚拟角色的角色技能,虚拟取消按钮(取消按钮)用于取消执行上述角色技能。
需要说明的是,为了让玩家更加容易方便选中取消释放技能的按钮,将取消按钮的显示面积设置成基于玩家手指与取消按钮的距离灵活调整,如当距离越近时,取消按钮越大,这样相应热区就会更大,玩家就更易选中完成操作。
进一步举例说明,可选的例如图10所示,在获取到玩家按住技能按钮1004,并向取消按钮1002方向移动的信号时,在移动靠近的过程中,用户设备控制取消按钮1002匀速放大,这样玩家完成取消操作热区就会很大,更易操作。
进一步举例说明,可选的例如图11所示,由用户设备执行,具体步骤如下:
步骤S1102,获取技能按钮上触发的选中操作;
步骤S1104,显示用于取消技能释放的取消按钮;
步骤S1106,显示选中操作朝向取消按钮移动;
步骤S1108,动态调整取消按钮的显示面积;
步骤S1110,判断选中操作是否结束;
步骤S1112,技能取消释放。
可选的,在本实施例中,假设取消按钮的半径是r,r1是取消按钮的最小半径,r2是取消按钮的最大半径;取消按钮圆心到手指的距离设为a,r=x/a,x为一个常数,可以根据每个技能按钮的圆心到取消按钮的圆心距离,设为a1,则r1=x/a1,从而得出x的数值,再根据设定好的r2的数值,以及确定的x的数值,推导出手指到取消按钮最近的距离a2,r2=x/a2,即当手指距离取消按钮圆心的小于等于a2时,取消按钮就不再继续放大。对显示取消按钮的判定:玩家手指是否按住某个技能并不离开手机屏 幕;对取消技能释放的判定:玩家手指按住取消技能按钮并离开手机屏幕。
通过本申请提供的实施例,减少对玩家操作精准度的要求,让相应热区随着手指距离而动态变化,离得越近,按钮越大,玩家就更易选中,让整个操作体验更流畅更友好。
可以理解的是,在本申请的具体实施方式中,涉及到用户信等相关的数据,当本申请以上实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
根据本申请实施例的另一个方面,还提供了一种用于实施上述操作控制方法的操作控制装置。如图12所示,该装置包括:
显示单元1202,用于显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作;
调整单元1204,用于响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作;
控制单元1206,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;及
取消单元1208,用于在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作。
具体实施例可以参考上述操作控制方法中所示示例。
通过本申请提供的实施例,显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作;响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作;在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作,通过虚拟取消按钮控制目标操作的执行取消,再利用触发执行目标操作的目标选中操作的操作位置接近虚拟取消按钮时控制虚拟取消按钮的显示面积变大的方式,进而达到了根据触发执行目标操作的目标选中操作的操作位置与虚拟取消按钮之间距离灵活调整虚拟取消按钮的显示面积的目的,从而实现了提高操作控制的效率的技术效果。
作为一种可选的方案,控制单元1206,包括:
第一显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离持续变小的情况下,显示虚拟取消按钮从预设显示面积变大到目标显示面积;或者
第二显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离持续变小的情况下,显示虚拟取消按钮持续变大。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,控制单元1206,包括:
第一控制模块,用于在目标选中操作的操作位置朝着虚拟取消按钮移动的情况下,控制虚拟取消按钮的显示面积变大。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,控制单元1206,包括:
第二控制模块,用于在目标选中操作的操作位置发生移动、但目标选中操作的操作位置与虚拟取消按钮之间的距离小于目标距离阈值的情况下,控制虚拟取消按钮的显示面积不变;
第三控制模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离大于或等于目标距离阈值的情况下,控制虚拟取消按钮的显示面积变大。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,控制单元1206,包括:
第三显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离为第一距离的情况下,显示第一显示面积的虚拟取消按钮;
第四显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离为第二距离的情况下,显示第二显示面积的虚拟取消按钮,其中,第二距离小于第一距离,第二显示面积大于第一显示面积。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,控制单元1206,包括:
第五显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离位于第一距离阈值范围的情况下,显示第三显示面积的虚拟取消按钮,其中,第一距离阈值范围与第三显示面积对应;
第六显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离位于第二距离阈值范围的情况下,显示第四显示面积的虚拟取消按钮,其中,第二距离阈值范围与第四显示面积对应,第二距离阈值范围中的距离阈值小于第一距离阈值范围中的距离阈值,第四显示面积大于第三显示面积。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,取消单元1208,包括:
第一取消模块,用于在目标选中操作所关联的目标操作位置点位于虚拟取消按钮上、且位于虚拟取消按钮上的目标操作位置点的数量达到触发阈值时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作,其中,目标选中操作关联有至少一个目标操作位置点,目标操作位置点用于确定目标选中操作的操作位置。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,控制单元1206,包括:第四控制模块,用于控制虚拟取消按钮的显示面积从预设显示面积开始变大;
装置还包括:第二取消模块,用于在取消执行目标操作的情况下,将虚拟取消按钮的显示面积恢复为预设显示面积;或者,第三取消模块,用于在目标选中操作的结束位置位于虚拟取消按钮所在的区域外的情况下,将虚拟取消按钮的显示面积恢复为预设显示面积。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,控制单元1206,包括:
第五控制模块,用于在目标选中操作为对虚拟操作按钮的长按操作、长按操作的触控位置发生移动、且长按操作的触控位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变变大。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
作为一种可选的方案,装置还包括:
第七显示模块,用于在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,显示虚拟取消按钮朝着虚拟操作按钮移动。
具体实施例可以参考上述操作控制方法中所示示例,本示例中在此不再赘述。
根据本申请实施例的又一个方面,还提供了一种用于实施上述操作控制方法的电子设备,如图13所示,该电子设备包括存储器1302和处理器1304,该存储器1302中存储有计算机可读指令,该处理器1304被设置为通过计算机可读指令执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述电子设备可以位于计算机网络的多个网络设备中的至少一个网络设备。
可选地,在本实施例中,上述处理器可以被设置为通过计算机可读指令执行以下步骤:
S1,显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作;
S2,响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作;
S3,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;及
S4,在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作。
可选地,本领域普通技术人员可以理解,图13所示的结构仅为示意,电子设备也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图13其并不对上述电子设备的结构造成限定。例如,电子设备还可包括比图13中所示更多或者更少的组件(如网络接口等),或者具有与图13所示不同的配置。
其中,存储器1302可用于存储软件可读指令以及模块,如本申请实施例中的操作控制方法和装置对应的计算机可读指令/模块,处理器1304通过运行存储在存储器1302内的计算机可读指令以及模块,从而执行各种功能应用以及数据处理,即实现上述的操作控制方法。存储器1302可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1302可进一步包括相对于处理器1304远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。其中,存储器1302具体可以但不限于用于存储目标操作、目标选中操作、操作位置以及显示面积等信息。作为一种示例,如图13所示,上述存储器1302中可以但不限于包括上述操作控制装置中的显示单元1202、调整单元1204、控制单元1206及取消单元1208。此外,还可以包括但不限于上述操作控制装置中的其他模块单元,本示例中不再赘述。
可选地,上述的传输装置1306用于经由一个网络接收或者发送数据。上述的网络 具体实例可包括有线网络及无线网络。在一个实例中,传输装置1306包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1306为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
此外,上述电子设备还包括:显示器1308,用于显示上述目标操作、目标选中操作、操作位置以及显示面积等信息;和连接总线1310,用于连接上述电子设备中的各个模块部件。
在其他实施例中,上述终端设备或者服务器可以是一个分布式系统中的一个节点,其中,该分布式系统可以为区块链系统,该区块链系统可以是由该多个节点通过网络通信的形式连接形成的分布式系统。其中,节点之间可以组成点对点(Peer To Peer,简称P2P)网络,任意形式的计算设备,比如服务器、终端等电子设备都可以通过加入该点对点网络而成为该区块链系统中的一个节点。
根据本申请的一个方面,提供了一种计算机程序产品,该计算机程序产品包括计算机可读指令,该计算机可读指令包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机可读指令可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机可读指令被中央处理器执行时,执行本申请实施例提供的各种功能。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
需要说明的是,电子设备的计算机系统仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
计算机系统包括中央处理器(Central Processing Unit,CPU),其可以根据存储在只读存储器(Read-Only Memory,ROM)中的计算机可读指令或者从存储部分加载到随机访问存储器(Random Access Memory,RAM)中的计算机可读指令而执行各种适当的动作和处理。在随机访问存储器中,还存储有系统操作所需的各种计算机可读指令和数据。中央处理器、在只读存储器以及随机访问存储器通过总线彼此相连。输入/输出接口(Input/Output接口,即I/O接口)也连接至总线。
以下部件连接至输入/输出接口:包括键盘、鼠标等的输入部分;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分;包括硬盘等的存储部分;以及包括诸如局域网卡、调制解调器等的网络接口卡的通信部分。通信部分经由诸如因特网的网络执行通信处理。驱动器也根据需要连接至输入/输出接口。可拆卸介质,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器上,以便于从其上读出的计算机可读指令根据需要被安装入存储部分。
特别地,根据本申请的实施例,各个方法流程图中所描述的过程可以被实现为计算机可读指令。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机可读指令,该计算机可读指令包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机可读指令可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机可读指令被中央处理器执行时,执行本申请的系统中限定的各种功能。
根据本申请的一个方面,提供了一种计算机可读存储介质,计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各种可选实现方式中提供的方法。
可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行 以下步骤的计算机可读指令:
S1,显示虚拟操作按钮,其中,虚拟操作按钮用于触发执行目标操作;
S2,响应于对虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将目标操作的状态调整为待执行状态,其中,虚拟取消按钮用于取消执行目标操作;
S3,在目标选中操作的操作位置发生移动、且目标选中操作的操作位置与虚拟取消按钮之间的距离变小的情况下,控制虚拟取消按钮的显示面积变大;及
S4,在目标选中操作的操作位置位于虚拟取消按钮上时目标选中操作结束的情况下,取消执行处于待执行状态的目标操作。
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过计算机可读指令来指令终端设备相关的硬件来完成,该计算机可读指令可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (20)

  1. 一种操作控制方法,由计算机设备执行,其特征在于,所述方法包括:
    显示虚拟操作按钮,其中,所述虚拟操作按钮用于触发执行目标操作;
    响应于对所述虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将所述目标操作的状态调整为待执行状态,其中,所述虚拟取消按钮用于取消执行所述目标操作;
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大;及
    在所述目标选中操作的操作位置位于所述虚拟取消按钮上时所述目标选中操作结束的情况下,取消执行处于所述待执行状态的所述目标操作。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大,包括:
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离持续变小的情况下,显示所述虚拟取消按钮从预设显示面积变大到目标显示面积。
  3. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大,包括:
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离持续变小的情况下,显示所述虚拟取消按钮持续变大。
  4. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大,包括:
    在所述目标选中操作的操作位置朝着所述虚拟取消按钮移动的情况下,控制所述虚拟取消按钮的显示面积变大。
  5. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大,包括:
    在所述目标选中操作的操作位置发生移动、但所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离小于目标距离阈值的情况下,控制所述虚拟取消按钮的显示面积不变;及
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离大于或等于所述目标距离阈值的情况下,控制所述虚拟取消按钮的显示面积变大。
  6. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大,包括:
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离为第一距离的情况下,显示第一显示面积的所述虚拟取消按钮;及
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所 述虚拟取消按钮之间的距离为第二距离的情况下,显示第二显示面积的所述虚拟取消按钮,其中,所述第二距离小于所述第一距离,所述第二显示面积大于所述第一显示面积。
  7. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大,包括:
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离位于第一距离阈值范围的情况下,显示第三显示面积的所述虚拟取消按钮,其中,所述第一距离阈值范围与所述第三显示面积对应;及
    在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离位于第二距离阈值范围的情况下,显示第四显示面积的所述虚拟取消按钮,其中,所述第二距离阈值范围与所述第四显示面积对应,所述第二距离阈值范围中的距离阈值小于所述第一距离阈值范围中的距离阈值,所述第四显示面积大于所述第三显示面积。
  8. 根据权利要求1所述的方法,其特征在于,所述在所述目标选中操作的操作位置位于所述虚拟取消按钮上时所述目标选中操作结束的情况下,取消执行处于所述待执行状态的所述目标操作,包括:
    在所述目标选中操作所关联的目标操作位置点位于所述虚拟取消按钮上、且位于所述虚拟取消按钮上的目标操作位置点的数量达到触发阈值时所述目标选中操作结束的情况下,取消执行处于所述待执行状态的所述目标操作,其中,所述目标选中操作关联有至少一个目标操作位置点,所述目标操作位置点用于确定所述目标选中操作的操作位置。
  9. 根据权利要求1至7中任一项所述的方法,其特征在于,
    所述控制所述虚拟取消按钮的显示面积变大,包括:控制所述虚拟取消按钮的显示面积从预设显示面积开始变大;
    所述方法还包括:在取消执行所述目标操作的情况下,将所述虚拟取消按钮的显示面积恢复为预设显示面积。
  10. 根据权利要求1至7中任一项所述的方法,其特征在于,
    所述控制所述虚拟取消按钮的显示面积变大,包括:控制所述虚拟取消按钮的显示面积从预设显示面积开始变大;
    所述方法还包括:在所述目标选中操作的结束位置位于所述虚拟取消按钮所在的区域外的情况下,将所述虚拟取消按钮的显示面积恢复为所述预设显示面积。
  11. 根据权利要求1至7中任一项所述的方法,其特征在于,所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变变大,包括:
    在所述目标选中操作为对所述虚拟操作按钮的长按操作、所述长按操作的触控位置发生移动、且所述长按操作的触控位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大。
  12. 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:
    所述在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,显示所述虚拟取消按钮朝着所述虚拟操作按钮移动。
  13. 根据权利要求1所述的方法,其特征在于,所述目标操作在所述虚拟操作按 钮上的触发方式包括点触、长按或滑动中的至少一种。
  14. 根据权利要求1所述的方法,其特征在于,所述将所述目标操作的状态调整为待执行状态,包括:
    将所述目标操作的状态由待触发状态调整为待执行状态;
    所述取消执行处于所述待执行状态的所述目标操作,包括:
    将所述目标操作的状态由所述待执行状态调整为所述待触发状态。
  15. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述目标选中操作结束时,所述目标选中操作的操作位置不处于所述虚拟取消按钮关联的取消区域范围内的情况下,将所述目标操作的状态由所述待执行状态调整为执行状态。
  16. 根据权利要求1所述的方法,其特征在于,所述虚拟取消按钮的形状为圆形,所述虚拟取消按钮的半径同所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离成负相关关系。
  17. 一种操作控制装置,其特征在于,包括:
    显示单元,用于显示虚拟操作按钮,其中,所述虚拟操作按钮用于触发执行目标操作,所述虚拟取消按钮用于取消执行所述目标操作;
    调整单元,用于响应于对所述虚拟操作按钮执行的目标选中操作,显示虚拟取消按钮,并将所述目标操作的状态调整为待执行状态,其中,所述虚拟取消按钮用于取消执行所述目标操作;
    控制单元,用于在所述目标选中操作的操作位置发生移动、且所述目标选中操作的操作位置与所述虚拟取消按钮之间的距离变小的情况下,控制所述虚拟取消按钮的显示面积变大;及
    取消单元,用于在所述目标选中操作的操作位置位于所述虚拟取消按钮上时所述目标选中操作结束的情况下,取消执行处于所述待执行状态的所述目标操作。
  18. 一种计算机可读的存储介质,其特征在于,所述计算机可读的存储介质包括存储的计算机可读指令,其中,所述计算机可读指令运行时执行所述权利要求1至16任一项中所述的方法。
  19. 一种计算机程序产品,包括计算机可读指令,其特征在于,该计算机可读指令被处理器执行时实现权利要求1至16任一项中所述方法的步骤。
  20. 一种电子设备,包括存储器和处理器,其特征在于,所述存储器中存储有计算机可读指令,所述处理器被设置为通过所述计算机可读指令执行所述权利要求1至16任一项中所述的方法。
PCT/CN2022/130837 2022-01-21 2022-11-09 操作控制方法、装置和存储介质及电子设备 WO2023138174A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/214,914 US20230338844A1 (en) 2022-01-21 2023-06-27 Operation control method and apparatus, storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210074889.2A CN114428574B (zh) 2022-01-21 2022-01-21 操作控制方法、装置和存储介质及电子设备
CN202210074889.2 2022-01-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/214,914 Continuation US20230338844A1 (en) 2022-01-21 2023-06-27 Operation control method and apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2023138174A1 true WO2023138174A1 (zh) 2023-07-27

Family

ID=81312723

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/130837 WO2023138174A1 (zh) 2022-01-21 2022-11-09 操作控制方法、装置和存储介质及电子设备

Country Status (3)

Country Link
US (1) US20230338844A1 (zh)
CN (1) CN114428574B (zh)
WO (1) WO2023138174A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428574B (zh) * 2022-01-21 2023-08-25 腾讯科技(深圳)有限公司 操作控制方法、装置和存储介质及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937302A (zh) * 2009-06-29 2011-01-05 台均科技(深圳)有限公司 输入位置信息与显示信息匹配的方法及装置
US20160220902A1 (en) * 2010-05-20 2016-08-04 John W. Howard Touch screen with virtual joystick and methods for use therewith
CN107422938A (zh) * 2017-06-21 2017-12-01 网易(杭州)网络有限公司 信息处理方法、装置、电子设备及存储介质
CN107479749A (zh) * 2017-08-08 2017-12-15 腾讯科技(成都)有限公司 基于触控屏的操控方法及装置、移动终端及可读存储介质
CN113908534A (zh) * 2021-09-30 2022-01-11 网易(杭州)网络有限公司 游戏中技能的控制方法、装置以及电子终端
CN113996051A (zh) * 2021-10-12 2022-02-01 网易(杭州)网络有限公司 游戏技能的取消释放方法、装置、设备及存储介质
CN114428574A (zh) * 2022-01-21 2022-05-03 腾讯科技(深圳)有限公司 操作控制方法、装置和存储介质及电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI439960B (zh) * 2010-04-07 2014-06-01 Apple Inc 虛擬使用者編輯環境
WO2015116228A1 (en) * 2014-02-03 2015-08-06 Empire Technology Development Llc Rendering of game characters
US20150334063A1 (en) * 2014-05-15 2015-11-19 The Button Corporation Oy Trigger event based response execution with unintentional button press prevention
KR101580210B1 (ko) * 2015-01-08 2016-01-04 라인플러스 주식회사 터치 방식에 적합한 스마트 제어를 제공하는 게임 방법 및 게임 시스템
JP2017135510A (ja) * 2016-01-26 2017-08-03 京セラ株式会社 電子機器、制御方法及び制御プログラム
CN107797748B (zh) * 2016-09-05 2020-07-21 深圳光启合众科技有限公司 虚拟键盘输入方法和装置及机器人
US11089351B2 (en) * 2017-02-02 2021-08-10 Maxell, Ltd. Display apparatus and remote operation control apparatus
CN109683785B (zh) * 2018-12-24 2021-03-12 维沃移动通信有限公司 一种信息处理方法及移动终端
JP7083511B2 (ja) * 2019-11-20 2022-06-13 株式会社ニューギン 遊技機

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937302A (zh) * 2009-06-29 2011-01-05 台均科技(深圳)有限公司 输入位置信息与显示信息匹配的方法及装置
US20160220902A1 (en) * 2010-05-20 2016-08-04 John W. Howard Touch screen with virtual joystick and methods for use therewith
CN107422938A (zh) * 2017-06-21 2017-12-01 网易(杭州)网络有限公司 信息处理方法、装置、电子设备及存储介质
CN107479749A (zh) * 2017-08-08 2017-12-15 腾讯科技(成都)有限公司 基于触控屏的操控方法及装置、移动终端及可读存储介质
CN113908534A (zh) * 2021-09-30 2022-01-11 网易(杭州)网络有限公司 游戏中技能的控制方法、装置以及电子终端
CN113996051A (zh) * 2021-10-12 2022-02-01 网易(杭州)网络有限公司 游戏技能的取消释放方法、装置、设备及存储介质
CN114428574A (zh) * 2022-01-21 2022-05-03 腾讯科技(深圳)有限公司 操作控制方法、装置和存储介质及电子设备

Also Published As

Publication number Publication date
CN114428574A (zh) 2022-05-03
US20230338844A1 (en) 2023-10-26
CN114428574B (zh) 2023-08-25

Similar Documents

Publication Publication Date Title
WO2021036594A1 (zh) 一种应用于投屏场景的控制方法以及相关设备
KR101843810B1 (ko) 이동 단말기의 전면 카메라 및 후면 카메라의 선택 방법 및 이동 단말기
US9007314B2 (en) Method for touch processing and mobile terminal
EP4195063A1 (en) File sharing method and apparatus, and terminal and storage medium
JP6345757B2 (ja) 表示処理方法、表示処理プログラム及び表示処理システム
CN106951163B (zh) 一种显示控制方法及装置
WO2020098444A1 (zh) 对象的显示方法、装置、存储介质及电子装置
EP4016273A1 (en) Side toolbar display method and device, terminal, and storage medium
CN107219972B (zh) 一种应用管理的方法、设备及计算机可读存储介质
EP2947556B1 (en) Method and apparatus for processing input using display
WO2023138174A1 (zh) 操作控制方法、装置和存储介质及电子设备
CN113318434A (zh) 游戏的信息处理方法及装置、存储介质
CN111007976B (zh) 应用控制方法及终端设备
WO2014173327A1 (zh) 一种按钮识别区域的调整方法及装置
US20230285860A1 (en) Virtual character control method and apparatus, storage medium and electronic device
CN112162685A (zh) 属性调节方法、装置和电子设备
CN107193379B (zh) 应用程序启动方法、终端及计算机可读存储介质
CN112654957B (zh) 悬浮窗控制方法及相关产品
WO2021104162A1 (zh) 显示方法及电子设备
US20150186032A1 (en) Touch-control method, related apparatus, and terminal device
US10628078B2 (en) Data access method and related device
CN113342234A (zh) 显示控制方法、移动终端及存储介质
WO2023125048A1 (zh) 内容显示方法及相关产品
CN110413167A (zh) 一种终端设备的截屏方法及终端设备
CN116610239A (zh) 图标处理方法、智能终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22921598

Country of ref document: EP

Kind code of ref document: A1