WO2018137399A1 - Method and apparatus for cancelling operation to be executed - Google Patents
Method and apparatus for cancelling operation to be executed Download PDFInfo
- Publication number
- WO2018137399A1 WO2018137399A1 PCT/CN2017/113599 CN2017113599W WO2018137399A1 WO 2018137399 A1 WO2018137399 A1 WO 2018137399A1 CN 2017113599 W CN2017113599 W CN 2017113599W WO 2018137399 A1 WO2018137399 A1 WO 2018137399A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- touch
- application window
- executed
- stopped
- touch object
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
Definitions
- the present application relates to the field of computers, and in particular, to a technique for canceling an operation to be performed.
- a method for canceling an operation to be performed includes:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
- a method for canceling an operation to be performed includes:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- an apparatus for canceling an operation to be performed wherein the apparatus comprises:
- a first module configured to determine, according to a touch operation of the touch object in the application window, a corresponding to-be-executed operation
- a second module for when the touch operation is stopped, and the current bit of the touch operation is stopped.
- the operation to be performed is canceled outside the operation area corresponding to the touch object, wherein the touch operation keeps touching the application window before stopping.
- an apparatus for canceling an operation to be performed wherein the apparatus comprises:
- a sixth module configured to display, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determine a corresponding operation to be performed;
- a seventh module configured to cancel the to-be-executed operation if the triggering operation of the cancellation button corresponding to the touch object by the user is obtained, wherein the touch operation keeps touching the application window before stopping.
- a computer readable storage medium comprising instructions that, when executed, cause a system to:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
- a computer readable storage medium comprising instructions that, when executed, cause a system to:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- an apparatus for canceling an operation to be performed wherein the apparatus includes:
- a memory arranged to store computer executable instructions that, when executed, cause the processor to:
- an apparatus for canceling an operation to be performed wherein the apparatus includes:
- a memory arranged to store computer executable instructions that, when executed, cause the processor to:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- the present application determines a corresponding to-be-executed operation according to a user's touch operation on the touch object in the application window, when the touch operation is stopped, and the current position where the touch operation is stopped is located in the touch
- the operation to be performed is canceled in addition to the operation area corresponding to the object, thereby providing a manner for the user to cancel the operation to be performed conveniently and quickly, and improving the user experience.
- the to-be-executed operation is performed by a target object
- the user may control a moving state of the target object by a mobile operation by one hand, and a touch operation on the touch object by another hand
- the operation to be performed of the target object is controlled, and the user can conveniently cancel the to-be-executed operation when needed in the mode of two-hand operation.
- FIG. 1 shows a flow chart of a method for canceling an operation to be performed according to an embodiment of the present application
- FIGS. 2(a) to (d) are schematic views showing an application window according to an aspect of the present application.
- FIG. 3 illustrates a flow chart of a method for canceling an operation to be performed according to another embodiment of the present application
- FIG. 4 shows a schematic diagram of an application window in accordance with another aspect of the present application.
- FIG. 5 shows a schematic diagram of an apparatus for canceling an operation to be performed according to an embodiment of the present application
- FIG. 6 shows a schematic diagram of an apparatus for canceling an operation to be performed according to another embodiment of the present application.
- the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
- RAM random access memory
- ROM read only memory
- Memory is an example of a computer readable medium.
- Computer readable media includes both permanent and non-persistent, removable and non-removable media.
- Information storage can be implemented by any method or technology.
- the information can be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage,
- computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
- FIG. 1 illustrates a flow chart of a method for canceling an operation to be performed according to an embodiment of the present application, the method including step S11 and step S12.
- step S11 the device 1 determines a corresponding to-be-executed operation according to a user's touch operation on the touch object in the application window; in step S12, the device 1 stops when the touch operation stops, and the touch operation stops. The location is outside the operation area corresponding to the touch object, The to-be-executed operation is cancelled, wherein the touch operation keeps touching the application window before stopping.
- the device 1 includes, but is not limited to, a user equipment, or a device in which a user equipment and a network device are integrated through a network.
- the user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc.
- the network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more.
- the network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers.
- the network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like.
- the device 1 may also be a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network.
- a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network.
- the above-mentioned device 1 is only an example, and other existing or future devices 1 may be applicable to the present application, and are also included in the scope of the present application, and are hereby incorporated by reference. Included here.
- step S11 the device 1 determines a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user.
- the application window may be displayed in full screen on a touch screen of a user equipment (including but not limited to a smart phone, a tablet, etc.), or the application window may be displayed in a non-full screen; in AR (Augmented Reality), VR ( In a scenario such as Virtual Reality, virtual reality, the application window can also be displayed by projection or other means.
- the touch object may include an operation area and/or an operation button.
- the touch object includes an operation area and an operation button, and the operation button is located in the operation area.
- the user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
- the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like.
- the touch object including an operation area and/or an operation button
- the touch operation determines the operation to be performed (for example, the direction in which the skill is released, etc.).
- the device 1 displays the touch object in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
- the touch object can include an operating area and/or an operating button.
- the operation button may be displayed only in the application window when the user touches the operation button; the operation area may be displayed only in the application window at the beginning, and the user touches the operation.
- the action button is displayed after the area.
- the touch object is displayed in the application window, including at least one of: displaying an operation area corresponding to the touch object in the application window; displaying the touch in the application window The operation button corresponding to the control object.
- the operation area and/or the operation button may be displayed after the user clicks on a skill icon in the application window of the game application; or the operation area and/or the operation button may be displayed in the application window at the beginning.
- step S12 the device 1 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation is stopped. Keep touching the application window before.
- a finger of a user equipment including but not limited to a smartphone, a tablet, etc.
- a user equipment including but not limited to a smartphone, a tablet, etc.
- the stopping of the touch operation comprises at least one of the following: the touch operation is released; the pressure information of the touch operation at the current position is greater than the pressing force threshold.
- the releasing the touch operation may include: the user lifting a finger touching the screen of the user equipment; the pressure information of the touch operation at the current location is greater than the pressing force threshold may include: the user's finger increases the touch user device The pressure on the screen is greater than the pressing force threshold.
- the stopping of the touch operation may further include: the duration of the touch operation staying at the current location The long press time threshold is exceeded, that is, the length of time that the user touches the user equipment screen finger staying at one coordinate position exceeds the long press time threshold.
- step S12 when the touch operation is stopped, the device 1 detects whether the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation keeps the touch before stopping.
- the application window if yes, cancel the to-be-executed operation.
- step S12 the device 1 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is located in a corresponding operation canceling area, wherein the operation canceling area and the touch The operation areas corresponding to the control objects are separated, and the touch operation keeps touching the application window before stopping.
- the operation cancellation area is located outside the operation area; if the user touches the finger of the user equipment screen and moves out of the operation area and moves to the operation cancellation The area (ie, the current location), the touch operation is stopped, and the to-be-executed operation is canceled.
- the method further includes: when the touch operation is stopped, and the current position where the touch operation is stopped is located in an operation area corresponding to the touch object, the to-be-executed operation is performed.
- the to-be-executed operation is performed.
- the to-be-executed operation is performed by a target object; wherein the method further comprises: the device 1 acquiring a movement operation of the target object by the user; determining, according to the moving operation, the target object Move status.
- the user can control the target object (for example, a person in a game application) by two-hand operation, wherein one hand controls the target by the moving operation.
- the moving state of the object the other hand controls the pending operation of the target object (for example, various skills in the game application) by a touch operation on the touch object.
- the operation range of one hand can be the entire application window, the operation range of the other hand is a fixed button in the application window; or the operation range of the two hands is respectively two fixed buttons in the application window; It is also possible that the operating ranges of the two hands are respectively located on the left and right sides of the application window; and the operating ranges of the two hands are respectively located above and below the application window.
- the user can set the operating range of the left and right hands according to his own hand habits.
- the operation area corresponding to the moving operation and the operation area corresponding to the touch object are respectively located on both sides of the application window.
- the operating ranges of the two hands of the user are respectively located on the left and right sides of the application window.
- the left hand of the user controls a moving state of the target object by the moving operation
- the right hand of the user controls an operation to be performed of the target object by a touch operation on the touch object
- the user's controls the movement state of the target object by the moving operation
- the left hand of the user controls an operation to be performed of the target object by a touch operation on the touch object.
- the user can set the left or right hand to control the movement state of the target object according to his own hand habit, and control the pending operation of the target object by the right hand or the left hand.
- FIG. 3 illustrates a flow chart of a method for canceling an operation to be performed according to another embodiment of the present application, the method including step S26 and step S27.
- step S26 the device 2 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding to-be-executed operation;
- step S27 the device 2 cancels the triggering operation of the cancel button corresponding to the touch object by the device 2, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
- the device 2 includes, but is not limited to, a user equipment, or a device formed by integrating a user equipment and a network device through a network.
- the user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc.
- the network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more.
- the network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers.
- the network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like.
- the device 2 may also be a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network.
- a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network.
- step S26 the device 2 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
- the application window may be displayed in full screen on a touch screen of a user equipment (including but not limited to a smart phone, a tablet, etc.), or the application window may be displayed in a non-full screen; in AR (Augmented Reality), VR ( In a scenario such as Virtual Reality, virtual reality, the application window can also be displayed by projection or other means.
- the touch object may include an operation area and/or an operation button.
- the touch object includes an operation area and an operation button, and the operation button is located in the operation area.
- the user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
- the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like.
- skill release such as skill release, flash, eye insertion, signaling, transmission, and the like.
- the touch object and the cancel button are displayed, and then the user is determined according to the touch operation of the touch object by the user.
- the action to be performed for example, the direction in which the skill is released, etc.).
- the operation area and the cancel button corresponding to the touch object are respectively located at two sides of the application window.
- the cancel button is located on the left side of the application window, and the operation area is located at the The right side of the application window; or, the cancel button is located on the right side of the application window, and the operation area is located on the left side of the application window.
- the user can set the cancel button and the position of the operating area according to his own hand habits.
- step S27 the device 2 cancels the triggering operation of the cancel button corresponding to the touch object by the device 2, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
- the user may keep pressing the operation area with one hand and pass another
- the purpose of canceling the to-be-executed operation is achieved by only the triggering operation of the cancel button (for example, clicking the cancel button).
- FIG. 5 shows an apparatus 1 for canceling an operation to be performed according to an embodiment of the present application, wherein the apparatus 1 includes a first module 11 and a second module 12.
- the first module 11 determines a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user; the second module 12 stops when the touch operation stops, and the touch operation stops. The location is outside the operation area corresponding to the touch object, and the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- the device 1 includes, but is not limited to, a user equipment, or a device in which a user equipment and a network device are integrated through a network.
- the user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc.
- the network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more.
- the network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers.
- the network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like.
- the device 1 may also be running on the user equipment, or user equipment and network A script program on a device formed by a network device, a touch terminal, or a network device integrated with a touch terminal through a network.
- a network device formed by a network device, a touch terminal, or a network device integrated with a touch terminal through a network.
- the above-mentioned device 1 is only an example, and other existing or future devices 1 may be applicable to the present application, and are also included in the scope of the present application, and are hereby incorporated by reference. Included here.
- the first module 11 determines a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user.
- the application window may be displayed in full screen on a touch screen of a user equipment (including but not limited to a smart phone, a tablet, etc.), or the application window may be displayed in a non-full screen; in AR (Augmented Reality), VR ( In a scenario such as Virtual Reality, virtual reality, the application window can also be displayed by projection or other means.
- the touch object may include an operation area and/or an operation button.
- the touch object includes an operation area and an operation button, and the operation button is located in the operation area.
- the user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
- the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like.
- the touch object including an operation area and/or an operation button
- the touch operation determines the operation to be performed (for example, the direction in which the skill is released, etc.).
- the first module 11 displays the touch object in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
- the touch object can include an operating area and/or an operating button.
- the operation button may be displayed only in the application window when the user touches the operation button; the operation area may be displayed only in the application window at the beginning, and the user touches the operation.
- the action button is displayed after the area.
- the touch object is displayed in the application window, including at least one of: displaying an operation area corresponding to the touch object in the application window; displaying the touch in the application window The operation button corresponding to the control object.
- the operating area and/or the operating button are displayed; the operating area and/or the operating button can also be displayed in the application window at the beginning.
- the second module 12 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation is stopped. Keep touching the application window before.
- a finger of a user equipment including but not limited to a smartphone, a tablet, etc.
- a user equipment including but not limited to a smartphone, a tablet, etc.
- the stopping of the touch operation comprises at least one of the following: the touch operation is released; the pressure information of the touch operation at the current position is greater than the pressing force threshold.
- the releasing the touch operation may include: the user lifting a finger touching the screen of the user equipment; the pressure information of the touch operation at the current location is greater than the pressing force threshold may include: the user's finger increases the touch user device The pressure on the screen is greater than the pressing force threshold.
- the stopping of the touch operation may further include: the duration of the touch operation staying at the current location exceeds a long press time threshold, that is, the duration of the user's finger touching the user equipment screen staying at a coordinate position exceeds the long press time threshold.
- the second module 12 detects whether the current position where the touch operation is stopped is outside the operation area corresponding to the touch object when the touch operation is stopped, wherein the touch operation keeps the touch before stopping.
- the application window if yes, cancel the to-be-executed operation.
- the second module 12 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is located in a corresponding operation canceling area, wherein the operation canceling area and the touch The operation areas corresponding to the control objects are separated, and the touch operation keeps touching the application window before stopping.
- the operation cancellation area is located outside the operation area; if the user touches the finger of the user equipment screen and moves out of the operation area and moves to the operation cancellation The area (ie, the current location), the touch operation is stopped, then the waiting is cancelled Perform the operation.
- the device 1 further includes a third module (not shown); the third module is when the touch operation is stopped, and the current position where the touch operation is stopped is located in the operation corresponding to the touch object. In the area, the to-be-executed operation is performed.
- the to-be-executed operation is performed.
- the to-be-executed operation is performed by a target object; wherein the apparatus 1 further includes a fourth module (not shown) and a fifth module (not shown); the fourth module acquires Determining a movement operation of the target object by the user; the fifth module determines a movement state of the target object according to the movement operation.
- the fourth module acquires Determining a movement operation of the target object by the user
- the fifth module determines a movement state of the target object according to the movement operation.
- the user can control the target object (for example, a person in a game application) by two-hand operation, wherein one hand controls the target by the moving operation.
- the moving state of the object the other hand controls the pending operation of the target object (for example, various skills in the game application) by a touch operation on the touch object.
- the operation range of one hand may be the entire application window, the operation range of the other hand is a fixed button in the application window; or the operation range of the two hands may be two of the application windows respectively.
- the button is fixed; the operating range of the two hands is respectively located on the left and right sides of the application window; and the operating ranges of the two hands are respectively located above and below the application window.
- the user can set the operating range of the left and right hands according to his own hand habits.
- the operation area corresponding to the moving operation and the operation area corresponding to the touch object are respectively located on both sides of the application window.
- the operating ranges of the two hands of the user are respectively located on the left and right sides of the application window.
- the left hand of the user controls a moving state of the target object by the moving operation
- the right hand of the user controls an operation to be performed of the target object by a touch operation on the touch object
- the user's controls the movement state of the target object by the moving operation
- the left hand of the user controls an operation to be performed of the target object by a touch operation on the touch object.
- the user can set the left or right hand to control the movement state of the target object according to his own hand habit, and control the target by the right hand or the left hand. The pending action of the object.
- FIG. 6 shows an apparatus 2 for canceling an operation to be performed according to another embodiment of the present application, wherein the apparatus 2 includes a sixth module 26 and a seventh module 27.
- the sixth module 26 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding to-be-executed operation;
- the seventh module 27 cancels the triggering operation of the cancel button corresponding to the touch object by the user, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
- the device 2 includes, but is not limited to, a user equipment, or a device formed by integrating a user equipment and a network device through a network.
- the user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc.
- the network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more.
- the network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers.
- the network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like.
- the device 2 may also be a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network.
- a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network.
- the sixth module 26 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
- the application window may be displayed in full screen on the touch screen, and the application window may be displayed in a non-full screen; in an scene such as AR (Augmented Reality), VR (Virtual Reality), etc., it may also be displayed by projection or other means.
- the touch object may include an operation area and/or an operation button.
- the touch object includes an operation area and an operation button, and the operation button is located in the operation area.
- the user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
- the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like.
- skill release such as skill release, flash, eye insertion, signaling, transmission, and the like.
- the touch object and the cancel button are displayed, and then the user is determined according to the touch operation of the touch object by the user.
- the action to be performed for example, the direction in which the skill is released, etc.).
- the operation area and the cancel button corresponding to the touch object are respectively located at two sides of the application window.
- the cancel button is located on the left side of the application window, the operation area is located on the right side of the application window; or the cancel button is located on the right side of the application window, and the operation area is located in the The left side of the application window.
- the user can set the cancel button and the position of the operating area according to his own hand habits.
- the seventh module 27 cancels the triggering operation of the cancel button corresponding to the touch object by the user, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
- the user may keep pressing the operation area with one hand and pass another
- the purpose of canceling the to-be-executed operation is achieved by only the triggering operation of the cancel button (for example, clicking the cancel button).
- a computer readable storage medium comprising instructions that, when executed, cause a system to:
- a computer readable storage medium comprising instructions that, when executed, cause a system to:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- an apparatus for canceling an operation to be performed wherein the apparatus includes:
- a memory arranged to store computer executable instructions that, when executed, cause the processor to:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
- an apparatus for canceling an operation to be performed wherein the apparatus includes:
- a memory arranged to store computer executable instructions that, when executed, cause the processor to:
- the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- the present application determines a corresponding to-be-executed operation according to a user's touch operation on the touch object in the application window, when the touch operation is stopped, and the current position where the touch operation is stopped is located in the touch Except the operation area corresponding to the object, cancel the pending operation, from The user is provided with a way to cancel the operation to be performed conveniently and quickly, thereby improving the user experience.
- the to-be-executed operation is performed by a target object
- the user may control a moving state of the target object by a mobile operation by one hand, and a touch operation on the touch object by another hand
- the operation to be performed of the target object is controlled, and the user can conveniently cancel the to-be-executed operation when needed in the mode of two-hand operation.
- the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
- the software program of the present application can be executed by a processor to implement the steps or functions described above.
- the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
- some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
- a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application.
- the program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run.
- an embodiment in accordance with the present application includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering
- the apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A method and apparatus for cancelling an operation to be executed. The method comprises: according to a touch operation of a user on a touch control object in an application window, determining a corresponding operation to be executed (S11); and when the touch operation is stopped and the current position where the touch operation is stopped is outside an operation region corresponding to the touch control object, cancelling the operation to be executed, wherein the touch operation is maintained before stopping so as to touch the application window (S12). Accordingly, the present invention provides, for a user, a method by which the operation to be executed can be conveniently and quickly cancelled, thereby improving the user experience. Furthermore, the operation to be executed is executed by a target object; the user can control a movement state of the target object by using one hand by means of a movement operation, and control the operation to be executed of the target object by using the other hand by means of a touch operation on the touch control object; and the user can also conveniently cancel the operation to be executed if necessary in a two-hand operation mode.
Description
本申请涉及计算机领域,尤其涉及一种用于取消待执行操作的技术。The present application relates to the field of computers, and in particular, to a technique for canceling an operation to be performed.
用户在使用游戏应用、社交应用等各类应用时,有时会出现误操作的情况,此时用户需要取消待执行操作。然而,在现有的一些应用中,用户无法较为便捷地取消待执行操作,影响用户体验。When a user uses various applications such as a game application or a social application, sometimes a misoperation occurs, and the user needs to cancel the pending operation. However, in some existing applications, the user cannot cancel the pending operation more conveniently and affect the user experience.
发明内容Summary of the invention
本申请的一个目的是提供一种用于取消待执行操作的方法与装置。It is an object of the present application to provide a method and apparatus for canceling an operation to be performed.
根据本申请的一个方面,提供了一种用于取消待执行操作的方法,其中,该方法包括:According to an aspect of the present application, a method for canceling an operation to be performed is provided, wherein the method includes:
根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;
当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
根据本申请的另一个方面,提供了一种用于取消待执行操作的方法,其中,该方法包括:According to another aspect of the present application, a method for canceling an operation to be performed is provided, wherein the method includes:
根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;
若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
根据本申请的又一个方面,提供了一种用于取消待执行操作的装置,其中,该装置包括:According to still another aspect of the present application, an apparatus for canceling an operation to be performed is provided, wherein the apparatus comprises:
第一模块,用于根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;a first module, configured to determine, according to a touch operation of the touch object in the application window, a corresponding to-be-executed operation;
第二模块,用于当所述触摸操作停止,且所述触摸操作停止的当前位
置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。a second module, for when the touch operation is stopped, and the current bit of the touch operation is stopped
The operation to be performed is canceled outside the operation area corresponding to the touch object, wherein the touch operation keeps touching the application window before stopping.
根据本申请的再一个方面,提供了一种用于取消待执行操作的装置,其中,该装置包括:According to still another aspect of the present application, an apparatus for canceling an operation to be performed is provided, wherein the apparatus comprises:
第六模块,用于根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;a sixth module, configured to display, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determine a corresponding operation to be performed;
第七模块,用于若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And a seventh module, configured to cancel the to-be-executed operation if the triggering operation of the cancellation button corresponding to the touch object by the user is obtained, wherein the touch operation keeps touching the application window before stopping.
根据本申请的又一个方面,提供了一种包括指令的计算机可读存储介质,所述指令在被执行时使得系统进行以下操作:In accordance with still another aspect of the present application, a computer readable storage medium comprising instructions that, when executed, cause a system to:
根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;
当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
根据本申请的又一个方面,提供了一种包括指令的计算机可读存储介质,所述指令在被执行时使得系统进行以下操作:In accordance with still another aspect of the present application, a computer readable storage medium comprising instructions that, when executed, cause a system to:
根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;
若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
根据本申请的又一个方面,提供了一种用于取消待执行操作的设备,其中,该设备包括:According to still another aspect of the present application, an apparatus for canceling an operation to be performed is provided, wherein the apparatus includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;
当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控
对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is located at the touch
The operation to be performed is canceled outside the operation area corresponding to the object, wherein the touch operation keeps touching the application window before stopping.
根据本申请的又一个方面,提供了一种用于取消待执行操作的设备,其中,该设备包括:According to still another aspect of the present application, an apparatus for canceling an operation to be performed is provided, wherein the apparatus includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;
若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
与现有技术相比,本申请根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作,当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,从而为用户提供一种可以方便快捷地取消所述待执行操作的方式,提升用户体验。进一步地,本申请中,所述待执行操作由目标对象执行,所述用户可以一只手通过移动操作控制所述目标对象的移动状态,另一只手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作,所述用户在双手操作的模式下,也可以在需要时便捷地取消所述待执行操作。Compared with the prior art, the present application determines a corresponding to-be-executed operation according to a user's touch operation on the touch object in the application window, when the touch operation is stopped, and the current position where the touch operation is stopped is located in the touch The operation to be performed is canceled in addition to the operation area corresponding to the object, thereby providing a manner for the user to cancel the operation to be performed conveniently and quickly, and improving the user experience. Further, in the present application, the to-be-executed operation is performed by a target object, and the user may control a moving state of the target object by a mobile operation by one hand, and a touch operation on the touch object by another hand The operation to be performed of the target object is controlled, and the user can conveniently cancel the to-be-executed operation when needed in the mode of two-hand operation.
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1示出根据本申请一个实施例的一种用于取消待执行操作的方法流程图;1 shows a flow chart of a method for canceling an operation to be performed according to an embodiment of the present application;
图2(a)~(d)示出根据本申请一个方面的一种应用窗口的示意图;2(a) to (d) are schematic views showing an application window according to an aspect of the present application;
图3示出根据本申请另一个实施例的一种用于取消待执行操作的方法流程图;FIG. 3 illustrates a flow chart of a method for canceling an operation to be performed according to another embodiment of the present application; FIG.
图4示出根据本申请另一个方面的一种应用窗口的示意图;
4 shows a schematic diagram of an application window in accordance with another aspect of the present application;
图5示出根据本申请一个实施例的一种用于取消待执行操作的装置示意图;FIG. 5 shows a schematic diagram of an apparatus for canceling an operation to be performed according to an embodiment of the present application; FIG.
图6示出根据本申请另一个实施例的一种用于取消待执行操作的装置示意图。FIG. 6 shows a schematic diagram of an apparatus for canceling an operation to be performed according to another embodiment of the present application.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
下面结合附图对本申请作进一步详细描述。The present application is further described in detail below with reference to the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, A magnetic tape cartridge, magnetic tape storage or other magnetic storage device or any other non-transportable medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
图1示出根据本申请一个实施例的一种用于取消待执行操作的方法流程图,该方法包括步骤S11和步骤S12。FIG. 1 illustrates a flow chart of a method for canceling an operation to be performed according to an embodiment of the present application, the method including step S11 and step S12.
具体地,步骤S11中,装置1根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;步骤S12中,装置1当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,
取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。Specifically, in step S11, the device 1 determines a corresponding to-be-executed operation according to a user's touch operation on the touch object in the application window; in step S12, the device 1 stops when the touch operation stops, and the touch operation stops. The location is outside the operation area corresponding to the touch object,
The to-be-executed operation is cancelled, wherein the touch operation keeps touching the application window before stopping.
在此,所述装置1包括但不限于用户设备、或用户设备与网络设备通过网络相集成所构成的装置。所述用户设备其包括但不限于任何一种可与用户通过触摸板进行人机交互的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。所述网络设备其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,装置1还可以是运行于所述用户设备、或用户设备与网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的装置上的脚本程序。当然,本领域技术人员应能理解上述装置1仅为举例,其他现有的或今后可能出现的装置1如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Here, the device 1 includes, but is not limited to, a user equipment, or a device in which a user equipment and a network device are integrated through a network. The user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more. The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device 1 may also be a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network. Of course, those skilled in the art should understand that the above-mentioned device 1 is only an example, and other existing or future devices 1 may be applicable to the present application, and are also included in the scope of the present application, and are hereby incorporated by reference. Included here.
步骤S11中,装置1根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作。In step S11, the device 1 determines a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user.
例如,可以在用户设备(包括但不限于智能手机、平板电脑等)的触摸屏上全屏显示所述应用窗口,也可以非全屏显示所述应用窗口;在AR(Augmented Reality,增强现实)、VR(Virtual Reality,虚拟现实)等场景中,也可以通过投影或其他方式显示所述应用窗口。所述触控对象可以包括操作区域和/或操作按钮。For example, the application window may be displayed in full screen on a touch screen of a user equipment (including but not limited to a smart phone, a tablet, etc.), or the application window may be displayed in a non-full screen; in AR (Augmented Reality), VR ( In a scenario such as Virtual Reality, virtual reality, the application window can also be displayed by projection or other means. The touch object may include an operation area and/or an operation button.
如图2所示,所述触控对象包括操作区域和操作按钮,且操作按钮位于操作区域内。所述用户可以通过触摸操作控制操作按钮的方向、位置等,从而确定对应的待执行操作。
As shown in FIG. 2, the touch object includes an operation area and an operation button, and the operation button is located in the operation area. The user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
若将本申请应用于游戏应用中,所述待执行操作可以包括游戏人物的各种技能,例如:技能释放、闪现、插眼、信号发送、传送等。在一个实施例中,所述用户点击游戏应用的应用窗口中一个技能图标后,显示所述触控对象(包括操作区域和/或操作按钮),然后根据所述用户对所述触控对象的触摸操作确定所述待执行操作(例如技能释放的方向等)。If the present application is applied to a game application, the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like. In one embodiment, after the user clicks on a skill icon in the application window of the game application, the touch object (including an operation area and/or an operation button) is displayed, and then the user touches the touch object according to the user. The touch operation determines the operation to be performed (for example, the direction in which the skill is released, etc.).
优选地,步骤S11中,装置1根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象,并确定对应的待执行操作。Preferably, in step S11, the device 1 displays the touch object in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
例如,所述触控对象可以包括操作区域和/或操作按钮。在此,可以开始时仅在所述应用窗口中显示操作按钮,所述用户触摸该操作按钮后显示操作区域;也可以开始时仅在所述应用窗口中显示操作区域,所述用户触摸该操作区域后显示操作按钮。For example, the touch object can include an operating area and/or an operating button. Here, the operation button may be displayed only in the application window when the user touches the operation button; the operation area may be displayed only in the application window at the beginning, and the user touches the operation. The action button is displayed after the area.
优选地,在所述应用窗口中显示所述触控对象,包括以下至少任一项:在所述应用窗口中显示所述触控对象对应的操作区域;在所述应用窗口中显示所述触控对象对应的操作按钮。Preferably, the touch object is displayed in the application window, including at least one of: displaying an operation area corresponding to the touch object in the application window; displaying the touch in the application window The operation button corresponding to the control object.
例如,可以当所述用户点击游戏应用的应用窗口中一个技能图标后,显示操作区域和/或操作按钮;也可以开始时即在所述应用窗口中显示操作区域和/或操作按钮。For example, the operation area and/or the operation button may be displayed after the user clicks on a skill icon in the application window of the game application; or the operation area and/or the operation button may be displayed in the application window at the beginning.
步骤S12中,装置1当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。In step S12, the device 1 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation is stopped. Keep touching the application window before.
例如,参照图2(a)或图2(b),若所述用户触摸用户设备(包括但不限于智能手机、平板电脑等)屏幕的手指移出该操作区域,且所述触摸操作停止,则取消所述待执行操作。For example, referring to FIG. 2(a) or FIG. 2(b), if the user touches a finger of a user equipment (including but not limited to a smartphone, a tablet, etc.) screen to move out of the operation area, and the touch operation is stopped, then Cancel the pending operation.
优选地,所述触摸操作停止包括以下至少任一项:所述触摸操作被释放;所述触摸操作在当前位置的压力信息大于按压力量阈值。Preferably, the stopping of the touch operation comprises at least one of the following: the touch operation is released; the pressure information of the touch operation at the current position is greater than the pressing force threshold.
例如,所述触摸操作被释放可以包括:所述用户抬起触摸用户设备屏幕的手指;所述触摸操作在当前位置的压力信息大于按压力量阈值可以包括:所述用户的手指加大触摸用户设备屏幕的压力至大于按压力量阈值。此外,所述触摸操作停止还可以包括:所述触摸操作在当前位置停留时长
超过长按时间阈值,即,所述用户触摸用户设备屏幕的手指一直停留在一个坐标位置的时长超过长按时间阈值。For example, the releasing the touch operation may include: the user lifting a finger touching the screen of the user equipment; the pressure information of the touch operation at the current location is greater than the pressing force threshold may include: the user's finger increases the touch user device The pressure on the screen is greater than the pressing force threshold. In addition, the stopping of the touch operation may further include: the duration of the touch operation staying at the current location
The long press time threshold is exceeded, that is, the length of time that the user touches the user equipment screen finger staying at one coordinate position exceeds the long press time threshold.
优选地,步骤S12中,装置1当所述触摸操作停止,检测所述触摸操作停止的当前位置是否位于所述触控对象对应的操作区域之外,其中,所述触摸操作在停止前保持触摸所述应用窗口;若是,取消所述待执行操作。Preferably, in step S12, when the touch operation is stopped, the device 1 detects whether the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation keeps the touch before stopping. The application window; if yes, cancel the to-be-executed operation.
例如,参照图2(a)或图2(b),当用户设备的触摸屏感应到所述触摸操作停止,检测所述当前位置(例如所述用户抬起手指的位置)是否位于所述操作区域之外,若是,则取消所述待执行操作。For example, referring to FIG. 2(a) or FIG. 2(b), when the touch screen of the user equipment senses that the touch operation is stopped, detecting whether the current location (eg, the location where the user lifts the finger) is located in the operation area In addition, if yes, the pending operation is cancelled.
优选地,步骤S12中,装置1当所述触摸操作停止,且所述触摸操作停止的当前位置位于对应的操作取消区域,取消所述待执行操作,其中,所述操作取消区域与所述触控对象对应的操作区域相分离,所述触摸操作在停止前保持触摸所述应用窗口。Preferably, in step S12, the device 1 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is located in a corresponding operation canceling area, wherein the operation canceling area and the touch The operation areas corresponding to the control objects are separated, and the touch operation keeps touching the application window before stopping.
例如,参照图2(c)或图2(d),所述操作取消区域位于所述操作区域之外;若所述用户触摸用户设备屏幕的手指移出所述操作区域且移至所述操作取消区域(即所述当前位置),所述触摸操作停止,则取消所述待执行操作。For example, referring to FIG. 2(c) or FIG. 2(d), the operation cancellation area is located outside the operation area; if the user touches the finger of the user equipment screen and moves out of the operation area and moves to the operation cancellation The area (ie, the current location), the touch operation is stopped, and the to-be-executed operation is canceled.
优选地,所述方法还包括:所述装置1当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域内,执行所述待执行操作。Preferably, the method further includes: when the touch operation is stopped, and the current position where the touch operation is stopped is located in an operation area corresponding to the touch object, the to-be-executed operation is performed.
例如,若所述用户触摸用户设备屏幕的手指未移出所述操作区域,即所述当前位置位于所述操作区域内,所述触控操作停止,则执行所述待执行操作。For example, if the user touches the user equipment screen and the finger does not move out of the operation area, that is, the current position is located in the operation area, and the touch operation is stopped, the to-be-executed operation is performed.
优选地,所述待执行操作由目标对象执行;其中,所述方法还包括:所述装置1获取所述用户对所述目标对象的移动操作;根据所述移动操作,确定所述目标对象的移动状态。Preferably, the to-be-executed operation is performed by a target object; wherein the method further comprises: the device 1 acquiring a movement operation of the target object by the user; determining, according to the moving operation, the target object Move status.
例如,参照图2(b)或图2(d),所述用户可以通过双手操作控制所述目标对象(例如游戏应用中的人物),其中,一只手通过所述移动操作控制所述目标对象的移动状态,另一只手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作(例如游戏应用中的各种技能)。在此,
可以一只手的操作范围为整个应用窗口,另一只手的操作范围为所述应用窗口中的固定按钮;也可以两只手的操作范围分别为所述应用窗口中的两个固定按钮;还可以两只手的操作范围分别位于所述应用窗口的左右两侧;还可以两只手的操作范围分别位于所述应用窗口的上下方。在优选的实施例中,所述用户可以根据自己的用手习惯分别设置左右手的操作范围。For example, referring to FIG. 2(b) or FIG. 2(d), the user can control the target object (for example, a person in a game application) by two-hand operation, wherein one hand controls the target by the moving operation. The moving state of the object, the other hand controls the pending operation of the target object (for example, various skills in the game application) by a touch operation on the touch object. here,
The operation range of one hand can be the entire application window, the operation range of the other hand is a fixed button in the application window; or the operation range of the two hands is respectively two fixed buttons in the application window; It is also possible that the operating ranges of the two hands are respectively located on the left and right sides of the application window; and the operating ranges of the two hands are respectively located above and below the application window. In a preferred embodiment, the user can set the operating range of the left and right hands according to his own hand habits.
更优选地,所述移动操作对应的操作位置与所述触控对象对应的操作区域分别位于所述应用窗口的两侧。More preferably, the operation area corresponding to the moving operation and the operation area corresponding to the touch object are respectively located on both sides of the application window.
例如,所述用户两只手的操作范围分别位于所述应用窗口的左右两侧。所述用户的左手通过所述移动操作控制所述目标对象的移动状态,所述用户的右手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作;或者,所述用户的右手通过所述移动操作控制所述目标对象的移动状态,所述用户的左手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作。在优选的实施例中,所述用户可以根据自己的用手习惯设置左手或右手控制所述目标对象的移动状态,以及右手或左手控制所述目标对象的待执行操作。For example, the operating ranges of the two hands of the user are respectively located on the left and right sides of the application window. The left hand of the user controls a moving state of the target object by the moving operation, and the right hand of the user controls an operation to be performed of the target object by a touch operation on the touch object; or the user's The right hand controls the movement state of the target object by the moving operation, and the left hand of the user controls an operation to be performed of the target object by a touch operation on the touch object. In a preferred embodiment, the user can set the left or right hand to control the movement state of the target object according to his own hand habit, and control the pending operation of the target object by the right hand or the left hand.
图3示出根据本申请另一个实施例的一种用于取消待执行操作的方法流程图,该方法包括步骤S26和步骤S27。FIG. 3 illustrates a flow chart of a method for canceling an operation to be performed according to another embodiment of the present application, the method including step S26 and step S27.
具体地,步骤S26中,装置2根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;步骤S27中,装置2若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。Specifically, in step S26, the device 2 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding to-be-executed operation; In step S27, the device 2 cancels the triggering operation of the cancel button corresponding to the touch object by the device 2, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
在此,所述装置2包括但不限于用户设备、或用户设备与网络设备通过网络相集成所构成的装置。所述用户设备其包括但不限于任何一种可与用户通过触摸板进行人机交互的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。
所述网络设备其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,装置2还可以是运行于所述用户设备、或用户设备与网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的装置上的脚本程序。当然,本领域技术人员应能理解上述装置2仅为举例,其他现有的或今后可能出现的装置2如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Here, the device 2 includes, but is not limited to, a user equipment, or a device formed by integrating a user equipment and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more.
The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device 2 may also be a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network. Of course, those skilled in the art should understand that the above device 2 is only an example, and other existing or future devices 2 may be applicable to the present application, and are also included in the scope of the present application, and are hereby incorporated by reference. Included here.
步骤S26中,装置2根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作。In step S26, the device 2 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
例如,可以在用户设备(包括但不限于智能手机、平板电脑等)的触摸屏上全屏显示所述应用窗口,也可以非全屏显示所述应用窗口;在AR(Augmented Reality,增强现实)、VR(Virtual Reality,虚拟现实)等场景中,也可以通过投影或其他方式显示所述应用窗口。所述触控对象可以包括操作区域和/或操作按钮。For example, the application window may be displayed in full screen on a touch screen of a user equipment (including but not limited to a smart phone, a tablet, etc.), or the application window may be displayed in a non-full screen; in AR (Augmented Reality), VR ( In a scenario such as Virtual Reality, virtual reality, the application window can also be displayed by projection or other means. The touch object may include an operation area and/or an operation button.
如图4所示,所述触控对象包括操作区域和操作按钮,且操作按钮位于操作区域内。所述用户可以通过触摸操作控制操作按钮的方向、位置等,从而确定对应的待执行操作。As shown in FIG. 4, the touch object includes an operation area and an operation button, and the operation button is located in the operation area. The user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
若将本申请应用于游戏应用中,所述待执行操作可以包括游戏人物的各种技能,例如:技能释放、闪现、插眼、信号发送、传送等。在一个实施例中,所述用户点击游戏应用的应用窗口中一个技能图标后,显示所述触控对象及所述取消按钮,然后根据所述用户对所述触控对象的触摸操作确定所述待执行操作(例如技能释放的方向等)。If the present application is applied to a game application, the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like. In one embodiment, after the user clicks on a skill icon in the application window of the game application, the touch object and the cancel button are displayed, and then the user is determined according to the touch operation of the touch object by the user. The action to be performed (for example, the direction in which the skill is released, etc.).
优选地,所述触控对象对应的操作区域及取消按钮分别位于所述应用窗口的两侧。Preferably, the operation area and the cancel button corresponding to the touch object are respectively located at two sides of the application window.
例如,所述取消按钮位于所述应用窗口的左侧,所述操作区域位于所
述应用窗口的右侧;或者,所述取消按钮位于所述应用窗口的右侧,所述操作区域位于所述应用窗口的左侧。在优选的实施例中,所述用户可以根据自己的用手习惯分别设置所述取消按钮及所述操作区域的位置。For example, the cancel button is located on the left side of the application window, and the operation area is located at the
The right side of the application window; or, the cancel button is located on the right side of the application window, and the operation area is located on the left side of the application window. In a preferred embodiment, the user can set the cancel button and the position of the operating area according to his own hand habits.
步骤S27中,装置2若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。In step S27, the device 2 cancels the triggering operation of the cancel button corresponding to the touch object by the device 2, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
例如,所述用户通过对所述触控对象的触摸操作确定所述待执行操作之后,若想取消所述待执行操作,所述用户可以一只手保持长按所述操作区域,通过另一只手对所述取消按钮的触发操作(例如点击所述取消按钮)来达到取消所述待执行操作的目的。For example, after the user determines the to-be-executed operation by a touch operation on the touch object, if the user wants to cancel the to-be-executed operation, the user may keep pressing the operation area with one hand and pass another The purpose of canceling the to-be-executed operation is achieved by only the triggering operation of the cancel button (for example, clicking the cancel button).
图5示出根据本申请一个实施例的一种用于取消待执行操作的装置1,其中,所述装置1包括第一模块11和第二模块12。FIG. 5 shows an apparatus 1 for canceling an operation to be performed according to an embodiment of the present application, wherein the apparatus 1 includes a first module 11 and a second module 12.
具体地,所述第一模块11根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;所述第二模块12当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。Specifically, the first module 11 determines a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user; the second module 12 stops when the touch operation stops, and the touch operation stops. The location is outside the operation area corresponding to the touch object, and the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
在此,所述装置1包括但不限于用户设备、或用户设备与网络设备通过网络相集成所构成的装置。所述用户设备其包括但不限于任何一种可与用户通过触摸板进行人机交互的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。所述网络设备其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,装置1还可以是运行于所述用户设备、或用户设备与网
络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的装置上的脚本程序。当然,本领域技术人员应能理解上述装置1仅为举例,其他现有的或今后可能出现的装置1如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Here, the device 1 includes, but is not limited to, a user equipment, or a device in which a user equipment and a network device are integrated through a network. The user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more. The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device 1 may also be running on the user equipment, or user equipment and network
A script program on a device formed by a network device, a touch terminal, or a network device integrated with a touch terminal through a network. Of course, those skilled in the art should understand that the above-mentioned device 1 is only an example, and other existing or future devices 1 may be applicable to the present application, and are also included in the scope of the present application, and are hereby incorporated by reference. Included here.
所述第一模块11根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作。The first module 11 determines a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user.
例如,可以在用户设备(包括但不限于智能手机、平板电脑等)的触摸屏上全屏显示所述应用窗口,也可以非全屏显示所述应用窗口;在AR(Augmented Reality,增强现实)、VR(Virtual Reality,虚拟现实)等场景中,也可以通过投影或其他方式显示所述应用窗口。所述触控对象可以包括操作区域和/或操作按钮。For example, the application window may be displayed in full screen on a touch screen of a user equipment (including but not limited to a smart phone, a tablet, etc.), or the application window may be displayed in a non-full screen; in AR (Augmented Reality), VR ( In a scenario such as Virtual Reality, virtual reality, the application window can also be displayed by projection or other means. The touch object may include an operation area and/or an operation button.
如图2所示,所述触控对象包括操作区域和操作按钮,且操作按钮位于操作区域内。所述用户可以通过触摸操作控制操作按钮的方向、位置等,从而确定对应的待执行操作。As shown in FIG. 2, the touch object includes an operation area and an operation button, and the operation button is located in the operation area. The user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
若将本申请应用于游戏应用中,所述待执行操作可以包括游戏人物的各种技能,例如:技能释放、闪现、插眼、信号发送、传送等。在一个实施例中,所述用户点击游戏应用的应用窗口中一个技能图标后,显示所述触控对象(包括操作区域和/或操作按钮),然后根据所述用户对所述触控对象的触摸操作确定所述待执行操作(例如技能释放的方向等)。If the present application is applied to a game application, the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like. In one embodiment, after the user clicks on a skill icon in the application window of the game application, the touch object (including an operation area and/or an operation button) is displayed, and then the user touches the touch object according to the user. The touch operation determines the operation to be performed (for example, the direction in which the skill is released, etc.).
优选地,所述第一模块11根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象,并确定对应的待执行操作。Preferably, the first module 11 displays the touch object in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
例如,所述触控对象可以包括操作区域和/或操作按钮。在此,可以开始时仅在所述应用窗口中显示操作按钮,所述用户触摸该操作按钮后显示操作区域;也可以开始时仅在所述应用窗口中显示操作区域,所述用户触摸该操作区域后显示操作按钮。For example, the touch object can include an operating area and/or an operating button. Here, the operation button may be displayed only in the application window when the user touches the operation button; the operation area may be displayed only in the application window at the beginning, and the user touches the operation. The action button is displayed after the area.
优选地,在所述应用窗口中显示所述触控对象,包括以下至少任一项:在所述应用窗口中显示所述触控对象对应的操作区域;在所述应用窗口中显示所述触控对象对应的操作按钮。Preferably, the touch object is displayed in the application window, including at least one of: displaying an operation area corresponding to the touch object in the application window; displaying the touch in the application window The operation button corresponding to the control object.
例如,可以当所述用户点击游戏应用的应用窗口中一个技能图标后,
显示操作区域和/或操作按钮;也可以开始时即在所述应用窗口中显示操作区域和/或操作按钮。For example, after the user clicks on a skill icon in the application window of the game application,
The operating area and/or the operating button are displayed; the operating area and/or the operating button can also be displayed in the application window at the beginning.
所述第二模块12当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。The second module 12 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation is stopped. Keep touching the application window before.
例如,参照图2(a)或图2(b),若所述用户触摸用户设备(包括但不限于智能手机、平板电脑等)屏幕的手指移出该操作区域,且所述触摸操作停止,则取消所述待执行操作。For example, referring to FIG. 2(a) or FIG. 2(b), if the user touches a finger of a user equipment (including but not limited to a smartphone, a tablet, etc.) screen to move out of the operation area, and the touch operation is stopped, then Cancel the pending operation.
优选地,所述触摸操作停止包括以下至少任一项:所述触摸操作被释放;所述触摸操作在当前位置的压力信息大于按压力量阈值。Preferably, the stopping of the touch operation comprises at least one of the following: the touch operation is released; the pressure information of the touch operation at the current position is greater than the pressing force threshold.
例如,所述触摸操作被释放可以包括:所述用户抬起触摸用户设备屏幕的手指;所述触摸操作在当前位置的压力信息大于按压力量阈值可以包括:所述用户的手指加大触摸用户设备屏幕的压力至大于按压力量阈值。此外,所述触摸操作停止还可以包括:所述触摸操作在当前位置停留时长超过长按时间阈值,即,所述用户触摸用户设备屏幕的手指一直停留在一个坐标位置的时长超过长按时间阈值。For example, the releasing the touch operation may include: the user lifting a finger touching the screen of the user equipment; the pressure information of the touch operation at the current location is greater than the pressing force threshold may include: the user's finger increases the touch user device The pressure on the screen is greater than the pressing force threshold. In addition, the stopping of the touch operation may further include: the duration of the touch operation staying at the current location exceeds a long press time threshold, that is, the duration of the user's finger touching the user equipment screen staying at a coordinate position exceeds the long press time threshold. .
优选地,所述第二模块12当所述触摸操作停止,检测所述触摸操作停止的当前位置是否位于所述触控对象对应的操作区域之外,其中,所述触摸操作在停止前保持触摸所述应用窗口;若是,取消所述待执行操作。Preferably, the second module 12 detects whether the current position where the touch operation is stopped is outside the operation area corresponding to the touch object when the touch operation is stopped, wherein the touch operation keeps the touch before stopping. The application window; if yes, cancel the to-be-executed operation.
例如,参照图2(a)或图2(b),当用户设备的触摸屏感应到所述触摸操作停止,检测所述当前位置(例如所述用户抬起手指的位置)是否位于所述操作区域之外,若是,则取消所述待执行操作。For example, referring to FIG. 2(a) or FIG. 2(b), when the touch screen of the user equipment senses that the touch operation is stopped, detecting whether the current location (eg, the location where the user lifts the finger) is located in the operation area In addition, if yes, the pending operation is cancelled.
优选地,所述第二模块12当所述触摸操作停止,且所述触摸操作停止的当前位置位于对应的操作取消区域,取消所述待执行操作,其中,所述操作取消区域与所述触控对象对应的操作区域相分离,所述触摸操作在停止前保持触摸所述应用窗口。Preferably, the second module 12 cancels the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is located in a corresponding operation canceling area, wherein the operation canceling area and the touch The operation areas corresponding to the control objects are separated, and the touch operation keeps touching the application window before stopping.
例如,参照图2(c)或图2(d),所述操作取消区域位于所述操作区域之外;若所述用户触摸用户设备屏幕的手指移出所述操作区域且移至所述操作取消区域(即所述当前位置),所述触摸操作停止,则取消所述待
执行操作。For example, referring to FIG. 2(c) or FIG. 2(d), the operation cancellation area is located outside the operation area; if the user touches the finger of the user equipment screen and moves out of the operation area and moves to the operation cancellation The area (ie, the current location), the touch operation is stopped, then the waiting is cancelled
Perform the operation.
优选地,所述装置1还包括第三模块(图中未示出);所述第三模块当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域内,执行所述待执行操作。Preferably, the device 1 further includes a third module (not shown); the third module is when the touch operation is stopped, and the current position where the touch operation is stopped is located in the operation corresponding to the touch object. In the area, the to-be-executed operation is performed.
例如,若所述用户触摸用户设备屏幕的手指未移出所述操作区域,即所述当前位置位于所述操作区域内,所述触控操作停止,则执行所述待执行操作。For example, if the user touches the user equipment screen and the finger does not move out of the operation area, that is, the current position is located in the operation area, and the touch operation is stopped, the to-be-executed operation is performed.
优选地,所述待执行操作由目标对象执行;其中,所述装置1还包括第四模块(图中未示出)和第五模块(图中未示出);所述第四模块获取所述用户对所述目标对象的移动操作;所述第五模块根据所述移动操作,确定所述目标对象的移动状态。Preferably, the to-be-executed operation is performed by a target object; wherein the apparatus 1 further includes a fourth module (not shown) and a fifth module (not shown); the fourth module acquires Determining a movement operation of the target object by the user; the fifth module determines a movement state of the target object according to the movement operation.
例如,参照图2(b)或图2(d),所述用户可以通过双手操作控制所述目标对象(例如游戏应用中的人物),其中,一只手通过所述移动操作控制所述目标对象的移动状态,另一只手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作(例如游戏应用中的各种技能)。在此,可以一只手的操作范围为整个应用窗口,另一只手的操作范围为所述应用窗口中的固定按钮;也可以两只手的操作范围分别为所述应用窗口中的两个固定按钮;还可以两只手的操作范围分别位于所述应用窗口的左右两侧;还可以两只手的操作范围分别位于所述应用窗口的上下方。在优选的实施例中,所述用户可以根据自己的用手习惯分别设置左右手的操作范围。For example, referring to FIG. 2(b) or FIG. 2(d), the user can control the target object (for example, a person in a game application) by two-hand operation, wherein one hand controls the target by the moving operation. The moving state of the object, the other hand controls the pending operation of the target object (for example, various skills in the game application) by a touch operation on the touch object. Here, the operation range of one hand may be the entire application window, the operation range of the other hand is a fixed button in the application window; or the operation range of the two hands may be two of the application windows respectively. The button is fixed; the operating range of the two hands is respectively located on the left and right sides of the application window; and the operating ranges of the two hands are respectively located above and below the application window. In a preferred embodiment, the user can set the operating range of the left and right hands according to his own hand habits.
更优选地,所述移动操作对应的操作位置与所述触控对象对应的操作区域分别位于所述应用窗口的两侧。More preferably, the operation area corresponding to the moving operation and the operation area corresponding to the touch object are respectively located on both sides of the application window.
例如,所述用户两只手的操作范围分别位于所述应用窗口的左右两侧。所述用户的左手通过所述移动操作控制所述目标对象的移动状态,所述用户的右手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作;或者,所述用户的右手通过所述移动操作控制所述目标对象的移动状态,所述用户的左手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作。在优选的实施例中,所述用户可以根据自己的用手习惯设置左手或右手控制所述目标对象的移动状态,以及右手或左手控制所述目标
对象的待执行操作。For example, the operating ranges of the two hands of the user are respectively located on the left and right sides of the application window. The left hand of the user controls a moving state of the target object by the moving operation, and the right hand of the user controls an operation to be performed of the target object by a touch operation on the touch object; or the user's The right hand controls the movement state of the target object by the moving operation, and the left hand of the user controls an operation to be performed of the target object by a touch operation on the touch object. In a preferred embodiment, the user can set the left or right hand to control the movement state of the target object according to his own hand habit, and control the target by the right hand or the left hand.
The pending action of the object.
图6示出根据本申请另一个实施例的一种用于取消待执行操作的装置2,其中,所述装置2包括第六模块26和第七模块27。FIG. 6 shows an apparatus 2 for canceling an operation to be performed according to another embodiment of the present application, wherein the apparatus 2 includes a sixth module 26 and a seventh module 27.
具体地,所述第六模块26根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;所述第七模块27若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。Specifically, the sixth module 26 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding to-be-executed operation; The seventh module 27 cancels the triggering operation of the cancel button corresponding to the touch object by the user, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
在此,所述装置2包括但不限于用户设备、或用户设备与网络设备通过网络相集成所构成的装置。所述用户设备其包括但不限于任何一种可与用户通过触摸板进行人机交互的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(ASIC)、可编程门阵列(FPGA)、数字处理器(DSP)、嵌入式设备等。所述网络设备其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,装置2还可以是运行于所述用户设备、或用户设备与网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的装置上的脚本程序。当然,本领域技术人员应能理解上述装置2仅为举例,其他现有的或今后可能出现的装置2如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Here, the device 2 includes, but is not limited to, a user equipment, or a device formed by integrating a user equipment and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product that can interact with a user through a touchpad, such as a smart phone, a tablet computer, etc., and the mobile electronic product can adopt any operating system, such as an android operating system. , iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to an instruction set or stored in advance, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), and a programmable gate. Arrays (FPGAs), digital processors (DSPs), embedded devices, and more. The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a plurality of servers; wherein the cloud is composed of a large number of computers or network servers based on Cloud Computing Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computers. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device 2 may also be a script program running on the user equipment, or a user equipment and a network device, a touch terminal, or a device formed by integrating a network device and a touch terminal through a network. Of course, those skilled in the art should understand that the above device 2 is only an example, and other existing or future devices 2 may be applicable to the present application, and are also included in the scope of the present application, and are hereby incorporated by reference. Included here.
所述第六模块26根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作。The sixth module 26 displays an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determines a corresponding operation to be performed.
例如,可以在用户设备(包括但不限于智能手机、平板电脑等)的触
摸屏上全屏显示所述应用窗口,也可以非全屏显示所述应用窗口;在AR(Augmented Reality,增强现实)、VR(Virtual Reality,虚拟现实)等场景中,也可以通过投影或其他方式显示所述应用窗口。所述触控对象可以包括操作区域和/或操作按钮。For example, it can be touched on user devices (including but not limited to smartphones, tablets, etc.)
The application window may be displayed in full screen on the touch screen, and the application window may be displayed in a non-full screen; in an scene such as AR (Augmented Reality), VR (Virtual Reality), etc., it may also be displayed by projection or other means. The application window. The touch object may include an operation area and/or an operation button.
如图4所示,所述触控对象包括操作区域和操作按钮,且操作按钮位于操作区域内。所述用户可以通过触摸操作控制操作按钮的方向、位置等,从而确定对应的待执行操作。As shown in FIG. 4, the touch object includes an operation area and an operation button, and the operation button is located in the operation area. The user can control the direction, position, and the like of the operation button by a touch operation, thereby determining a corresponding operation to be performed.
若将本申请应用于游戏应用中,所述待执行操作可以包括游戏人物的各种技能,例如:技能释放、闪现、插眼、信号发送、传送等。在一个实施例中,所述用户点击游戏应用的应用窗口中一个技能图标后,显示所述触控对象及所述取消按钮,然后根据所述用户对所述触控对象的触摸操作确定所述待执行操作(例如技能释放的方向等)。If the present application is applied to a game application, the to-be-executed operations may include various skills of the game character, such as skill release, flash, eye insertion, signaling, transmission, and the like. In one embodiment, after the user clicks on a skill icon in the application window of the game application, the touch object and the cancel button are displayed, and then the user is determined according to the touch operation of the touch object by the user. The action to be performed (for example, the direction in which the skill is released, etc.).
优选地,所述触控对象对应的操作区域及取消按钮分别位于所述应用窗口的两侧。Preferably, the operation area and the cancel button corresponding to the touch object are respectively located at two sides of the application window.
例如,所述取消按钮位于所述应用窗口的左侧,所述操作区域位于所述应用窗口的右侧;或者,所述取消按钮位于所述应用窗口的右侧,所述操作区域位于所述应用窗口的左侧。在优选的实施例中,所述用户可以根据自己的用手习惯分别设置所述取消按钮及所述操作区域的位置。For example, the cancel button is located on the left side of the application window, the operation area is located on the right side of the application window; or the cancel button is located on the right side of the application window, and the operation area is located in the The left side of the application window. In a preferred embodiment, the user can set the cancel button and the position of the operating area according to his own hand habits.
所述第七模块27若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。The seventh module 27 cancels the triggering operation of the cancel button corresponding to the touch object by the user, and cancels the to-be-executed operation, wherein the touch operation keeps touching the application window before stopping.
例如,所述用户通过对所述触控对象的触摸操作确定所述待执行操作之后,若想取消所述待执行操作,所述用户可以一只手保持长按所述操作区域,通过另一只手对所述取消按钮的触发操作(例如点击所述取消按钮)来达到取消所述待执行操作的目的。For example, after the user determines the to-be-executed operation by a touch operation on the touch object, if the user wants to cancel the to-be-executed operation, the user may keep pressing the operation area with one hand and pass another The purpose of canceling the to-be-executed operation is achieved by only the triggering operation of the cancel button (for example, clicking the cancel button).
根据本申请的又一个方面,提供了一种包括指令的计算机可读存储介质,所述指令在被执行时使得系统进行以下操作:In accordance with still another aspect of the present application, a computer readable storage medium comprising instructions that, when executed, cause a system to:
根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;
当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控
对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is located at the touch
The operation to be performed is canceled outside the operation area corresponding to the object, wherein the touch operation keeps touching the application window before stopping.
根据本申请的又一个方面,提供了一种包括指令的计算机可读存储介质,所述指令在被执行时使得系统进行以下操作:In accordance with still another aspect of the present application, a computer readable storage medium comprising instructions that, when executed, cause a system to:
根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;
若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
根据本申请的又一个方面,提供了一种用于取消待执行操作的设备,其中,该设备包括:According to still another aspect of the present application, an apparatus for canceling an operation to be performed is provided, wherein the apparatus includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;
当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
根据本申请的又一个方面,提供了一种用于取消待执行操作的设备,其中,该设备包括:According to still another aspect of the present application, an apparatus for canceling an operation to be performed is provided, wherein the apparatus includes:
处理器;以及Processor;
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:
根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;
若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
与现有技术相比,本申请根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作,当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,从
而为用户提供一种可以方便快捷地取消所述待执行操作的方式,提升用户体验。进一步地,本申请中,所述待执行操作由目标对象执行,所述用户可以一只手通过移动操作控制所述目标对象的移动状态,另一只手通过对所述触控对象的触摸操作控制所述目标对象的待执行操作,所述用户在双手操作的模式下,也可以在需要时便捷地取消所述待执行操作。Compared with the prior art, the present application determines a corresponding to-be-executed operation according to a user's touch operation on the touch object in the application window, when the touch operation is stopped, and the current position where the touch operation is stopped is located in the touch Except the operation area corresponding to the object, cancel the pending operation, from
The user is provided with a way to cancel the operation to be performed conveniently and quickly, thereby improving the user experience. Further, in the present application, the to-be-executed operation is performed by a target object, and the user may control a moving state of the target object by a mobile operation by one hand, and a touch operation on the touch object by another hand The operation to be performed of the target object is controlled, and the user can conveniently cancel the to-be-executed operation when needed in the mode of two-hand operation.
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。而调用本申请的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。In addition, a portion of the present application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or technical solution in accordance with the present application. The program instructions for invoking the method of the present application may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run. Herein, an embodiment in accordance with the present application includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering The apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present application.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软
件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in this application. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. The plurality of units or devices recited in the device claims may also be softened by a unit or device.
Or hardware to achieve. The first, second, etc. words are used to denote names and do not denote any particular order.
Claims (26)
- 一种用于取消待执行操作的方法,其中,该方法包括:A method for canceling an operation to be performed, wherein the method comprises:a根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;a determining a corresponding pending operation according to a touch operation of the touch object in the application window by the user;b当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。b canceling the to-be-executed operation when the touch operation is stopped and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation keeps touching the touch before stopping Application window.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域内,执行所述待执行操作。When the touch operation is stopped, and the current position where the touch operation is stopped is located in an operation area corresponding to the touch object, the to-be-executed operation is performed.
- 根据权利要求1或2所述的方法,其中,所述触摸操作停止包括以下至少任一项:The method according to claim 1 or 2, wherein the stopping of the touch operation comprises at least one of the following:所述触摸操作被释放;The touch operation is released;所述触摸操作在当前位置的压力信息大于按压力量阈值。The pressure information of the touch operation at the current position is greater than the pressing force threshold.
- 根据权利要求1至3中任一项所述的方法,其中,所述步骤b包括:The method according to any one of claims 1 to 3, wherein the step b comprises:当所述触摸操作停止,检测所述触摸操作停止的当前位置是否位于所述触控对象对应的操作区域之外,其中,所述触摸操作在停止前保持触摸所述应用窗口;When the touch operation is stopped, detecting whether the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation keeps touching the application window before stopping;若是,取消所述待执行操作。If yes, cancel the pending operation.
- 根据权利要求1至4中任一项所述的方法,其中,所述步骤a包括:The method according to any one of claims 1 to 4, wherein the step a comprises:根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象,并确定对应的待执行操作。Displaying the touch object in the application window according to a touch operation of the touch object in the application window, and determining a corresponding operation to be performed.
- 根据权利要求5所述的方法,其中,所述在所述应用窗口中显示所述触控对象包括以下至少任一项:The method of claim 5, wherein the displaying the touch object in the application window comprises at least one of the following:在所述应用窗口中显示所述触控对象对应的操作区域;Displaying an operation area corresponding to the touch object in the application window;在所述应用窗口中显示所述触控对象对应的操作按钮。Displaying an operation button corresponding to the touch object in the application window.
- 根据权利要求1至6中任一项所述的方法,其中,所述步骤b包括:The method according to any one of claims 1 to 6, wherein said step b comprises:当所述触摸操作停止,且所述触摸操作停止的当前位置位于对应的操作取消区域,取消所述待执行操作,其中,所述操作取消区域与所述触控对象对应的操作区域相分离,所述触摸操作在停止前保持触摸所述应用窗 口。When the touch operation is stopped, and the current position where the touch operation is stopped is located in the corresponding operation cancellation area, the operation to be performed is canceled, wherein the operation cancellation area is separated from the operation area corresponding to the touch object, The touch operation keeps touching the application window before stopping mouth.
- 根据权利要求1至7中任一项所述的方法,其中,所述待执行操作由目标对象执行;The method according to any one of claims 1 to 7, wherein the to-be-executed operation is performed by a target object;其中,所述方法还包括:The method further includes:获取所述用户对所述目标对象的移动操作;Obtaining a movement operation of the target object by the user;根据所述移动操作,确定所述目标对象的移动状态。A movement state of the target object is determined according to the moving operation.
- 根据权利要求8所述的方法,其中,所述移动操作对应的操作位置与所述触控对象对应的操作区域分别位于所述应用窗口的两侧。The method according to claim 8, wherein the operation area corresponding to the moving operation and the operation area corresponding to the touch object are respectively located on both sides of the application window.
- 一种用于取消待执行操作的方法,其中,该方法包括:A method for canceling an operation to be performed, wherein the method comprises:根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- 根据权利要求10所述的方法,其中,所述触控对象对应的操作区域及取消按钮分别位于所述应用窗口的两侧。The method according to claim 10, wherein the operation area corresponding to the touch object and the cancel button are respectively located at two sides of the application window.
- 一种用于取消待执行操作的装置,其中,该装置包括:A device for canceling an operation to be performed, wherein the device comprises:第一模块,用于根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;a first module, configured to determine, according to a touch operation of the touch object in the application window, a corresponding to-be-executed operation;第二模块,用于当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。a second module, configured to cancel the to-be-executed operation when the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, where the touch operation is stopped Keep touching the application window before.
- 根据权利要求12所述的装置,其中,所述装置还包括:The device of claim 12, wherein the device further comprises:第三模块,用于当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域内,执行所述待执行操作。And a third module, configured to: when the touch operation is stopped, and the current location where the touch operation is stopped is located in an operation area corresponding to the touch object, and the to-be-executed operation is performed.
- 根据权利要求12或13所述的装置,其中,所述触摸操作停止包括以下至少任一项:The apparatus according to claim 12 or 13, wherein the stop of the touch operation comprises at least one of the following:所述触摸操作被释放;The touch operation is released;所述触摸操作在当前位置的压力信息大于按压力量阈值。The pressure information of the touch operation at the current position is greater than the pressing force threshold.
- 根据权利要求12至14中任一项所述的装置,其中,所述第二模 块用于:Apparatus according to any one of claims 12 to 14, wherein said second mode The block is used to:当所述触摸操作停止,检测所述触摸操作停止的当前位置是否位于所述触控对象对应的操作区域之外,其中,所述触摸操作在停止前保持触摸所述应用窗口;When the touch operation is stopped, detecting whether the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, wherein the touch operation keeps touching the application window before stopping;若是,取消所述待执行操作。If yes, cancel the pending operation.
- 根据权利要求12至15中任一项所述的装置,其中,所述第一模块用于:Apparatus according to any one of claims 12 to 15 wherein said first module is for:根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象,并确定对应的待执行操作。Displaying the touch object in the application window according to a touch operation of the touch object in the application window, and determining a corresponding operation to be performed.
- 根据权利要求16所述的装置,其中,所述在所述应用窗口中显示所述触控对象包括以下至少任一项:The device according to claim 16, wherein the displaying the touch object in the application window comprises at least one of the following:在所述应用窗口中显示所述触控对象对应的操作区域;Displaying an operation area corresponding to the touch object in the application window;在所述应用窗口中显示所述触控对象对应的操作按钮。Displaying an operation button corresponding to the touch object in the application window.
- 根据权利要求12至17中任一项所述的装置,其中,所述第二模块用于:Apparatus according to any one of claims 12 to 17, wherein said second module is for:当所述触摸操作停止,且所述触摸操作停止的当前位置位于对应的操作取消区域,取消所述待执行操作,其中,所述操作取消区域与所述触控对象对应的操作区域相分离,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is located in the corresponding operation cancellation area, the operation to be performed is canceled, wherein the operation cancellation area is separated from the operation area corresponding to the touch object, The touch operation remains touching the application window before stopping.
- 根据权利要求12至18中任一项所述的装置,其中,所述待执行操作由目标对象执行;The apparatus according to any one of claims 12 to 18, wherein the operation to be performed is performed by a target object;其中,所述装置还包括:Wherein, the device further comprises:第四模块,用于获取所述用户对所述目标对象的移动操作;a fourth module, configured to acquire a moving operation of the user on the target object;第五模块,用于根据所述移动操作,确定所述目标对象的移动状态。And a fifth module, configured to determine a moving state of the target object according to the moving operation.
- 根据权利要求19所述的装置,其中,所述移动操作对应的操作位置与所述触控对象对应的操作区域分别位于所述应用窗口的两侧。The device according to claim 19, wherein the operation position corresponding to the moving operation and the operation area corresponding to the touch object are respectively located at two sides of the application window.
- 一种用于取消待执行操作的装置,其中,该装置包括:A device for canceling an operation to be performed, wherein the device comprises:第六模块,用于根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的 待执行操作;a sixth module, configured to display an operation area corresponding to the touch object and a cancel button in the application window according to a touch operation of the touch object in the application window, and determine a corresponding Pending operation;第七模块,用于若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And a seventh module, configured to cancel the to-be-executed operation if the triggering operation of the cancellation button corresponding to the touch object by the user is obtained, wherein the touch operation keeps touching the application window before stopping.
- 根据权利要求21所述的装置,其中,所述触控对象对应的操作区域及取消按钮分别位于所述应用窗口的两侧。The device according to claim 21, wherein the operation area and the cancel button corresponding to the touch object are respectively located at two sides of the application window.
- 一种包括指令的计算机可读存储介质,所述指令在被执行时使得系统进行以下操作:A computer readable storage medium comprising instructions that, when executed, cause a system to:根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
- 一种包括指令的计算机可读存储介质,所述指令在被执行时使得系统进行以下操作:A computer readable storage medium comprising instructions that, when executed, cause a system to:根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
- 一种用于取消待执行操作的设备,其中,该设备包括:A device for canceling an operation to be performed, wherein the device includes:处理器;以及Processor;被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer executable instructions that, when executed, cause the processor to:根据用户对应用窗口中触控对象的触摸操作,确定对应的待执行操作;Determining a corresponding to-be-executed operation according to a touch operation of the touch object in the application window by the user;当所述触摸操作停止,且所述触摸操作停止的当前位置位于所述触控对象对应的操作区域之外,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。When the touch operation is stopped, and the current position where the touch operation is stopped is outside the operation area corresponding to the touch object, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application before stopping window.
- 一种用于取消待执行操作的设备,其中,该设备包括:A device for canceling an operation to be performed, wherein the device includes:处理器;以及Processor;被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行 时使所述处理器:A memory arranged to store computer executable instructions that are executed When the processor is:根据用户对应用窗口中触控对象的触摸操作,在所述应用窗口中显示所述触控对象对应的操作区域及取消按钮,并确定对应的待执行操作;Displaying, according to a touch operation of the touch object in the application window, an operation area corresponding to the touch object and a cancel button in the application window, and determining a corresponding operation to be performed;若获取所述用户对所述触控对象对应的取消按钮的触发操作,取消所述待执行操作,其中,所述触摸操作在停止前保持触摸所述应用窗口。 And if the triggering operation of the cancel button corresponding to the touch object is obtained by the user, the to-be-executed operation is canceled, wherein the touch operation keeps touching the application window before stopping.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710060943.7A CN106648381A (en) | 2017-01-25 | 2017-01-25 | Method and device for cancelling pending-to-be executed operation |
CN201710060943.7 | 2017-01-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018137399A1 true WO2018137399A1 (en) | 2018-08-02 |
Family
ID=58841571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/113599 WO2018137399A1 (en) | 2017-01-25 | 2017-11-29 | Method and apparatus for cancelling operation to be executed |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106648381A (en) |
WO (1) | WO2018137399A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11269497B2 (en) * | 2017-06-21 | 2022-03-08 | Netease (Hangzhou) Network Co., Ltd. | Information processing method for cancelling release of a skill in a game, apparatus, electronic device and storage medium |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648381A (en) * | 2017-01-25 | 2017-05-10 | 上海逗屋网络科技有限公司 | Method and device for cancelling pending-to-be executed operation |
CN107301012B (en) * | 2017-06-19 | 2020-11-06 | 上海逗屋网络科技有限公司 | Method and equipment for displaying description information of operation instruction in application |
CN107463303A (en) * | 2017-07-03 | 2017-12-12 | 深圳市金立通信设备有限公司 | A kind of false-touch prevention method and terminal |
CN107479749B (en) | 2017-08-08 | 2019-09-27 | 腾讯科技(成都)有限公司 | Control method and device, mobile terminal and readable storage medium storing program for executing based on touch screen |
CN109550240A (en) * | 2018-09-20 | 2019-04-02 | 厦门吉比特网络技术股份有限公司 | A kind of the technical ability method for releasing and device of game |
CN111338557B (en) * | 2020-02-25 | 2021-07-09 | 网易(杭州)网络有限公司 | Method and device for canceling and releasing game skills |
CN111625297A (en) * | 2020-05-28 | 2020-09-04 | Oppo广东移动通信有限公司 | Application program display method, terminal and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978106A (en) * | 2014-04-10 | 2015-10-14 | 宏达国际电子股份有限公司 | Method And Device For Managing Information |
CN105426074A (en) * | 2015-10-29 | 2016-03-23 | 上海救要救信息科技有限公司 | Method and system for cancelling misoperation |
CN106201321A (en) * | 2016-07-29 | 2016-12-07 | 维沃移动通信有限公司 | A kind of application control method and mobile terminal |
CN106648381A (en) * | 2017-01-25 | 2017-05-10 | 上海逗屋网络科技有限公司 | Method and device for cancelling pending-to-be executed operation |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103235692A (en) * | 2013-03-28 | 2013-08-07 | 中兴通讯股份有限公司 | Touch-screen device and method for touch-screen device to select target objects |
CN105677226B (en) * | 2016-01-11 | 2018-05-29 | 广东欧珀移动通信有限公司 | A kind of operating method and mobile terminal to application program |
-
2017
- 2017-01-25 CN CN201710060943.7A patent/CN106648381A/en active Pending
- 2017-11-29 WO PCT/CN2017/113599 patent/WO2018137399A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978106A (en) * | 2014-04-10 | 2015-10-14 | 宏达国际电子股份有限公司 | Method And Device For Managing Information |
CN105426074A (en) * | 2015-10-29 | 2016-03-23 | 上海救要救信息科技有限公司 | Method and system for cancelling misoperation |
CN106201321A (en) * | 2016-07-29 | 2016-12-07 | 维沃移动通信有限公司 | A kind of application control method and mobile terminal |
CN106648381A (en) * | 2017-01-25 | 2017-05-10 | 上海逗屋网络科技有限公司 | Method and device for cancelling pending-to-be executed operation |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11269497B2 (en) * | 2017-06-21 | 2022-03-08 | Netease (Hangzhou) Network Co., Ltd. | Information processing method for cancelling release of a skill in a game, apparatus, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106648381A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018137399A1 (en) | Method and apparatus for cancelling operation to be executed | |
KR102649254B1 (en) | Display control method, storage medium and electronic device | |
KR102545602B1 (en) | Electronic device and operating method thereof | |
EP3901756B1 (en) | Electronic device including touch sensitive display and method for operating the same | |
US11262895B2 (en) | Screen capturing method and apparatus | |
KR102429740B1 (en) | Method and apparatus for precessing touch event | |
US20160307002A1 (en) | Method and apparatus for displaying information content | |
KR102324083B1 (en) | Method for providing screen magnifying and electronic device thereof | |
CN110069178B (en) | Interface control method and terminal equipment | |
US20210256077A1 (en) | Methods, devices and computer-readable storage media for processing a hosted application | |
US10152220B2 (en) | System and method to control a touchscreen user interface | |
US20150022482A1 (en) | Multi-touch management for touch screen displays | |
AU2013352248A1 (en) | Using clamping to modify scrolling | |
KR102536148B1 (en) | Method and apparatus for operation of an electronic device | |
US20160350136A1 (en) | Assist layer with automated extraction | |
KR102618480B1 (en) | Electronic device and method for operating thereof | |
US9459775B2 (en) | Post-touchdown user invisible tap target size increase | |
KR102553558B1 (en) | Electronic device and method for processing touch event thereof | |
US9684445B2 (en) | Mobile gesture reporting and replay with unresponsive gestures identification and analysis | |
US20210326151A1 (en) | Methods, devices and computer-readable storage media for processing a hosted application | |
TW201617839A (en) | Light dismiss manager | |
KR102607564B1 (en) | Method for displying soft key and electronic device thereof | |
US8874969B2 (en) | Independent hit testing | |
CN111090529B (en) | Information sharing method and electronic equipment | |
CN107678632B (en) | Resource transfer method, terminal and computer readable storage medium |
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: 17893611 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.11.2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17893611 Country of ref document: EP Kind code of ref document: A1 |