WO2016141597A1 - Touch control method, device, terminal and graphical user interface thereof - Google Patents

Touch control method, device, terminal and graphical user interface thereof Download PDF

Info

Publication number
WO2016141597A1
WO2016141597A1 PCT/CN2015/074135 CN2015074135W WO2016141597A1 WO 2016141597 A1 WO2016141597 A1 WO 2016141597A1 CN 2015074135 W CN2015074135 W CN 2015074135W WO 2016141597 A1 WO2016141597 A1 WO 2016141597A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual control
virtual
instruction
movement
touch
Prior art date
Application number
PCT/CN2015/074135
Other languages
French (fr)
Chinese (zh)
Inventor
黄蒸
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/074135 priority Critical patent/WO2016141597A1/en
Publication of WO2016141597A1 publication Critical patent/WO2016141597A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the present invention relates to the field of mobile terminals, and in particular, to a touch method, device, terminal, and graphical user interface on a terminal.
  • the embodiments of the present invention provide a touch control method, a device, and a terminal, which can control a large touch area through user operations in a small area, and help improve the convenience of operating the mobile phone with one hand.
  • a touch method including:
  • the virtual control When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is performed at the position indicated by the position cursor.
  • the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in a display area of the terminal screen and the holding position
  • the method further includes: when receiving the second touch instruction generated by the second touch operation in the virtual operation area, executing the first position at the position indicated by the position cursor The second touch command corresponding to the two touch operations.
  • the method further includes: changing a display position of the virtual operation area in a display area of the terminal screen according to a user input.
  • the method further includes: saving the position of the position cursor as the latest historical position of the position cursor;
  • the displaying the position cursor in the display area of the terminal screen includes: determining whether the latest historical position of the position cursor exists, and if yes, displaying the position cursor in the latest historical position, and if not, at the preset position The position cursor is displayed.
  • the moving instruction is generated by dragging the virtual control
  • the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operating area to a current position of the virtual control.
  • the moving instruction is generated by dragging the virtual control The instruction; the movement rate indicated by the movement instruction includes:
  • the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • the method further includes: in the virtual operation area Monitoring the movement instruction; when the movement instruction is not received in the virtual operation area, moving the virtual control to an initial position of the virtual control in the virtual operation area or the virtual The control remains in a position where the virtual control intersects the edge of the virtual operation area last.
  • the first touch instruction includes: clicking an operation or double-clicking The touch command generated by the operation;
  • the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
  • the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas.
  • An instruction of an operation area the N is a positive integer; the moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, comprising: being operated according to the virtual control The moving direction corresponding to the operating area and the preset rate move the position cursor, and N is a positive integer.
  • a touch device including:
  • An acquiring unit configured to acquire a holding position of the terminal by using a preset sensor
  • a display unit configured to display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive the control a move instruction for the position of the position cursor;
  • a first response unit configured to move the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, in response to the moving instruction, when the moving instruction is received by the virtual control ;
  • a second response unit configured to: when the virtual control receives the first touch command generated by the first touch operation, perform the first corresponding to the first touch operation at the position indicated by the position cursor Touch command.
  • the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in a display area of the terminal screen and adjacent to the holding position.
  • the device further includes: a third response unit, configured to respond to the second touch command when receiving the second touch command generated by the second touch operation in the virtual operation area
  • the second touch instruction corresponding to the second touch operation is performed at the position indicated by the position cursor.
  • the apparatus further includes: a fourth response unit, configured to change the virtual operation area on the terminal screen according to user input The display position in the display area.
  • the apparatus further includes: a recording unit, configured to a response unit moves the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, and saves the position of the position cursor as a latest historical position of the position cursor; the display unit Specifically, it is used to: determine whether the latest historical position of the position cursor exists, and if so, display the position cursor in the latest historical position, and if not, display the position cursor in the preset position.
  • a recording unit configured to a response unit moves the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, and saves the position of the position cursor as a latest historical position of the position cursor
  • the display unit Specifically, it is used to: determine whether the latest historical position of the position cursor exists, and if so, display the position cursor in the latest historical position, and if not, display the position cursor in the preset position.
  • the moving instruction is generated by dragging the virtual control
  • the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operating area to a current position of the virtual control.
  • the moving instruction is generated by dragging the virtual control The instruction; the movement rate indicated by the movement instruction includes:
  • the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • the apparatus further includes: a monitoring unit, configured to: Monitoring the movement instruction in the virtual operation area; moving the virtual control to the virtual control in the virtual operation area when the movement instruction is not received in the virtual operation area The initial position in the domain or maintains the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  • a monitoring unit configured to: Monitoring the movement instruction in the virtual operation area; moving the virtual control to the virtual control in the virtual operation area when the movement instruction is not received in the virtual operation area The initial position in the domain or maintains the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  • the first touch instruction includes: clicking The touch command generated by the operation or the double-click operation;
  • the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
  • the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas.
  • a terminal including: a processor, an input device, and an output device, wherein:
  • the processor acquires a holding position of the terminal by using a preset sensor
  • the processor displays a position cursor in a display area of the terminal screen through the output device, and displays a virtual control through the output device in a display area of the terminal screen by the output device, where the virtual control is used for receiving a movement instruction for controlling the position of the position cursor;
  • the processor in response to the movement instruction, moves the movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction, when the movement instruction is received by the virtual control using the input device Position cursor
  • the first touch corresponding to the first touch operation is performed at the position indicated by the position cursor Control instructions.
  • the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in a display area of the terminal screen and adjacent to the holding position.
  • the processor responds to the second touch instruction at the position cursor The second touch instruction corresponding to the second touch operation is performed at the indicated position.
  • the method further includes: the processor receiving user input through the input device, and changing according to the user input a display position of the virtual operation area in a display area of the terminal screen.
  • the processor is instructed according to the moving instruction After the movement direction and the movement rate indicated by the movement instruction move the position cursor, the method further includes: the processor saving the position of the position cursor as the latest historical position of the position cursor;
  • the step of the processor displaying the position cursor by the output device in the display area of the terminal screen includes: the processor determining whether the latest historical position of the position cursor exists, and if so, passing the output device The latest historical position displays the position cursor, and if not, the position cursor is displayed at the preset position by the output device.
  • the moving instruction is generated by dragging the virtual control
  • the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operating area to a current position of the virtual control.
  • the moving instruction is generated by dragging the virtual control The instruction; the movement rate indicated by the movement instruction includes:
  • the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • the processor is monitored in the virtual operating area The movement instruction; when the movement instruction is not received in the virtual operation area, moving the virtual control to an initial position of the virtual control in the virtual operation area or maintaining the virtual control At a position where the virtual control intersects the edge of the virtual operation area last.
  • the first touch instruction includes: a click operation Or the touch command generated by the double-click operation;
  • the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
  • the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas.
  • a graphical user interface is provided on a terminal having a touch display, a memory, and one or more processors executing one or more programs stored in the memory, the graphical user interface comprising: a display area of the terminal screen, a position cursor and a virtual control, and a display area of the terminal screen is displayed on the touch display of the terminal;
  • the position cursor is displayed in a display area of the terminal screen, the virtual control is displayed in the virtual operation area, and the virtual operation area is displayed in a display area of the terminal screen and a grip of the terminal Holding the adjacent area of the position; the holding position of the terminal is obtained by using a preset sensor;
  • the movement of the virtual control is detected, in response to movement of the virtual control, the position cursor is in accordance with a direction indicated by a movement instruction received when the virtual control is moved and a movement received when the virtual control is moved The rate indicated by the instruction is moved;
  • the first touch operation of the virtual control is detected.
  • the operation object at the position cursor is touched according to the detected first touch operation.
  • a computer program product comprising a readable storage medium for storing computer program code, the computer program code running on a processor, the computer program code comprising:
  • a virtual control Used to display the position cursor in the display area of the terminal screen and in the display area of the terminal screen Displaying a virtual control in an area adjacent to the holding position, the virtual control being configured to receive a movement instruction for controlling a position of the position cursor;
  • the virtual control When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is executed at the position indicated by the position cursor .
  • the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen;
  • the computer program code further includes: when the second touch instruction generated by the second touch operation is received in the virtual operation area, performing the second touch at a position indicated by the position cursor Controlling the operation of the corresponding second touch command.
  • the computer program code further includes: changing a display position of the virtual operation area in a display area of the terminal screen according to user input Instructions.
  • the computer program code further includes: An instruction to save the latest historical position of the position cursor;
  • the instruction for displaying a position cursor in a display area of the terminal screen includes: determining whether a latest historical position of the position cursor exists, and if yes, displaying an instruction of the position cursor in the latest historical position, If not, the instruction of the position cursor is displayed at the preset position.
  • the moving instruction is an instruction generated by dragging the virtual control;
  • the direction of movement indicated by the instruction is a direction of displacement of the virtual control from an initial position in the virtual operation area to a current position of the virtual control.
  • the moving instruction is an instruction generated by dragging the virtual control;
  • the rate of movement indicated by the instruction includes:
  • the moving rate indicated by the moving instruction is a drag rate of the preset multiple of the virtual control being dragged; or the shift indicated by the moving instruction
  • the dynamic rate is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operating region;
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • the computer program code further includes: configured to monitor in the virtual operation area The instruction of the move instruction; for moving the virtual control to an initial position of the virtual control in the virtual operation area or when the movement instruction is not received in the virtual operation area The virtual control maintains an instruction at a position where the virtual control intersects the edge of the virtual operation area last.
  • the first touch instruction includes: a click operation or a double-click operation
  • the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
  • the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas.
  • the movement of the position cursor in the display area of the terminal screen is controlled by the virtual control, and the touch instruction generated by the touch operation is received by the virtual control, and the cursor is indicated at the position.
  • Performing the touch command corresponding to the touch operation at the position can control a large touch area by a user operation in a small area, thereby improving the convenience of operating the mobile phone with one hand.
  • FIG. 1 is a schematic flow chart of a touch method according to an embodiment of the present invention.
  • FIG. 2A is a schematic diagram of a first vertical holding manner provided by an embodiment of the present invention.
  • 2B is a schematic diagram of a second vertical holding manner provided by an embodiment of the present invention.
  • FIG. 2C is a schematic diagram of a first lateral holding manner according to an embodiment of the present invention.
  • 2D is a schematic diagram of a second lateral holding manner provided by an embodiment of the present invention.
  • FIG. 3A is a schematic diagram of an embodiment of operating a virtual control according to an embodiment of the present invention.
  • FIG. 3B is a schematic diagram of a touch command provided as a slide command according to an embodiment of the present invention.
  • FIG. 3C is a schematic diagram of a response slip command provided by an embodiment of the present invention.
  • FIG. 4A is a schematic diagram of increasing a moving speed of a position cursor according to an embodiment of the present invention.
  • 4B is a schematic diagram of reducing the moving speed of a position cursor according to an embodiment of the present invention.
  • 4C is a schematic diagram of a touch command provided by an embodiment of the present invention.
  • 4D is a schematic diagram of a drag and drop virtual control according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of operating a virtual control according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another embodiment of a touch device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a touch method provided by an embodiment of the present invention. Referring to Figure 1, the method includes:
  • S101 Acquire a holding position of the terminal by using a preset sensor.
  • S103 Display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, where the virtual control is used to receive the position cursor The move instruction for the position.
  • S105 When detecting the movement instruction by the virtual control, in response to the movement instruction, moving the position cursor according to a movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction.
  • the movement instruction at least indicates a moving direction of the position cursor.
  • the movement rate indicated by the movement instruction may be a preset movement rate.
  • the movement instruction indicates that the movement direction is: to the right, the terminal may move the position cursor to the right at a preset movement rate: 10 cm/s in response to the movement instruction.
  • the virtual control may be displayed in a virtual operation area, and the virtual operation area may also be displayed in an area adjacent to the holding position in the display area of the terminal screen.
  • the terminal may perform the second touch corresponding to the second touch operation at the position indicated by the position cursor Control instructions.
  • the object corresponding to the position of the position cursor in the display area of the terminal screen is an object that actually receives the touch instruction, and may include: a control, a text, a picture, a webpage, and the like, and can receive the user.
  • Interactive object Each of the first touch instruction or the second instruction may include: an open command, a close command, a send command, a delete command, an add command, a page flip instruction, an enlargement or reduction instruction, and the like, which may be received by various user interfaces.
  • the first touch operation for generating the first touch instruction may include: a click operation, a double click operation.
  • the second touch operation for generating the second touch command may include a click operation, a double click operation, a one-way slide operation, a zoom operation, or a multi-touch operation.
  • the terminal may further: acquire the holding position of the terminal by using a preset sensor, and display the screen on the terminal.
  • the virtual control or the virtual operation area is displayed in an area adjacent to the holding position in the area.
  • the holding position of the terminal refers to a position where the terminal is held by the user.
  • the terminal can know the location where the terminal is held by the user through the sensor component.
  • the terminal can analyze the holding position of the terminal through a built-in gravity sensor, such as a three-axis gyroscope.
  • the holding position of the terminal will be explained in detail below with reference to Figs. 2A to 2D.
  • the terminal is held by the user in a first vertical holding manner, and the holding position 210 of the terminal is: the bottom end of the terminal.
  • the area adjacent to the bottom end of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2A.
  • the terminal is held by the user in a second vertical holding manner, and the holding position 210 of the terminal is: the top end of the terminal.
  • the area adjacent to the top end of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2B.
  • the terminal is held by the user in the first horizontal holding manner, and the holding position 210 of the terminal is: the left side of the terminal.
  • the area adjacent to the left side of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2C.
  • the terminal is held by the user in a second lateral holding manner, and the holding position 210 of the terminal is: the right side of the terminal.
  • the area adjacent to the right side of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2D.
  • the first vertical holding manner and the second vertical holding manner involved in the embodiment include: a vertical holding manner in which the back side of the terminal is inclined at an oblique angle to the horizontal ground; the first horizontal holding manner and the second type
  • the lateral holding manner includes a lateral holding manner in which the back side of the terminal is inclined at an oblique angle to the horizontal ground.
  • the terminal can represent the above four holding modes by using (X, Y, Z) three-dimensional coordinates obtained by the gravity sensor.
  • the three-dimensional coordinates acquired by the gravity sensor are (0, 1, 0).
  • the three-dimensional coordinates are (0, 1, 0) indicating that the X and Z axes of the terminal are parallel to the horizontal ground, and the Y axis of the terminal is perpendicular to the horizontal ground, that is, the terminal is held by the user in the first vertical position shown in FIG. 2A. Holding the way.
  • the aforementioned three-dimensional coordinates (0, 1, 0) can also be used to indicate the holding position of the terminal: the bottom end of the terminal. That is, the terminal can represent the holding position of the terminal by the (X, Y, Z) three-dimensional coordinates obtained by the gravity sensor.
  • the terminal can analyze the holding position of the terminal through a built-in pressure sensor, such as a grip pressure sensor distributed on the back or left and right sides of the terminal.
  • the grip pressure sensor can sense different levels of finger grip pressure.
  • the terminal can sense the position of the user holding the mobile phone through the grip pressure sensor. For example, as shown in FIG. 2A, the terminal is held by the user in a first vertical grip. If the terminal perceives that the user holds the terminal at the bottom of the terminal with one hand, the holding position of the terminal is: the bottom end of the terminal, and at this time, the adjacent area 211 is near the bottom end of the terminal.
  • the holding position of the terminal is: the top end of the terminal, and the adjacent area 211 is near the top end of the terminal. If the terminal senses that the user holds the terminal in the middle of the terminal with one hand, the holding position of the terminal is: the middle of the terminal, and the adjacent area 211 is near the middle of the terminal.
  • the terminal can indicate the holding position of the terminal by grasping the pressure data acquired by the pressure sensor.
  • the terminal can further analyze the grip position of the terminal in the adjacent position in FIG. 2A to FIG. 2D by combining the idiot information set by the user (including the left-handed and the right-handed). The left or right side of the area 211.
  • the terminal in addition to determining the display position of the virtual operation area according to the holding position of the terminal, the terminal may further change the display position of the virtual operation area in the display area of the terminal screen according to the user input. For example, after the user presses the virtual operation area for more than the preset duration, the user slides to the right to move the virtual operation area to the right.
  • the terminal may also change the display position of the virtual operation area according to other operations input by the user. For example, the terminal receives an “up” voice signal input by the user through the voice control function, and responds to the “up” voice control signal. The virtual operating area moves up.
  • the terminal may also change the display position of the virtual control in the display area of the terminal screen according to user input.
  • the terminal may further save the position of the position cursor as the latest historical position of the position cursor, so that the next time the position cursor is displayed in the display area of the terminal screen,
  • the terminal may: determine whether the latest historical position of the position cursor exists, and if yes, display the position cursor in the latest historical position, and if not, display the position cursor in the preset position.
  • the type of the listener set by the virtual control is different, and the type of the event that generates the mobile instruction is also different.
  • the virtual control involved in the embodiment may be provided with a button event listener for monitoring a button event such as a click event, a double-click event, a long press event, or a short press event.
  • the virtual control involved in the embodiment may be provided with a drag event listener for monitoring a drag event generated by dragging the virtual control.
  • the terminal can control the location of the location cursor in the display area of the terminal screen by using the virtual control.
  • the terminal may execute a touch instruction received by the terminal at the virtual control at a position indicated by the position cursor.
  • the terminal can implement a user operation of a small area (the virtual control or the virtual operation area) to control a large touch area (the display area of the terminal screen), which helps to improve the convenience of operating the mobile phone with one hand. Sex.
  • the moving direction indicated by the move instruction is the virtual control The direction of displacement of the initial position in the virtual operating region to the current position of the virtual control.
  • 3A-3C illustrate schematic diagrams of controlling the position cursor movement by the virtual control and receiving a touch operation in the virtual operation area, according to an embodiment of the present invention.
  • a virtual operation area 202 is displayed in a display area 204 of a terminal screen, and a virtual control 201 is included in the virtual operation area 202, according to an embodiment of the present invention.
  • the user quickly drags the virtual control 201 from position S1 to position A1 and holds the virtual control 201 at position A1 for a preset duration, for example, a preset duration of 0.5 seconds.
  • the position S1 is an initial position of the virtual control 201 in the virtual operation area 202.
  • the terminal moves the position cursor 203 according to the direction of the displacement of the position S1 to the position A1, and moves the position cursor 203 from the position S2 to the position A2.
  • the moving direction corresponding to the movement instruction is the direction of the displacement of the position S1 to the position A1.
  • the moving speed of the virtual control 201 may be a preset moving speed of a constant speed, or may be a preset moving speed.
  • the user in the embodiment quickly dragging the virtual control 201 from the position S1 to the position A1 means that the virtual control 201 is moved from the position S1 to the position A1 for a short time, and may not be counted in the moving position cursor 203.
  • the hold virtual control 201 involved in the embodiment is a dragged state in which the virtual control 201 is not released and remains stationary during the process of dragging the virtual control 201, that is, keeping the virtual control 201 in a stationary state.
  • the virtual control 201 will return to the initial position S1.
  • the position where the position cursor 203 is located is the area in which the user input of the pull-down menu 205 is received.
  • the terminal receives the touch instruction generated by the user's swipe down operation in the area where the non-virtual control 201 is located in the virtual operation area 202, and executes at the position where the position cursor 203 is located, that is, the pull-down menu 205.
  • the touch operation corresponds to the touch command.
  • the terminal may open the pull-down menu 205 as shown in FIG. 3C.
  • the virtual control 201 in the virtual operation area 202 can also be used to receive a one-way sliding operation input by the user.
  • the virtual control 201 After the user presses the virtual control 201 for more than the preset duration (the preset duration is used to distinguish the time when the virtual control 201 is held down during the drag operation), the virtual control 201 is swiped downward to be at the position where the position cursor 203 is located. Performing a touch instruction corresponding to the touch operation of the downward sliding.
  • the terminal may also monitor the movement instruction in the virtual operation area 202; when the movement instruction is not received in the virtual operation area 202, the terminal moves the virtual control 201 to the virtual control 201 in the virtual operation area 202.
  • the initial position S1 either maintains the virtual control 201 at the position where the virtual control 201 intersects the edge of the virtual operation area 202 last.
  • the case where the terminal does not receive the movement instruction in the virtual operation area 202 may include that the virtual control 201 is not in the initial position S1, or the virtual control 201 is dragged by the user beyond the virtual operation area 202.
  • the terminal may further: determine whether the position of the virtual control 201 exceeds the virtual operation area 202, and if so, move the virtual control 201 to the initial position S1 of the virtual control 201 in the virtual operation area 202 or The virtual control 201 remains at the position where the virtual control 201 intersects the edge of the virtual operation area 202 last.
  • the virtual operation area may be a circular area 202 as shown in the figure.
  • the virtual operation area may also take other shapes, which is not limited herein.
  • the terminal may control the movement of the position cursor in the display area of the terminal screen by dragging the movement of the virtual control in the virtual operation area, and indicate the cursor at the position
  • the location receives the touch command received by the terminal in the virtual operation area.
  • the terminal can control a large touch area (the display area of the terminal screen) by a touch operation of a small area (the virtual operation area), which helps improve the convenience of operating the mobile phone with one hand.
  • the moving speed indicated by the move instruction includes:
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • FIG. 4A to 4D illustrate a listener in which a virtual control is provided with a drag event, and the move instruction is a control device that shifts by the virtual control when the instruction generated by the virtual control is dragged according to an embodiment of the present invention.
  • the position cursor moves, and a schematic diagram of the touch operation is received in the virtual operation area.
  • the moving speed of the position cursor 203 is positively correlated with the distance from the current position of the virtual control 201 to the initial position of the virtual control 201 in the virtual operating area 202, that is, the farther the virtual control 201 is from the initial position S1, the position The rate of movement of the cursor 203 is greater.
  • the moving speed of the corresponding position cursor 203 is greater than the moving speed of the corresponding position cursor 203 when the virtual control 201 is held at the position A1, by adding the virtual control 201 and its initial position S1.
  • the distance controls the position cursor 203 to quickly approach the target operational object 206.
  • the moving speed of the position cursor 203 is positively correlated with the distance from the current position of the virtual control 201 to the initial position of the virtual control 201 in the virtual operating area 202, that is, the closer the virtual control 201 is to the initial position S1, the position The rate of movement of the cursor 203 is smaller.
  • the moving speed of the corresponding position cursor 203 is smaller than the moving speed of the corresponding position cursor 203 when the virtual control 201 is held at the position B1, by reducing the virtual control 201 and its initial position.
  • the distance of S1 is to prevent the position cursor 203 from missing the target operation object 206 because the moving speed is too fast.
  • the moving rate of the position cursor 203 is positively correlated with the distance from the current position of the virtual control 201 to the initial position S1, and may include: the moving speed of the position cursor 203 and the current position of the virtual control 201 to The distance of the initial position S1 is proportional; or, the moving rate of the position cursor 203 includes M moving rates, and the M moving rates are in one-to-one correspondence with consecutively adjacent M distance intervals in the order of small to large, if the virtual control The distance between the current position of 201 and the initial position S1 is in the i-th distance interval of the M distance intervals, and the moving rate of the position cursor 203 is the i-th moving rate corresponding to the i-th distance interval.
  • M is a positive integer and i is a positive integer.
  • the virtual control 201 when the position cursor reaches the target operation object 206, the virtual control 201 is released.
  • the terminal receives a spread operation input by the user in the virtual operation area 202, and performs an enlargement instruction corresponding to the enlargement operation at the position where the position cursor 203 is located, that is, the picture 206.
  • the terminal amplifies the picture 206.
  • the user can also slowly drag the virtual control 201 from the position S1. Go to location A1.
  • the moving speed of the position cursor 203 may be a drag rate of the preset multiple of the virtual control 201 being dragged, or the moving speed of the position cursor 203.
  • the relationship may be positively related to the distance from the current position of the virtual control 201 to the initial position of the virtual control 201 in the virtual operating area 202.
  • the virtual control in the static dragged state refers to: pressing and holding the virtual control during the dragging of the virtual control does not release and keep the virtual control stationary.
  • the state for example, the virtual control 201 is held at position A1 as shown in FIG. 4A.
  • the virtual control in the dynamic drag-and-drop state in the embodiment of the present invention means that the virtual control does not release and continuously move the virtual control during the process of dragging the virtual control, for example, The virtual control 201 is moved from position A1 to position B1 as shown in FIG. 4A.
  • the terminal may change the moving speed of the position cursor in the display area of the terminal screen by changing the distance between the virtual control and the initial position in the virtual operation area, and may A touch instruction received by the terminal in the virtual operation area is performed at a position indicated by the position cursor.
  • the terminal can improve the accuracy of controlling a larger touch area (the display area of the terminal screen) by adjusting the moving speed of the position cursor.
  • the virtual control includes N operation areas, and the N operation areas correspond to N moving directions; and the movement instruction is applied to one of the N operation areas.
  • FIG. 5 illustrates a control of a position cursor by the virtual control when the virtual control includes N operation areas, and the movement instruction is an instruction acting on one of the N operation areas, according to an embodiment of the present invention. The movement.
  • the virtual control 201 includes an operation area 2011, an operation area 2012, an operation area 2013, and an operation area 2014.
  • the moving direction corresponding to the operating area 2011 is: to the left; the moving direction corresponding to the operating area 2012 is: upward; the moving direction corresponding to the operating area 2013 is: rightward; operating area The corresponding moving direction of 2014 is: downward.
  • the terminal controls the position cursor 203 to move to the right.
  • the terminal can move the position cursor 203 at a preset movement rate.
  • the terminal can also adjust the moving speed of the position cursor 203 through the virtual control 201 shown in FIG. 5. For example, pressing the operation area 2013 twice in succession corresponds to the operation of accelerating the movement position cursor 203.
  • FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to an embodiment of the present invention.
  • the touch device 60 shown in FIG. 6 may include: an obtaining unit 601, a display unit 603, a first response unit 605, and a second response unit 607.
  • Touch device 60 can be used to perform the methods described above in all of the above.
  • FIG. 1, FIG. 3A-3C or FIG. 4A-4D for the contents not mentioned in the embodiment shown in FIG. 6, reference may be made to FIG. 1, FIG. 3A-3C or FIG. 4A-4D, or the description in the corresponding embodiment of FIG.
  • the obtaining unit 601 is configured to acquire a holding position of the terminal by using a preset sensor
  • a display unit 603 configured to display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, where the virtual control is used for receiving the control a movement instruction for the position of the position cursor;
  • a first response unit 605 configured to: when the movement instruction is received by the virtual control, move the position according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, in response to the moving instruction cursor.
  • the second response unit 607 is configured to: when the virtual control receives the first touch instruction generated by the first touch operation, perform the first touch operation corresponding to the position indicated by the position cursor A touch command.
  • the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen.
  • the touch device 60 includes: an obtaining unit 601 , a display unit 603 , a first response unit 605 and a second response unit 607 , and may further include: a third response unit 609 . among them:
  • the third response unit 609 is configured to: when the second touch command generated by the second touch operation is received in the virtual operation area, respond to the second touch instruction, and the cursor is in the position The second touch instruction corresponding to the second touch operation is performed at the location.
  • the first touch instruction includes: a touch operation generated by a click operation or a double-click operation; and the second touch instruction includes: a touch operation, a double-click operation, a one-way slide operation, or a touch operation Control instructions.
  • the touch device 60 includes: an obtaining unit 601, a display unit 603, a first response unit 605, a second response unit 607, and a third response unit 609, and may further include: a fourth response unit, configured to The input changes the display position of the virtual operation area in the display area of the terminal screen.
  • the touch device 60 includes: an obtaining unit 601, a display unit 603, a first response unit 605, a second response unit 607, and a third response unit 609, and may further include: a recording unit, wherein the recording unit is configured to: After the first response unit 605 moves the position cursor according to the moving direction indicated by the movement instruction and the movement rate indicated by the movement instruction, the position of the position cursor is saved as the latest historical position of the position cursor, The display unit 603 is specifically configured to: determine whether the latest historical position of the position cursor exists, and if so, the display unit 603 displays the position cursor in the latest historical position, and if not, the display unit 603 displays the preset position. The position cursor.
  • the moving direction indicated by the move instruction is that the virtual control is The direction of displacement of the initial position in the virtual operating area to the current position of the virtual control.
  • the moving rate indicated by the move instruction when the virtual control is provided with a listener of a drag event, when the move instruction is an instruction generated by dragging the virtual control, the moving rate indicated by the move instruction includes: when the virtual When the control is in the dynamic dragged state, the moving rate indicated by the moving instruction is a drag rate of the preset multiple of the virtual control being dragged; or the moving rate indicated by the moving instruction and the virtual control a current position to a positive correlation of a distance of the virtual control in an initial position in the virtual operation area; a movement rate indicated by the movement instruction and the virtual when the virtual control is in a static dragged state The current position of the control is positively correlated to the distance of the virtual control's initial position in the virtual operating region.
  • the touch device 60 may further include: a monitoring unit, configured to monitor the movement instruction in the virtual operation area; when the movement instruction is not received in the virtual operation area Moving the virtual control to the beginning of the virtual control in the virtual operation area The start position or maintain the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  • a monitoring unit configured to monitor the movement instruction in the virtual operation area; when the movement instruction is not received in the virtual operation area Moving the virtual control to the beginning of the virtual control in the virtual operation area The start position or maintain the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  • the virtual control may include N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is an instruction that acts on one of the N operation areas.
  • the N is a positive integer.
  • the first response unit 603 is specifically configured to: be operated according to the virtual control The moving direction corresponding to the operation area and the preset rate move the position cursor, and N is a positive integer.
  • the present invention also provides a terminal for implementing the above solution.
  • the following is a detailed description of the structure of the terminal 80 provided by the present invention shown in FIG. 8 :
  • the terminal 80 includes an input device 803, an output device 804, a memory 802, and a processor 801 (the number of processors 801 in the terminal 80 may be one or more, and one processor in FIG. 8 is taken as an example).
  • the input device 803, the output device 804, the memory 802, and the processor 801 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • the memory 802 is configured to store program code, and the processor 801 is configured to invoke the program code stored in the memory to perform the following steps:
  • the first touch corresponding to the first touch operation is performed at the position indicated by the position cursor Touch command.
  • the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen.
  • the processor 801 responds to the second touch command to indicate the cursor at the position.
  • the second touch instruction corresponding to the second touch operation is performed at the location.
  • the first touch instruction includes: a touch operation generated by a click operation or a double-click operation; and the second touch instruction includes: a touch operation, a double-click operation, a one-way slide operation, or a touch operation Control instructions.
  • the processor 801 may further receive a user input through the input device 803, and change a display position of the virtual operation area in a display area of the terminal screen according to the user input.
  • the processor 801 may further use the position of the position cursor as the position cursor.
  • the latest historical location is saved.
  • the processor 801 can determine whether the latest historical position of the position cursor exists, and if so, display the latest historical position by the output device 804. The position cursor, if not, displays the position cursor at a preset position by the output device 804.
  • the moving instruction may be an instruction generated by dragging the virtual control.
  • the moving direction indicated by the movement instruction is a displacement direction of an initial position of the virtual control in the virtual operation area to a current position of the virtual control.
  • the movement rate indicated by the movement instruction includes: when the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a predetermined multiple of the drag rate of the virtual control being dragged; or The movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area; when the virtual control is in a static dragged state
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • the processor 801 may further: monitor the movement instruction in the virtual operation area; when not received in the virtual operation area Moving the virtual control to the virtual control at the virtual The initial position in the operational region or the virtual control is maintained at a position where the virtual control intersects the edge of the virtual operational region last.
  • the virtual control may include N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is an instruction that acts on one of the N operation areas.
  • the N is a positive integer.
  • the step of moving, by the processor 801, the moving direction indicated by the moving instruction and the moving rate indicated by the moving instruction to move the position cursor may include: the processor 801 is operated according to the virtual control The position cursor is moved by a movement direction corresponding to the operation area and a preset rate. N is a positive integer.
  • the embodiment of the present invention further provides a graphical user interface on the terminal.
  • the terminal has a touch display, a memory, and one or more processors that execute one or more programs stored in the memory.
  • the graphical user interface includes a display area of the terminal screen, a virtual operation area, a position cursor and a virtual control, and a display area of the terminal screen is displayed on the touch display of the terminal.
  • the graphical user interface is described in detail below in conjunction with Figures 3A-3C or Figures 4A-4D.
  • the graphical user interface includes a display area 204 of the terminal screen, a position cursor 203, and a virtual control 201. among them:
  • the position cursor 203 is displayed in the display area 204 of the terminal screen, and the virtual control 201 is displayed in the adjacent area of the display area 204 of the terminal screen and the holding position of the terminal; the holding position of the terminal is pre- Set by the sensor;
  • the movement of the virtual control 201 is detected, in response to the movement of the virtual control 201, the position cursor 203 is in accordance with the direction indicated by the movement instruction received when the virtual control 201 is moved and the rate indicated by the movement instruction received when the virtual control 201 is moved. Moved
  • the first touch operation of the virtual control 201 is detected.
  • the operation object at the position cursor 203 is touched according to the detected first touch operation.
  • the first touch operation may include: a click operation, a double click operation.
  • the graphical user interface may further include: a virtual operation area 202, the virtual control 201 may be displayed in the virtual operation area 202, and the virtual operation area 202 may be displayed on the terminal screen.
  • the second touch operation in the virtual operation area 202 is detected.
  • the operation object at the position cursor 203 is touched according to the detected second touch operation.
  • the second touch operation may include: a click operation, a double click operation, a one-way sliding operation, a zoom operation, or a multi-touch operation.
  • the virtual operation area may be a circular area 202 as shown in the figure.
  • the virtual operation area may also take other shapes, which is not limited herein.
  • the embodiment of the present invention further provides a computer program product, the computer program product comprising a readable storage medium for storing computer program code, the computer program code running in a On the processor, the computer program code can include:
  • the virtual control For displaying a position cursor in a display area of the terminal screen, and displaying a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive a control for the position cursor Position movement instruction;
  • the virtual control When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is executed at the position indicated by the position cursor .
  • the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen;
  • the computer program code further includes: When the second touch command generated by the second touch operation is received in the virtual operation area, performing the second touch instruction corresponding to the second touch operation at the position indicated by the position cursor instruction.
  • the computer program code may further include: instructions for changing a display position of the virtual operation area in a display area of the terminal screen according to a user input.
  • the computer program code may further include: after the instruction to move the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, the position cursor is The position is stored as an instruction to save the latest historical position of the position cursor;
  • the instruction for displaying the position cursor in the display area of the terminal screen may include: determining whether the latest historical position of the position cursor exists, and if yes, displaying the position at the latest historical position The instruction of the cursor, if not, displays the command of the position cursor at a preset position.
  • the moving instruction is an instruction generated by dragging the virtual control; the moving direction indicated by the moving instruction is an initial position of the virtual control in the virtual operating area to a current position of the virtual control. The direction of displacement.
  • the moving instruction is an instruction generated by dragging the virtual control; and the moving rate indicated by the moving instruction includes:
  • the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
  • the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
  • the computer program code may further include: an instruction for monitoring the movement instruction in the virtual operation area; for when the movement instruction is not received in the virtual operation area, The virtual control moves to an initial position of the virtual control in the virtual operation area or maintains the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  • the first touch instruction includes: a touch operation generated by a click operation or a double-click operation; and the second touch instruction includes: a click operation, a double-click operation, a one-way slide operation, or a zoom operation. Touch command.
  • the virtual control may include N operation areas, and the N operation areas may correspond to N movement directions;
  • the movement instruction is an instruction that acts on one of the N operation areas, N is a positive integer; specifically, the instruction for moving the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, comprising: being operated according to the virtual control Moving the position cursor by the moving direction corresponding to the operation area and the preset rate
  • the instruction, N is a positive integer.
  • the embodiment of the present invention controls the movement of the position cursor in the display area of the terminal screen through the virtual control in the display area of the terminal screen, and receives the touch through the virtual control.
  • the touch command generated by the operation performs the touch operation corresponding to the touch command at the position indicated by the position cursor, thereby realizing control of a large touch area by a user operation in a small area, which is helpful to Improve the convenience of operating a mobile phone with one hand.

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

Disclosed in an embodiment of the present invention is a touch control method. The method comprises: displaying a virtual control and a position cursor on a display area of a terminal screen, and the virtual control is configured to receive a moving instruction for controlling a position of the position cursor; upon receiving the moving instruction via the virtual control, responding to the moving instruction; and moving the position cursor according to a moving direction and a moving rate instructed by the moving instruction; when the virtual control receives a touch control instruction generated by the touch control operation, responding to the touch control instruction and performing the touch control instruction corresponding to the touch control operation at a position instructed by the position cursor. The present invention can control a large touch control area by a user operation of a small area and facilitates improving convenience of single-hand operation on mobile phone.

Description

一种触控方法、装置、终端及终端上的图形用户界面Touch method, device, terminal and graphic user interface on terminal 技术领域Technical field
本发明涉及移动终端领域,尤其涉及一种触控方法、装置、终端及终端上的图形用户界面。The present invention relates to the field of mobile terminals, and in particular, to a touch method, device, terminal, and graphical user interface on a terminal.
背景技术Background technique
近几年随着智能手机的普及,大屏、巨屏手机越来越受欢迎,相比小屏幕手机,大屏幕手机在影音方面的确很出色,大屏带来的视觉体验是小屏手机不可比拟的。目前,5英寸屏幕成为主流后,手机的屏幕逐渐向6英寸以上发展,在屏幕尺寸追赶平板电脑的趋势。In recent years, with the popularity of smart phones, large-screen and giant-screen mobile phones have become more and more popular. Compared with small-screen mobile phones, large-screen mobile phones are indeed excellent in audio and video. The visual experience brought by large-screen mobile phones is not available for small-screen mobile phones. Comparable. At present, after the 5-inch screen becomes mainstream, the screen of the mobile phone gradually develops to more than 6 inches, and the trend of catching up the tablet in the screen size.
但是,由于屏幕过大,单手操作手机时,触摸屏的部分区域很难操作,必须借助双手才能完成。However, since the screen is too large, it is difficult to operate part of the touch screen when operating the mobile phone with one hand, and it must be done with both hands.
发明内容Summary of the invention
本发明实施例提供了一种触控方法、装置及终端,可实现通过较小区域的用户操作来控制较大的触控区域,有助于提高单手操作手机的便利性。The embodiments of the present invention provide a touch control method, a device, and a terminal, which can control a large touch area through user operations in a small area, and help improve the convenience of operating the mobile phone with one hand.
第一方面,提供了一种触控方法,包括:In a first aspect, a touch method is provided, including:
通过预设传感器获取终端的握持位置;Obtaining the holding position of the terminal by using a preset sensor;
在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;Displaying a position cursor in a display area of the terminal screen, and displaying a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive a position for controlling the position cursor Move instruction
当通过所述虚拟控件接收到所述移动指令时,响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标;When receiving the movement instruction by the virtual control, in response to the movement instruction, moving the position cursor according to a movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction;
当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is performed at the position indicated by the position cursor.
结合第一方面,在第一种可能的实现方式中,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位 置相邻区域内;所述方法还包括:当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。With reference to the first aspect, in a first possible implementation manner, the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in a display area of the terminal screen and the holding position The method further includes: when receiving the second touch instruction generated by the second touch operation in the virtual operation area, executing the first position at the position indicated by the position cursor The second touch command corresponding to the two touch operations.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括:根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。In conjunction with the first possible implementation of the first aspect, in a second possible implementation, the method further includes: changing a display position of the virtual operation area in a display area of the terminal screen according to a user input.
结合第一方面的第一种可能的实现方式,或者,结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,在所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,还包括:将所述位置光标的位置作为所述位置光标的最新历史位置保存;In conjunction with the first possible implementation of the first aspect, or in combination with the second possible implementation of the first aspect, in a third possible implementation, the moving direction indicated by the moving instruction After moving the position cursor with the moving rate indicated by the movement instruction, the method further includes: saving the position of the position cursor as the latest historical position of the position cursor;
所述在终端屏幕的显示区域中显示位置光标,包括:判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标,若否,则在预设位置显示所述位置光标。The displaying the position cursor in the display area of the terminal screen includes: determining whether the latest historical position of the position cursor exists, and if yes, displaying the position cursor in the latest historical position, and if not, at the preset position The position cursor is displayed.
结合第一方面的第一种可能的实现方式,或者,结合第一方面的第二种可能的实现方式,在第四种可能的实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。In conjunction with the first possible implementation of the first aspect, or in combination with the second possible implementation of the first aspect, in a fourth possible implementation, the moving instruction is generated by dragging the virtual control And the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operating area to a current position of the virtual control.
结合第一方面的第一种可能的实现方式,或者,结合第一方面的第二种可能的实现方式,在第五种可能的实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:In conjunction with the first possible implementation of the first aspect, or in combination with the second possible implementation of the first aspect, in a fifth possible implementation, the moving instruction is generated by dragging the virtual control The instruction; the movement rate indicated by the movement instruction includes:
当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
结合第一方面的第四种可能的实现方式,或者第一方面的第五种可能的实现方式,在第六种可能的实现方式中,所述方法还包括:在所述虚拟操作区域 中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。With reference to the fourth possible implementation of the first aspect, or the fifth possible implementation of the first aspect, in a sixth possible implementation, the method further includes: in the virtual operation area Monitoring the movement instruction; when the movement instruction is not received in the virtual operation area, moving the virtual control to an initial position of the virtual control in the virtual operation area or the virtual The control remains in a position where the virtual control intersects the edge of the virtual operation area last.
结合第一方面的第四种可能的实现方式,或者第一方面的第五种可能的实现方式,在第七种可能的实现方式中,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。With reference to the fourth possible implementation of the first aspect, or the fifth possible implementation manner of the first aspect, in the seventh possible implementation, the first touch instruction includes: clicking an operation or double-clicking The touch command generated by the operation; the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
结合第一方面,在第八种可能的实现方式中,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标,包括:根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。With reference to the first aspect, in an eighth possible implementation, the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, the N is a positive integer; the moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, comprising: being operated according to the virtual control The moving direction corresponding to the operating area and the preset rate move the position cursor, and N is a positive integer.
第二方面,提供了一种触控装置,包括:In a second aspect, a touch device is provided, including:
获取单元,用于通过预设传感器获取终端的握持位置;An acquiring unit, configured to acquire a holding position of the terminal by using a preset sensor;
显示单元,用于在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;a display unit configured to display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive the control a move instruction for the position of the position cursor;
第一响应单元,用于当通过所述虚拟控件接收到所述移动指令时,响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标;a first response unit, configured to move the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, in response to the moving instruction, when the moving instruction is received by the virtual control ;
第二响应单元,用于当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。a second response unit, configured to: when the virtual control receives the first touch command generated by the first touch operation, perform the first corresponding to the first touch operation at the position indicated by the position cursor Touch command.
结合第二方面,在第一种可能的实现方式中,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;所述装置还包括:第三响应单元,用于当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,响应所述第二触控指令,在 所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。With reference to the second aspect, in a first possible implementation manner, the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in a display area of the terminal screen and adjacent to the holding position. The device further includes: a third response unit, configured to respond to the second touch command when receiving the second touch command generated by the second touch operation in the virtual operation area The second touch instruction corresponding to the second touch operation is performed at the position indicated by the position cursor.
结合第二方面的一种可能的实现方式,在第二种可能的实现方式中,所述装置还包括:第四响应单元,用于根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。In conjunction with a possible implementation of the second aspect, in a second possible implementation, the apparatus further includes: a fourth response unit, configured to change the virtual operation area on the terminal screen according to user input The display position in the display area.
结合第二方面的第一种可能的实现方式,或者,结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述装置还包括:记录单元,用于第一响应单元根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,将所述位置光标的位置作为所述位置光标的最新历史位置保存;所述显示单元具体用于:判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标,若否,则在预设位置显示所述位置光标。With reference to the first possible implementation of the second aspect, or in combination with the second possible implementation of the second aspect, in a third possible implementation, the apparatus further includes: a recording unit, configured to a response unit moves the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, and saves the position of the position cursor as a latest historical position of the position cursor; the display unit Specifically, it is used to: determine whether the latest historical position of the position cursor exists, and if so, display the position cursor in the latest historical position, and if not, display the position cursor in the preset position.
结合第二方面的第一种可能的实现方式,或者,结合第二方面的第二种可能的实现方式,在第四种可能的实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。In conjunction with the first possible implementation of the second aspect, or in combination with the second possible implementation of the second aspect, in a fourth possible implementation, the moving instruction is generated by dragging the virtual control And the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operating area to a current position of the virtual control.
结合第二方面的第一种可能的实现方式,或者,结合第二方面的第二种可能的实现方式,在第五种可能的实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:In conjunction with the first possible implementation of the second aspect, or in combination with the second possible implementation of the second aspect, in a fifth possible implementation, the moving instruction is generated by dragging the virtual control The instruction; the movement rate indicated by the movement instruction includes:
当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
结合第二方面的第四种可能的实现方式,或者,结合第二方面的第五种可能的实现方式,在第六种可能的实现方式中,所述装置还包括:监测单元,用于在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区 域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。In conjunction with the fourth possible implementation of the second aspect, or in combination with the fifth possible implementation of the second aspect, in a sixth possible implementation, the apparatus further includes: a monitoring unit, configured to: Monitoring the movement instruction in the virtual operation area; moving the virtual control to the virtual control in the virtual operation area when the movement instruction is not received in the virtual operation area The initial position in the domain or maintains the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
结合第二方面的的第四种可能的实现方式,或者,结合第二方面的第五种可能的实现方式,在第七种可能的实现方式中,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。With reference to the fourth possible implementation of the second aspect, or in combination with the fifth possible implementation of the second aspect, in a seventh possible implementation, the first touch instruction includes: clicking The touch command generated by the operation or the double-click operation; the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
结合第二方面,在第八种可能的实现方式中,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述第一响应单元具体用于:根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。With reference to the second aspect, in an eighth possible implementation, the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, the N is a positive integer; the first response unit is specifically configured to: move the position cursor according to a moving direction and a preset rate corresponding to an operation area in which the virtual control is operated, N Is a positive integer.
第三方面,提供了一种终端,包括:处理器,输入装置和输出装置,其中:In a third aspect, a terminal is provided, including: a processor, an input device, and an output device, wherein:
所述处理器通过预设传感器获取终端的握持位置;The processor acquires a holding position of the terminal by using a preset sensor;
所述处理器通过所述输出装置在终端屏幕的显示区域中显示位置光标,并通过所述输出装置在终端屏幕的显示区域中通过所述输出装置显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;The processor displays a position cursor in a display area of the terminal screen through the output device, and displays a virtual control through the output device in a display area of the terminal screen by the output device, where the virtual control is used for receiving a movement instruction for controlling the position of the position cursor;
当利用所述输入装置通过所述虚拟控件接收到所述移动指令时,所述处理器响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标;The processor, in response to the movement instruction, moves the movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction, when the movement instruction is received by the virtual control using the input device Position cursor
当利用所述输入装置通过所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。When the first touch command generated by the first touch operation is received by the input device by using the virtual control, the first touch corresponding to the first touch operation is performed at the position indicated by the position cursor Control instructions.
结合第三方面,在第一种可能的实现方式中,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;当利用所述输入装置在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,所述处理器响应所述第二触控指令,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。With reference to the third aspect, in a first possible implementation manner, the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in a display area of the terminal screen and adjacent to the holding position. When the second touch command generated by the second touch operation is received in the virtual operation area by the input device, the processor responds to the second touch instruction at the position cursor The second touch instruction corresponding to the second touch operation is performed at the indicated position.
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括:所述处理器通过所述输入装置接收用户输入,并根据所述用户输入改变 所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the method further includes: the processor receiving user input through the input device, and changing according to the user input a display position of the virtual operation area in a display area of the terminal screen.
结合第三方面的第一种可能的实现方式,或者,结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,在所述处理器根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,还包括:所述处理器将所述位置光标的位置作为所述位置光标的最新历史位置保存;With reference to the first possible implementation of the third aspect, or in combination with the second possible implementation of the third aspect, in a third possible implementation, the processor is instructed according to the moving instruction After the movement direction and the movement rate indicated by the movement instruction move the position cursor, the method further includes: the processor saving the position of the position cursor as the latest historical position of the position cursor;
所述处理器在终端屏幕的显示区域中通过所述输出装置显示位置光标的步骤,包括:所述处理器判断所述位置光标的最新历史位置是否存在,若是,则通过所述输出装置在所述最新历史位置显示所述位置光标,若否,则通过所述输出装置在预设位置显示所述位置光标。The step of the processor displaying the position cursor by the output device in the display area of the terminal screen includes: the processor determining whether the latest historical position of the position cursor exists, and if so, passing the output device The latest historical position displays the position cursor, and if not, the position cursor is displayed at the preset position by the output device.
结合第三方面的第一种可能的实现方式,或者,结合第三方面的第二种可能的实现方式,在第四种可能的实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。In conjunction with the first possible implementation of the third aspect, or in combination with the second possible implementation of the third aspect, in a fourth possible implementation, the moving instruction is generated by dragging the virtual control And the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operating area to a current position of the virtual control.
结合第三方面的第一种可能的实现方式,或者,结合第三方面的第二种可能的实现方式,在第五种可能的实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:In conjunction with the first possible implementation of the third aspect, or in combination with the second possible implementation of the third aspect, in a fifth possible implementation, the moving instruction is generated by dragging the virtual control The instruction; the movement rate indicated by the movement instruction includes:
当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
结合第三方面的第四种可能的实现方式,或者,结合第三方面的第五种可能的实现方式,在第六种可能的实现方式中,所述处理器在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。 In conjunction with the fourth possible implementation of the third aspect, or in combination with the fifth possible implementation of the third aspect, in a sixth possible implementation, the processor is monitored in the virtual operating area The movement instruction; when the movement instruction is not received in the virtual operation area, moving the virtual control to an initial position of the virtual control in the virtual operation area or maintaining the virtual control At a position where the virtual control intersects the edge of the virtual operation area last.
结合第三方面的第四种可能的实现方式,或者,结合第三方面的第五种可能的实现方式,在第七种可能的实现方式中,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。In conjunction with the fourth possible implementation of the third aspect, or in combination with the fifth possible implementation of the third aspect, in a seventh possible implementation, the first touch instruction includes: a click operation Or the touch command generated by the double-click operation; the second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
结合第三方面,在第八种可能的实现方式中,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述处理器根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的步骤,包括:所述处理器根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。With reference to the third aspect, in an eighth possible implementation, the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, wherein N is a positive integer; the step of the processor moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, comprising: the processing The position cursor is moved according to a moving direction corresponding to the operation area in which the virtual control is operated and a preset rate, where N is a positive integer.
第四方面,提供了一种终端上的图形用户界面,所述终端具有触摸显示器、存储器和执行存储于存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括:终端屏幕的显示区域,位置光标和虚拟控件,所述终端屏幕的显示区域被显示在所述终端的所述触摸显示器上;In a fourth aspect, a graphical user interface is provided on a terminal having a touch display, a memory, and one or more processors executing one or more programs stored in the memory, the graphical user interface comprising: a display area of the terminal screen, a position cursor and a virtual control, and a display area of the terminal screen is displayed on the touch display of the terminal;
其中:among them:
所述位置光标被显示在所述终端屏幕的显示区域中,所述虚拟控件被显示在所述虚拟操作区域中,所述虚拟操作区域被显示在所述终端屏幕的显示区域中与终端的握持位置的相邻区域内;所述终端的握持位置是通过预设传感器获取的;The position cursor is displayed in a display area of the terminal screen, the virtual control is displayed in the virtual operation area, and the virtual operation area is displayed in a display area of the terminal screen and a grip of the terminal Holding the adjacent area of the position; the holding position of the terminal is obtained by using a preset sensor;
所述虚拟控件的移动被检测到,响应于所述虚拟控件的移动,所述位置光标根据所述虚拟控件被移动时接收的移动指令所指示的方向和所述虚拟控件被移动时接收的移动指令所指示的速率被移动;The movement of the virtual control is detected, in response to movement of the virtual control, the position cursor is in accordance with a direction indicated by a movement instruction received when the virtual control is moved and a movement received when the virtual control is moved The rate indicated by the instruction is moved;
所述虚拟控件的第一触控操作被检测到,响应所述虚拟控件的第一触控操作,在所述位置光标处的操作对象按照检测到的所述第一触控操作被触控。The first touch operation of the virtual control is detected. In response to the first touch operation of the virtual control, the operation object at the position cursor is touched according to the detected first touch operation.
第五方面,提供了一种计算机程序产品,所述计算机程序产品包括可读取存储介质用于存储计算机程序代码,所述计算机程序代码运行在一个处理器上,所述计算机程序代码包括:In a fifth aspect, a computer program product is provided, the computer program product comprising a readable storage medium for storing computer program code, the computer program code running on a processor, the computer program code comprising:
用于通过预设传感器获取终端的握持位置的指令;An instruction for acquiring a holding position of the terminal by using a preset sensor;
用于在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中 与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;Used to display the position cursor in the display area of the terminal screen and in the display area of the terminal screen Displaying a virtual control in an area adjacent to the holding position, the virtual control being configured to receive a movement instruction for controlling a position of the position cursor;
用于当通过所述虚拟控件接收到所述移动指令时,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的指令;And an instruction for moving the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction when the moving instruction is received by the virtual control;
用于当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令的指令。When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is executed at the position indicated by the position cursor .
结合第五方面,在第一种实现方式中,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;所述计算机程序代码还包括:用于当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令的指令。With reference to the fifth aspect, in a first implementation manner, the virtual control is displayed in a virtual operation area, where the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen; The computer program code further includes: when the second touch instruction generated by the second touch operation is received in the virtual operation area, performing the second touch at a position indicated by the position cursor Controlling the operation of the corresponding second touch command.
结合第五方面的第一种实现方式,在第二种实现方式中,所述计算机程序代码还包括:用于根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置的指令。In conjunction with the first implementation of the fifth aspect, in a second implementation, the computer program code further includes: changing a display position of the virtual operation area in a display area of the terminal screen according to user input Instructions.
结合第五方面的第一种实现方式,或者,结合第五方面的第二种实现方式,在第三种实现方式中,所述计算机程序代码还包括:用于将所述位置光标的位置作为所述位置光标的最新历史位置保存的指令;With reference to the first implementation of the fifth aspect, or the second implementation manner of the fifth aspect, in a third implementation manner, the computer program code further includes: An instruction to save the latest historical position of the position cursor;
所述用于在终端屏幕的显示区域中显示位置光标的指令,包括:用于判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标的指令,若否,则在预设位置显示所述位置光标的指令。The instruction for displaying a position cursor in a display area of the terminal screen includes: determining whether a latest historical position of the position cursor exists, and if yes, displaying an instruction of the position cursor in the latest historical position, If not, the instruction of the position cursor is displayed at the preset position.
结合第五方面的第一种实现方式,或者,结合第五方面的第二种实现方式,在第四种实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。With reference to the first implementation of the fifth aspect, or in combination with the second implementation manner of the fifth aspect, in a fourth implementation manner, the moving instruction is an instruction generated by dragging the virtual control; The direction of movement indicated by the instruction is a direction of displacement of the virtual control from an initial position in the virtual operation area to a current position of the virtual control.
结合第五方面的第一种实现方式,或者,结合第五方面的第二种实现方式,在第五种实现方式中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:With reference to the first implementation of the fifth aspect, or in combination with the second implementation manner of the fifth aspect, in a fifth implementation manner, the moving instruction is an instruction generated by dragging the virtual control; The rate of movement indicated by the instruction includes:
当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移 动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the moving rate indicated by the moving instruction is a drag rate of the preset multiple of the virtual control being dragged; or the shift indicated by the moving instruction The dynamic rate is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operating region;
当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
结合第五方面的第四种实现方式,或者,结合第五方面的第五种实现方式,在第六种实现方式中,所述计算机程序代码还包括:用于在所述虚拟操作区域中监测所述移动指令的指令;用于当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置的指令。With reference to the fourth implementation manner of the fifth aspect, or the fifth implementation manner of the fifth aspect, in a sixth implementation manner, the computer program code further includes: configured to monitor in the virtual operation area The instruction of the move instruction; for moving the virtual control to an initial position of the virtual control in the virtual operation area or when the movement instruction is not received in the virtual operation area The virtual control maintains an instruction at a position where the virtual control intersects the edge of the virtual operation area last.
结合第五方面的第四种实现方式,或者,结合第五方面的第五种实现方式,在第七种实现方式中,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。With reference to the fourth implementation manner of the fifth aspect, or the fifth implementation manner of the fifth aspect, in the seventh implementation manner, the first touch instruction includes: a click operation or a double-click operation The second touch command includes: a touch operation generated by a click operation, a double-click operation, a one-way slide operation, or a zoom operation.
结合第五方面,在第八种实现方式中,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述用于根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的指令,包括:用于根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标的指令,N为正整数。With reference to the fifth aspect, in an eighth implementation manner, the virtual control includes N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, the N being a positive integer; the instruction for moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, comprising: The virtual control is operated by the operation area corresponding to the moving direction and the preset rate to move the position cursor command, and N is a positive integer.
实施本发明实施例,通过所述虚拟控件来控制所述终端屏幕的显示区域中的位置光标的移动,并通过所述虚拟控件接收触控操作所产生的触控指令,在所述位置光标指示的位置处执行所述触控操作对应的触控指令,可实现通过较小区域的用户操作来控制较大的触控区域,有助于提高单手操作手机的便利性。In the embodiment of the present invention, the movement of the position cursor in the display area of the terminal screen is controlled by the virtual control, and the touch instruction generated by the touch operation is received by the virtual control, and the cursor is indicated at the position. Performing the touch command corresponding to the touch operation at the position can control a large touch area by a user operation in a small area, thereby improving the convenience of operating the mobile phone with one hand.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the following description The drawings in the drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本发明实施例提供的触控方法的流程示意图;1 is a schematic flow chart of a touch method according to an embodiment of the present invention;
图2A是本发明实施例提供的第一种竖直握持方式的示意图;2A is a schematic diagram of a first vertical holding manner provided by an embodiment of the present invention;
图2B是本发明实施例提供的第二种竖直握持方式的示意图;2B is a schematic diagram of a second vertical holding manner provided by an embodiment of the present invention;
图2C是本发明实施例提供的第一种横向握持方式的示意图;2C is a schematic diagram of a first lateral holding manner according to an embodiment of the present invention;
图2D是本发明实施例提供的第二种横向握持方式的示意图;2D is a schematic diagram of a second lateral holding manner provided by an embodiment of the present invention;
图3A是本发明实施例提供的操作虚拟控件的一种实施例的示意图;FIG. 3A is a schematic diagram of an embodiment of operating a virtual control according to an embodiment of the present invention; FIG.
图3B是本发明实施例提供的触控指令为下滑指令的示意图;FIG. 3B is a schematic diagram of a touch command provided as a slide command according to an embodiment of the present invention; FIG.
图3C是本发明实施例提供的响应下滑指令的示意图;FIG. 3C is a schematic diagram of a response slip command provided by an embodiment of the present invention; FIG.
图4A是本发明实施例提供的增加位置光标的移动速度的示意图;4A is a schematic diagram of increasing a moving speed of a position cursor according to an embodiment of the present invention;
图4B是本发明实施例提供的减小位置光标的移动速度的示意图;4B is a schematic diagram of reducing the moving speed of a position cursor according to an embodiment of the present invention;
图4C是本发明实施例提供的触控指令为放大指令的示意图;4C is a schematic diagram of a touch command provided by an embodiment of the present invention;
图4D是本发明实施例提供的拖拽虚拟控件的示意图;4D is a schematic diagram of a drag and drop virtual control according to an embodiment of the present invention;
图5是本发明实施例提供的操作虚拟控件的另一种实施例的示意图;FIG. 5 is a schematic diagram of another embodiment of operating a virtual control according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的触控装置的一种实施例的结构示意图;FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to an embodiment of the present disclosure;
图7是本发明实施例提供的触控装置的另一种实施例的结构示意图;FIG. 7 is a schematic structural diagram of another embodiment of a touch device according to an embodiment of the present invention; FIG.
图8是本发明实施例提供的终端的结构示意图。FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1本发明实施例提供的触控方法的流程示意图。参见图1,该方法包括:FIG. 1 is a schematic flowchart diagram of a touch method provided by an embodiment of the present invention. Referring to Figure 1, the method includes:
S101:通过预设传感器获取终端的握持位置。S101: Acquire a holding position of the terminal by using a preset sensor.
S103:在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令。 S103: Display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, where the virtual control is used to receive the position cursor The move instruction for the position.
S105:当通过所述虚拟控件检测到所述移动指令时,响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标。具体的,所述移动指令至少指示出所述位置光标的移动方向。所述移动指令指示的移动速率可以是预先设置的移动速率。例如,所述移动指令指示出移动方向为:向右,则终端可响应所述移动指令,以预先设置的移动速率:10cm/s,向右移动所述位置光标。S105: When detecting the movement instruction by the virtual control, in response to the movement instruction, moving the position cursor according to a movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction. Specifically, the movement instruction at least indicates a moving direction of the position cursor. The movement rate indicated by the movement instruction may be a preset movement rate. For example, the movement instruction indicates that the movement direction is: to the right, the terminal may move the position cursor to the right at a preset movement rate: 10 cm/s in response to the movement instruction.
S107:当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。S107: When the virtual control receives the first touch command generated by the first touch operation, the first touch instruction corresponding to the first touch operation is performed at the position indicated by the position cursor.
本发明实施例中,所述虚拟控件可以显示在虚拟操作区域中,所述虚拟操作区域也可以显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内。当终端在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,终端可在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。In the embodiment of the present invention, the virtual control may be displayed in a virtual operation area, and the virtual operation area may also be displayed in an area adjacent to the holding position in the display area of the terminal screen. When the terminal receives the second touch command generated by the second touch operation in the virtual operation area, the terminal may perform the second touch corresponding to the second touch operation at the position indicated by the position cursor Control instructions.
具体的,所述终端屏幕的显示区域中的所述位置光标所处位置对应的作用对象是实际接收所述触控指令的对象,可包括:控件,文本,图片以及网页等各种可以接收用户交互的对象。所述第一触控指令或者所述第二指令均可以包括:打开指令、关闭指令、发送指令、删除指令、添加指令、翻页指令、放大或缩小指令等各种用户界面可能接收的指令。产生所述第一触控指令的第一触控操作可包括:单击操作、双击操作。产生所述第二触控指令的第二触控操作可包括:单击操作、双击操作、单向滑动操作、缩放操作或者多点触控操作等。Specifically, the object corresponding to the position of the position cursor in the display area of the terminal screen is an object that actually receives the touch instruction, and may include: a control, a text, a picture, a webpage, and the like, and can receive the user. Interactive object. Each of the first touch instruction or the second instruction may include: an open command, a close command, a send command, a delete command, an add command, a page flip instruction, an enlargement or reduction instruction, and the like, which may be received by various user interfaces. The first touch operation for generating the first touch instruction may include: a click operation, a double click operation. The second touch operation for generating the second touch command may include a click operation, a double click operation, a one-way slide operation, a zoom operation, or a multi-touch operation.
本发明实施例中,在终端屏幕的显示区域中显示所述虚拟控件或者所述虚拟操作区域之前,终端还可以:通过预设传感器获取终端的握持位置,用以在所述终端屏幕的显示区域中与所述握持位置相邻区域内显示所述虚拟控件或者所述虚拟操作区域。In the embodiment of the present invention, before the virtual control or the virtual operation area is displayed in the display area of the terminal screen, the terminal may further: acquire the holding position of the terminal by using a preset sensor, and display the screen on the terminal. The virtual control or the virtual operation area is displayed in an area adjacent to the holding position in the area.
本发明实施例涉及的终端的握持位置是指终端被用户握持的位置。终端可以通过传感器件获知终端被用户握持的位置。The holding position of the terminal according to the embodiment of the present invention refers to a position where the terminal is held by the user. The terminal can know the location where the terminal is held by the user through the sensor component.
具体实现中,至少可以通过以下两种方式来分析出终端的握持位置:In the specific implementation, at least the following two ways can be used to analyze the holding position of the terminal:
在第一种实现方式中,终端可通过内置的重力感应器,例如三轴陀螺仪,来分析出终端的握持位置。下面结合图2A至图2D详细的解释终端的握持位置。 如图2A所示,终端被用户以第一种竖直握持方式握持,终端的握持位置210为:终端的底端。这时,在终端屏幕的显示区域中,与终端的底端相邻的区域可为图2A中的虚线框所指示的相邻区域211。如图2B所示,终端被用户以第二种竖直握持方式握持,终端的握持位置210为:终端的顶端。这时,在终端屏幕的显示区域中,与终端的顶端相邻的区域可为图2B中的虚线框所指示的相邻区域211。如图2C所示,终端被用户以第一种横向握持方式握持,终端的握持位置210为:终端的左侧。这时,在终端屏幕的显示区域中,与终端的左侧相邻的区域可为图2C中的虚线框所指示的相邻区域211。如图2D所示,终端被用户以第二种横向握持方式握持,终端的握持位置210为:终端的右侧。这时,在终端屏幕的显示区域中,与终端的右侧相邻的区域可为图2D中的虚线框所指示的相邻区域211。实施例涉及的第一种竖直握持方式和第二种竖直握持方式包括:终端的背面与水平地面成一倾斜角的竖直握持方式;第一种横向握持方式和第二种横向握持方式包括:终端的背面与水平地面成一倾斜角的横向握持方式。In the first implementation, the terminal can analyze the holding position of the terminal through a built-in gravity sensor, such as a three-axis gyroscope. The holding position of the terminal will be explained in detail below with reference to Figs. 2A to 2D. As shown in FIG. 2A, the terminal is held by the user in a first vertical holding manner, and the holding position 210 of the terminal is: the bottom end of the terminal. At this time, in the display area of the terminal screen, the area adjacent to the bottom end of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2A. As shown in FIG. 2B, the terminal is held by the user in a second vertical holding manner, and the holding position 210 of the terminal is: the top end of the terminal. At this time, in the display area of the terminal screen, the area adjacent to the top end of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2B. As shown in FIG. 2C, the terminal is held by the user in the first horizontal holding manner, and the holding position 210 of the terminal is: the left side of the terminal. At this time, in the display area of the terminal screen, the area adjacent to the left side of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2C. As shown in FIG. 2D, the terminal is held by the user in a second lateral holding manner, and the holding position 210 of the terminal is: the right side of the terminal. At this time, in the display area of the terminal screen, the area adjacent to the right side of the terminal may be the adjacent area 211 indicated by the broken line frame in FIG. 2D. The first vertical holding manner and the second vertical holding manner involved in the embodiment include: a vertical holding manner in which the back side of the terminal is inclined at an oblique angle to the horizontal ground; the first horizontal holding manner and the second type The lateral holding manner includes a lateral holding manner in which the back side of the terminal is inclined at an oblique angle to the horizontal ground.
具体的,终端可以通过重力感应器获得的(X,Y,Z)三维坐标来表示上述四种握持方式。例如,重力感应器获取的三维坐标为(0,1,0)。三维坐标为(0,1,0)表示:终端的X轴和Z轴与水平地面平行,终端的Y轴与水平地面垂直,即,终端被用户以图2A所示的第一种竖直握持方式握持。可以理解的,前述三维坐标(0,1,0)也可用于指示的终端的握持位置为:终端的底端。即,终端可以通过重力感应器获得的(X,Y,Z)三维坐标来表示终端的握持位置。Specifically, the terminal can represent the above four holding modes by using (X, Y, Z) three-dimensional coordinates obtained by the gravity sensor. For example, the three-dimensional coordinates acquired by the gravity sensor are (0, 1, 0). The three-dimensional coordinates are (0, 1, 0) indicating that the X and Z axes of the terminal are parallel to the horizontal ground, and the Y axis of the terminal is perpendicular to the horizontal ground, that is, the terminal is held by the user in the first vertical position shown in FIG. 2A. Holding the way. It can be understood that the aforementioned three-dimensional coordinates (0, 1, 0) can also be used to indicate the holding position of the terminal: the bottom end of the terminal. That is, the terminal can represent the holding position of the terminal by the (X, Y, Z) three-dimensional coordinates obtained by the gravity sensor.
在第二种实现方式中,终端可通过内置的压力传感器,例如分布在终端的背部或左右两侧的抓握压力传感器,来分析出终端的握持位置。抓握压力传感器可以感知不同级别的手指抓握压力。终端可通过抓握压力传感器感知用户握持手机的位置。例如,如图2A所示,终端被用户以第一种竖直握持方式握持。如果终端感知到用户单手在终端底端握持终端,则终端的握持位置为:终端的底端,这时,相邻区域211在终端的底端附近。如果终端感知到用户单手在终端顶端握持终端,则终端的握持位置为:终端的顶端,这时,相邻区域211在终端的顶端附近。如果终端感知到用户单手在终端中部握持终端,则终端的握持位置为:终端的中部,这时,相邻区域211在终端的中部附近。 In the second implementation manner, the terminal can analyze the holding position of the terminal through a built-in pressure sensor, such as a grip pressure sensor distributed on the back or left and right sides of the terminal. The grip pressure sensor can sense different levels of finger grip pressure. The terminal can sense the position of the user holding the mobile phone through the grip pressure sensor. For example, as shown in FIG. 2A, the terminal is held by the user in a first vertical grip. If the terminal perceives that the user holds the terminal at the bottom of the terminal with one hand, the holding position of the terminal is: the bottom end of the terminal, and at this time, the adjacent area 211 is near the bottom end of the terminal. If the terminal senses that the user holds the terminal at the top of the terminal with one hand, the holding position of the terminal is: the top end of the terminal, and the adjacent area 211 is near the top end of the terminal. If the terminal senses that the user holds the terminal in the middle of the terminal with one hand, the holding position of the terminal is: the middle of the terminal, and the adjacent area 211 is near the middle of the terminal.
可以理解的,所述不同级别的手指抓握压力对应不同的压力数据。那么,终端可以通过抓握压力传感器获取的压力数据来表示终端的握持位置。It will be appreciated that the different levels of finger grip pressure correspond to different pressure data. Then, the terminal can indicate the holding position of the terminal by grasping the pressure data acquired by the pressure sensor.
实际应用中,对于上述两种实现方式,终端还可以结合用户设置的惯用手信息(包括惯用左手和惯用右手)来进一步的分析出终端的握持位置是在图2A至图2D中的相邻区域211中的左侧或者右侧。In practical applications, for the above two implementation manners, the terminal can further analyze the grip position of the terminal in the adjacent position in FIG. 2A to FIG. 2D by combining the idiot information set by the user (including the left-handed and the right-handed). The left or right side of the area 211.
本发明实施例中,除了根据终端的握持位置确定所述虚拟操作区域的显示位置外,终端还可以根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。例如,用户按住所述虚拟操作区域超过预设时长后,向右滑动,用以向右移动所述虚拟操作区域。终端还可以根据用户输入的其他操作来改变所述虚拟操作区域的显示位置,例如,终端接收用户通过语音控制功能输入的“向上”的语音信号,响应该“向上”语音控制信号,将所述虚拟操作区域向上移动。同样地,终端也可以根据用户输入改变所述虚拟控件在所述终端屏幕的显示区域中的显示位置。In the embodiment of the present invention, in addition to determining the display position of the virtual operation area according to the holding position of the terminal, the terminal may further change the display position of the virtual operation area in the display area of the terminal screen according to the user input. For example, after the user presses the virtual operation area for more than the preset duration, the user slides to the right to move the virtual operation area to the right. The terminal may also change the display position of the virtual operation area according to other operations input by the user. For example, the terminal receives an “up” voice signal input by the user through the voice control function, and responds to the “up” voice control signal. The virtual operating area moves up. Similarly, the terminal may also change the display position of the virtual control in the display area of the terminal screen according to user input.
本发明实施例中,在执行S105之后,终端还可以将所述位置光标的位置作为所述位置光标的最新历史位置保存,以使下一次在终端屏幕的显示区域中显示所述位置光标时,终端可以:判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标,若否,则在预设位置显示所述位置光标。In the embodiment of the present invention, after performing S105, the terminal may further save the position of the position cursor as the latest historical position of the position cursor, so that the next time the position cursor is displayed in the display area of the terminal screen, The terminal may: determine whether the latest historical position of the position cursor exists, and if yes, display the position cursor in the latest historical position, and if not, display the position cursor in the preset position.
本发明实施例中,所述虚拟控件设置的监听器的类型不同,产生所述移动指令的事件类型也不同。例如,实施例中涉及的所述虚拟控件可以设置有按键事件监听器,用以监听单击事件、双击事件、长按事件或者短按事件等按键事件。又例如,实施例中涉及的所述虚拟控件可以设置有拖拽事件监听器,用以监听拖拽所述虚拟控件产生的拖拽事件。In the embodiment of the present invention, the type of the listener set by the virtual control is different, and the type of the event that generates the mobile instruction is also different. For example, the virtual control involved in the embodiment may be provided with a button event listener for monitoring a button event such as a click event, a double-click event, a long press event, or a short press event. For another example, the virtual control involved in the embodiment may be provided with a drag event listener for monitoring a drag event generated by dragging the virtual control.
通过实施本发明实施例,终端可以通过所述虚拟控件来控制所述终端屏幕的显示区域中的所述位置光标的位置。终端可以在所述位置光标指示的位置处执行终端在所述虚拟控件接收到的触控指令。终端可实现通过较小区域(所述虚拟控件或者所述虚拟操作区域)的用户操作来控制较大的触控区域(所述终端屏幕的显示区域),有助于提高单手操作手机的便利性。 By implementing the embodiment of the present invention, the terminal can control the location of the location cursor in the display area of the terminal screen by using the virtual control. The terminal may execute a touch instruction received by the terminal at the virtual control at a position indicated by the position cursor. The terminal can implement a user operation of a small area (the virtual control or the virtual operation area) to control a large touch area (the display area of the terminal screen), which helps to improve the convenience of operating the mobile phone with one hand. Sex.
进一步地,本发明实施例中,在所述虚拟控件设置有拖拽事件的监听器,所述移动指令为拖拽所述虚拟控件产生的指令时,移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。下面结合图3A至图3C来详细说明本发明实施例提供的触控方法的技术方案。其中:Further, in the embodiment of the present invention, when the virtual control is provided with a listener of a drag event, when the move instruction is an instruction generated by dragging the virtual control, the moving direction indicated by the move instruction is the virtual control The direction of displacement of the initial position in the virtual operating region to the current position of the virtual control. The technical solution of the touch method provided by the embodiment of the present invention is described in detail below with reference to FIG. 3A to FIG. 3C. among them:
图3A至图3C说明根据本发明实施例,通过所述虚拟控件控制所述位置光标移动,并在所述虚拟操作区域中接收触控操作的示意图。3A-3C illustrate schematic diagrams of controlling the position cursor movement by the virtual control and receiving a touch operation in the virtual operation area, according to an embodiment of the present invention.
在图3A中,根据本发明实施例,在终端屏幕的显示区域204中显示虚拟操作区域202,虚拟操作区域202中包括虚拟控件201。用户快速地将虚拟控件201从位置S1拖拽至位置A1,并在位置A1处保持(hold)虚拟控件201,保持预设时长,例如,预设时长为0.5秒。其中,位置S1是虚拟控件201在虚拟操作区域202中的初始位置。在所述预设时长的时间内,终端根据位置S1到位置A1的位移的方向移动位置光标203,将位置光标203从位置S2移动至位置A2处。所述移动指令对应的移动方向为位置S1到位置A1的位移的方向。在所述预设时长的时间内,虚拟控件201的移动速率可以是预先设置的匀速的移动速率,也可以是预先设置的加速的移动速率。In FIG. 3A, a virtual operation area 202 is displayed in a display area 204 of a terminal screen, and a virtual control 201 is included in the virtual operation area 202, according to an embodiment of the present invention. The user quickly drags the virtual control 201 from position S1 to position A1 and holds the virtual control 201 at position A1 for a preset duration, for example, a preset duration of 0.5 seconds. Wherein, the position S1 is an initial position of the virtual control 201 in the virtual operation area 202. During the preset time period, the terminal moves the position cursor 203 according to the direction of the displacement of the position S1 to the position A1, and moves the position cursor 203 from the position S2 to the position A2. The moving direction corresponding to the movement instruction is the direction of the displacement of the position S1 to the position A1. During the preset time period, the moving speed of the virtual control 201 may be a preset moving speed of a constant speed, or may be a preset moving speed.
需要说明的,实施例中的所述用户快速地将虚拟控件201从位置S1拖拽至位置A1是指虚拟控件201从位置S1被移动至位置A1的时间很短,可不计入移动位置光标203的移动时间。实施例中涉及的保持(hold)虚拟控件201为在拖拽虚拟控件201的过程中按住虚拟控件201不松开并且保持静止,即,保持虚拟控件201处于静止的被拖拽状态。本发明实施中,当用户将虚拟控件201从初始位置S1拖拽至位置A1后松开(release)虚拟控件201,虚拟控件201将返回初始位置S1。It should be noted that the user in the embodiment quickly dragging the virtual control 201 from the position S1 to the position A1 means that the virtual control 201 is moved from the position S1 to the position A1 for a short time, and may not be counted in the moving position cursor 203. The time of the move. The hold virtual control 201 involved in the embodiment is a dragged state in which the virtual control 201 is not released and remains stationary during the process of dragging the virtual control 201, that is, keeping the virtual control 201 in a stationary state. In the implementation of the present invention, when the user drags the virtual control 201 from the initial position S1 to the position A1 and releases the virtual control 201, the virtual control 201 will return to the initial position S1.
在图3B中,位置光标203所处的位置为下拉菜单205的接收用户输入的区域。此时,终端在虚拟操作区域202中非虚拟控件201所在区域内接收到用户的下滑(swipe down)操作产生的触控指令,并在位置光标203所处的位置,即下拉菜单205处,执行所述下滑操作对应的触控指令。终端在下拉菜单205处执行所述触控指令后,终端可如图3C所示打开下拉菜单205。需要说明的,虚拟操作区域202中的虚拟控件201也可以用于接收用户输入的单向滑动操作。例如, 用户按住虚拟控件201超过预设时长(所述预设时长用以区别拖拽操作中按住虚拟控件201的时间)后,向下滑动虚拟控件201,用以在位置光标203所处的位置执行所述向下滑动的触控操作对应的触控指令。In FIG. 3B, the position where the position cursor 203 is located is the area in which the user input of the pull-down menu 205 is received. At this time, the terminal receives the touch instruction generated by the user's swipe down operation in the area where the non-virtual control 201 is located in the virtual operation area 202, and executes at the position where the position cursor 203 is located, that is, the pull-down menu 205. The touch operation corresponds to the touch command. After the terminal executes the touch command at the pull-down menu 205, the terminal may open the pull-down menu 205 as shown in FIG. 3C. It should be noted that the virtual control 201 in the virtual operation area 202 can also be used to receive a one-way sliding operation input by the user. E.g, After the user presses the virtual control 201 for more than the preset duration (the preset duration is used to distinguish the time when the virtual control 201 is held down during the drag operation), the virtual control 201 is swiped downward to be at the position where the position cursor 203 is located. Performing a touch instruction corresponding to the touch operation of the downward sliding.
另外,终端还可以在虚拟操作区域202中监测所述移动指令;当在虚拟操作区域202中没有接收到所述移动指令时,终端将虚拟控件201移动至虚拟控件201在虚拟操作区域202中的初始位置S1或者将虚拟控件201保持在虚拟控件201与虚拟操作区域202的边缘最后相交的位置。终端在虚拟操作区域202中没有接收到所述移动指令的情形可包括:虚拟控件201处于初始位置S1不动,或者,虚拟控件201被用户拖拽超出了虚拟操作区域202。当用户拖拽虚拟控件201时,终端还可以:判断虚拟控件201的位置是否超出虚拟操作区域202,若是,则将虚拟控件201移动至虚拟控件201在虚拟操作区域202中的初始位置S1或者将虚拟控件201保持在虚拟控件201与虚拟操作区域202的边缘最后相交的位置。In addition, the terminal may also monitor the movement instruction in the virtual operation area 202; when the movement instruction is not received in the virtual operation area 202, the terminal moves the virtual control 201 to the virtual control 201 in the virtual operation area 202. The initial position S1 either maintains the virtual control 201 at the position where the virtual control 201 intersects the edge of the virtual operation area 202 last. The case where the terminal does not receive the movement instruction in the virtual operation area 202 may include that the virtual control 201 is not in the initial position S1, or the virtual control 201 is dragged by the user beyond the virtual operation area 202. When the user drags the virtual control 201, the terminal may further: determine whether the position of the virtual control 201 exceeds the virtual operation area 202, and if so, move the virtual control 201 to the initial position S1 of the virtual control 201 in the virtual operation area 202 or The virtual control 201 remains at the position where the virtual control 201 intersects the edge of the virtual operation area 202 last.
需要说明的,本发明实施例中,所述虚拟操作区域可以是图示的圆形区域202,实际应用中,所述虚拟操作区域还可以呈现其他形状,这里不作限制。It should be noted that, in the embodiment of the present invention, the virtual operation area may be a circular area 202 as shown in the figure. In an actual application, the virtual operation area may also take other shapes, which is not limited herein.
通过实施本发明实施例,终端可以通过拖拽所述虚拟操作区域中的所述虚拟控件的移动来控制所述终端屏幕的显示区域中的所述位置光标的移动,并在所述位置光标指示的位置处执行终端在所述虚拟操作区域中接收到的触控指令。终端可实现通过较小区域(所述虚拟操作区域)的触控操作来控制较大的触控区域(所述终端屏幕的显示区域),有助于提高单手操作手机的便利性。By implementing the embodiment of the present invention, the terminal may control the movement of the position cursor in the display area of the terminal screen by dragging the movement of the virtual control in the virtual operation area, and indicate the cursor at the position The location receives the touch command received by the terminal in the virtual operation area. The terminal can control a large touch area (the display area of the terminal screen) by a touch operation of a small area (the virtual operation area), which helps improve the convenience of operating the mobile phone with one hand.
进一步地,本发明实施例中,在所述虚拟控件设置有拖拽事件的监听器,所述移动指令为拖拽所述虚拟控件产生的指令时,所述移动指令指示的移动速率包括:当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。下面结合图4A至图4D来详细说明本发明实施例提供的触控方法的技术方案。其中:Further, in the embodiment of the present invention, when the virtual control is provided with a listener of a drag event, when the move instruction is an instruction generated by dragging the virtual control, the moving speed indicated by the move instruction includes: When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. The technical solution of the touch method provided by the embodiment of the present invention is described in detail below with reference to FIG. 4A to FIG. 4D. among them:
图4A至4D说明根据本发明实施例,在所述虚拟控件设置有拖拽事件的监听器,所述移动指令为拖拽所述虚拟控件产生的指令时,通过所述虚拟控件变速的控制所述位置光标移动,并在所述虚拟操作区域中接收触控操作的示意图。 4A to 4D illustrate a listener in which a virtual control is provided with a drag event, and the move instruction is a control device that shifts by the virtual control when the instruction generated by the virtual control is dragged according to an embodiment of the present invention. The position cursor moves, and a schematic diagram of the touch operation is received in the virtual operation area.
在图4A中,当位置光标203处于位置A2,位置光标203离目标操作对象206距离较远时,用户将虚拟控件201从位置A1拖拽至位置B1处。根据本发明实施例,位置光标203的移动速率与虚拟控件201的当前位置到虚拟控件201在虚拟操作区域202中的初始位置的距离成正相关关系,即虚拟控件201距离初始位置S1越远,位置光标203的移动速率越大。那么,虚拟控件201被保持在位置B1处时对应的位置光标203的移动速率大于虚拟控件201被保持在位置A1处时对应的位置光标203的移动速率,可通过增加虚拟控件201与其初始位置S1的距离来控制位置光标203快速的靠近目标操作对象206。In FIG. 4A, when the position cursor 203 is at the position A2 and the position cursor 203 is farther away from the target operation object 206, the user drags the virtual control 201 from the position A1 to the position B1. According to the embodiment of the present invention, the moving speed of the position cursor 203 is positively correlated with the distance from the current position of the virtual control 201 to the initial position of the virtual control 201 in the virtual operating area 202, that is, the farther the virtual control 201 is from the initial position S1, the position The rate of movement of the cursor 203 is greater. Then, when the virtual control 201 is held at the position B1, the moving speed of the corresponding position cursor 203 is greater than the moving speed of the corresponding position cursor 203 when the virtual control 201 is held at the position A1, by adding the virtual control 201 and its initial position S1. The distance controls the position cursor 203 to quickly approach the target operational object 206.
在图4B中,当位置光标203处于位置B2,位置光标203离目标操作对象206距离较近时,用户将虚拟控件201从位置B1拖拽至位置C1处。根据本发明实施例,位置光标203的移动速率与虚拟控件201的当前位置到虚拟控件201在虚拟操作区域202中的初始位置的距离成正相关关系,即虚拟控件201距离初始位置S1越近,位置光标203的移动速率越小。那么,虚拟控件201被保持在位置C1处时对应的位置光标203的移动速率小于虚拟控件201被保持在位置B1处时对应的位置光标203的移动速率,可通过减小虚拟控件201与其初始位置S1的距离来避免位置光标203因为移动速度过快而错过目标操作对象206。In FIG. 4B, when the position cursor 203 is at the position B2 and the position cursor 203 is closer to the target operation object 206, the user drags the virtual control 201 from the position B1 to the position C1. According to the embodiment of the present invention, the moving speed of the position cursor 203 is positively correlated with the distance from the current position of the virtual control 201 to the initial position of the virtual control 201 in the virtual operating area 202, that is, the closer the virtual control 201 is to the initial position S1, the position The rate of movement of the cursor 203 is smaller. Then, when the virtual control 201 is held at the position C1, the moving speed of the corresponding position cursor 203 is smaller than the moving speed of the corresponding position cursor 203 when the virtual control 201 is held at the position B1, by reducing the virtual control 201 and its initial position. The distance of S1 is to prevent the position cursor 203 from missing the target operation object 206 because the moving speed is too fast.
具体的,本发明实施例中,位置光标203的移动速率与虚拟控件201的当前位置到初始位置S1的距离成正相关关系,可包括:位置光标203的移动速率与虚拟控件201的当前位置到其初始位置S1的距离成正比;或者,位置光标203的移动速率包括M个移动速率,所述M个移动速率与连续相邻的M个距离区间按照从小到大的顺序一一对应,如果虚拟控件201的当前位置与初始位置S1之间的距离处于所述M个距离区间中的第i个距离区间,则位置光标203的移动速率为所述第i个距离区间对应的第i个移动速率,M为正整数,i为正整数。Specifically, in the embodiment of the present invention, the moving rate of the position cursor 203 is positively correlated with the distance from the current position of the virtual control 201 to the initial position S1, and may include: the moving speed of the position cursor 203 and the current position of the virtual control 201 to The distance of the initial position S1 is proportional; or, the moving rate of the position cursor 203 includes M moving rates, and the M moving rates are in one-to-one correspondence with consecutively adjacent M distance intervals in the order of small to large, if the virtual control The distance between the current position of 201 and the initial position S1 is in the i-th distance interval of the M distance intervals, and the moving rate of the position cursor 203 is the i-th moving rate corresponding to the i-th distance interval. M is a positive integer and i is a positive integer.
在图4C中,当位置光标到达目标操作对象206时,虚拟控件201被释放(release)。终端在虚拟操作区域202中接收到用户输入的放大(spread)操作,并在位置光标203所处的位置,即图片206处,执行所述放大操作对应的放大指令。响应该放大指令,终端放大图片206。In FIG. 4C, when the position cursor reaches the target operation object 206, the virtual control 201 is released. The terminal receives a spread operation input by the user in the virtual operation area 202, and performs an enlargement instruction corresponding to the enlargement operation at the position where the position cursor 203 is located, that is, the picture 206. In response to the zoom in command, the terminal amplifies the picture 206.
可选的,如图4D所示,用户也可以缓慢地将虚拟控件201从位置S1拖 拽至位置A1。本发明实施例中,当虚拟控件201处于动态的被拖拽状态时,位置光标203的移动速率可为预设倍数的虚拟控件201被拖拽的拖拽速率,或者,位置光标203的移动速率可以与虚拟控件201的当前位置到虚拟控件201在虚拟操作区域202中的初始位置的距离成正相关关系。Optionally, as shown in FIG. 4D, the user can also slowly drag the virtual control 201 from the position S1. Go to location A1. In the embodiment of the present invention, when the virtual control 201 is in the dynamic dragged state, the moving speed of the position cursor 203 may be a drag rate of the preset multiple of the virtual control 201 being dragged, or the moving speed of the position cursor 203. The relationship may be positively related to the distance from the current position of the virtual control 201 to the initial position of the virtual control 201 in the virtual operating area 202.
需要说明的,本发明实施例涉及的所述虚拟控件处于静态的被拖拽状态是指:在拖拽所述虚拟控件的过程中按住所述虚拟控件不松开并且保持所述虚拟控件静止的状态,例如,虚拟控件201如图4A所示被保持在位置A1处。本发明实施例涉及的所述虚拟控件处于动态的被拖拽状态是指:在拖拽所述虚拟控件的过程中按住所述虚拟控件不松开并且不断移动所述虚拟控件的状态,例如,虚拟控件201如图4A所示从位置A1移至位置B1处。It should be noted that the virtual control in the static dragged state according to the embodiment of the present invention refers to: pressing and holding the virtual control during the dragging of the virtual control does not release and keep the virtual control stationary. The state, for example, the virtual control 201 is held at position A1 as shown in FIG. 4A. The virtual control in the dynamic drag-and-drop state in the embodiment of the present invention means that the virtual control does not release and continuously move the virtual control during the process of dragging the virtual control, for example, The virtual control 201 is moved from position A1 to position B1 as shown in FIG. 4A.
通过实施本发明实施例,终端可以通过改变所述虚拟操作区域中所述虚拟控件与其初始位置之间的距离,来改变所述终端屏幕的显示区域中的所述位置光标的移动速率,并可以在所述位置光标指示的位置处执行终端在所述虚拟操作区域中接收到的触控指令。终端可实现通过调节位置光标的移动速率来提高控制较大的触控区域(所述终端屏幕的显示区域)的精准性。By implementing the embodiment of the present invention, the terminal may change the moving speed of the position cursor in the display area of the terminal screen by changing the distance between the virtual control and the initial position in the virtual operation area, and may A touch instruction received by the terminal in the virtual operation area is performed at a position indicated by the position cursor. The terminal can improve the accuracy of controlling a larger touch area (the display area of the terminal screen) by adjusting the moving speed of the position cursor.
进一步地,本发明实施例中,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标,包括:根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。下面结合图5来详细说明本发明实施例提供的触控方法的技术方案。其中:Further, in the embodiment of the present invention, the virtual control includes N operation areas, and the N operation areas correspond to N moving directions; and the movement instruction is applied to one of the N operation areas. An instruction that the N is a positive integer; the moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, comprising: moving according to an operation area in which the virtual control is operated The position and the preset rate move the position cursor, and N is a positive integer. The technical solution of the touch method provided by the embodiment of the present invention is described in detail below with reference to FIG. among them:
图5说明根据本发明实施例,在所述虚拟控件包括N个操作区域,所述移动指令为作用于所述N个操作区域中的一个操作区域的指令时,通过所述虚拟控件控制位置光标的移动。FIG. 5 illustrates a control of a position cursor by the virtual control when the virtual control includes N operation areas, and the movement instruction is an instruction acting on one of the N operation areas, according to an embodiment of the present invention. The movement.
在图5中,虚拟控件201包括:操作区域2011,操作区域2012,操作区域2013,操作区域2014。其中,操作区域2011对应的移动方向为:向左;操作区域2012对应的移动方向为:向上;操作区域2013对应的移动方向为:向右;操作区域 2014对应的移动方向为:向下。如图5所示,当用户按下操作区域2013时,终端控制位置光标203向右移动。当用户按下操作区域2013时,终端可以预先设置的移动速率来移动位置光标203。具体实现中,终端也可以通过图5所示的虚拟控件201来调节位置光标203的移动速率。例如,连续2次按下操作区域2013对应加速移动位置光标203的操作。In FIG. 5, the virtual control 201 includes an operation area 2011, an operation area 2012, an operation area 2013, and an operation area 2014. The moving direction corresponding to the operating area 2011 is: to the left; the moving direction corresponding to the operating area 2012 is: upward; the moving direction corresponding to the operating area 2013 is: rightward; operating area The corresponding moving direction of 2014 is: downward. As shown in FIG. 5, when the user presses the operation area 2013, the terminal controls the position cursor 203 to move to the right. When the user presses the operation area 2013, the terminal can move the position cursor 203 at a preset movement rate. In a specific implementation, the terminal can also adjust the moving speed of the position cursor 203 through the virtual control 201 shown in FIG. 5. For example, pressing the operation area 2013 twice in succession corresponds to the operation of accelerating the movement position cursor 203.
图6是本发明实施例提供的触控装置的一种实施例的结构示意图。如图6所示的触控装置60可包括:获取单元601,显示单元603,第一响应单元605,第二响应单元607。触控装置60可以用于执行上述全部内容所述的方法。图6所示的实施例中没有提及的内容,可以参考图1、图3A-3C或者图4A-4D,或者图5分别对应的实施例中的描述。FIG. 6 is a schematic structural diagram of an embodiment of a touch device according to an embodiment of the present invention. The touch device 60 shown in FIG. 6 may include: an obtaining unit 601, a display unit 603, a first response unit 605, and a second response unit 607. Touch device 60 can be used to perform the methods described above in all of the above. For the contents not mentioned in the embodiment shown in FIG. 6, reference may be made to FIG. 1, FIG. 3A-3C or FIG. 4A-4D, or the description in the corresponding embodiment of FIG.
获取单元601,用于通过预设传感器获取终端的握持位置;The obtaining unit 601 is configured to acquire a holding position of the terminal by using a preset sensor;
显示单元603,用于在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;a display unit 603, configured to display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, where the virtual control is used for receiving the control a movement instruction for the position of the position cursor;
第一响应单元605,用于当通过所述虚拟控件接收到所述移动指令时,响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标。a first response unit 605, configured to: when the movement instruction is received by the virtual control, move the position according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, in response to the moving instruction cursor.
第二响应单元607,用于当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。The second response unit 607 is configured to: when the virtual control receives the first touch instruction generated by the first touch operation, perform the first touch operation corresponding to the position indicated by the position cursor A touch command.
具体的,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内。Specifically, the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen.
进一步的,如图7所示,触控装置60包括:获取单元601,显示单元603,第一响应单元605和第二响应单元607外,还可以包括:第三响应单元609。其中:Further, as shown in FIG. 7 , the touch device 60 includes: an obtaining unit 601 , a display unit 603 , a first response unit 605 and a second response unit 607 , and may further include: a third response unit 609 . among them:
第三响应单元609,用于用于当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,响应所述第二触控指令,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。 The third response unit 609 is configured to: when the second touch command generated by the second touch operation is received in the virtual operation area, respond to the second touch instruction, and the cursor is in the position The second touch instruction corresponding to the second touch operation is performed at the location.
具体的,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。Specifically, the first touch instruction includes: a touch operation generated by a click operation or a double-click operation; and the second touch instruction includes: a touch operation, a double-click operation, a one-way slide operation, or a touch operation Control instructions.
更进一步的,触控装置60包括:获取单元601,显示单元603,第一响应单元605,第二响应单元607,第三响应单元609外,还可以包括:第四响应单元,用于根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。Further, the touch device 60 includes: an obtaining unit 601, a display unit 603, a first response unit 605, a second response unit 607, and a third response unit 609, and may further include: a fourth response unit, configured to The input changes the display position of the virtual operation area in the display area of the terminal screen.
更进一步的,触控装置60包括:获取单元601,显示单元603,第一响应单元605,第二响应单元607,第三响应单元609外,还可以包括:记录单元,所述记录单元用于在第一响应单元605根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,将所述位置光标的位置作为所述位置光标的最新历史位置保存,以使显示单元603具体用于:判断所述位置光标的最新历史位置是否存在,若是,则显示单元603在所述最新历史位置显示所述位置光标,若否,则显示单元603在预设位置显示所述位置光标。Further, the touch device 60 includes: an obtaining unit 601, a display unit 603, a first response unit 605, a second response unit 607, and a third response unit 609, and may further include: a recording unit, wherein the recording unit is configured to: After the first response unit 605 moves the position cursor according to the moving direction indicated by the movement instruction and the movement rate indicated by the movement instruction, the position of the position cursor is saved as the latest historical position of the position cursor, The display unit 603 is specifically configured to: determine whether the latest historical position of the position cursor exists, and if so, the display unit 603 displays the position cursor in the latest historical position, and if not, the display unit 603 displays the preset position. The position cursor.
本发明实施例中,在所述虚拟控件设置有拖拽事件的监听器,所述移动指令为拖拽所述虚拟控件产生的指令时,所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。In the embodiment of the present invention, when the virtual control is provided with a listener of a drag event, when the move instruction is an instruction generated by dragging the virtual control, the moving direction indicated by the move instruction is that the virtual control is The direction of displacement of the initial position in the virtual operating area to the current position of the virtual control.
本发明实施例中,在所述虚拟控件设置有拖拽事件的监听器,所述移动指令为拖拽所述虚拟控件产生的指令时,所述移动指令指示的移动速率包括:当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。In the embodiment of the present invention, when the virtual control is provided with a listener of a drag event, when the move instruction is an instruction generated by dragging the virtual control, the moving rate indicated by the move instruction includes: when the virtual When the control is in the dynamic dragged state, the moving rate indicated by the moving instruction is a drag rate of the preset multiple of the virtual control being dragged; or the moving rate indicated by the moving instruction and the virtual control a current position to a positive correlation of a distance of the virtual control in an initial position in the virtual operation area; a movement rate indicated by the movement instruction and the virtual when the virtual control is in a static dragged state The current position of the control is positively correlated to the distance of the virtual control's initial position in the virtual operating region.
另外,本发明实施例中,触控装置60还可以包括:监测单元,用于在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初 始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。In addition, in the embodiment of the present invention, the touch device 60 may further include: a monitoring unit, configured to monitor the movement instruction in the virtual operation area; when the movement instruction is not received in the virtual operation area Moving the virtual control to the beginning of the virtual control in the virtual operation area The start position or maintain the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
本发明实施例中,所述虚拟控件可以包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数。在所述虚拟控件包括N个操作区域,所述移动指令为作用于所述N个操作区域中的一个操作区域的指令时,第一响应单元603具体用于:根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。In the embodiment of the present invention, the virtual control may include N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is an instruction that acts on one of the N operation areas. The N is a positive integer. When the virtual control includes N operating areas, and the moving instruction is an instruction that is applied to one of the N operating areas, the first response unit 603 is specifically configured to: be operated according to the virtual control The moving direction corresponding to the operation area and the preset rate move the position cursor, and N is a positive integer.
可理解的是,触控装置60中各功能模块的功能可根据上述方法实施例中的方法具体实现,这里不再赘述。It can be understood that the functions of the functional modules in the touch device 60 can be specifically implemented according to the method in the foregoing method embodiment, and details are not described herein again.
为了便于更好地实施本发明实施例的上述方案,本发明还提供了用于配合实施上述方案的终端。下面结合图8示出的本发明提供的终端80的结构示意图,进行详细说明:In order to facilitate the implementation of the above solution of the embodiments of the present invention, the present invention also provides a terminal for implementing the above solution. The following is a detailed description of the structure of the terminal 80 provided by the present invention shown in FIG. 8 :
终端80包括:输入装置803、输出装置804、存储器802和处理器801(终端80中的处理器801的数量可以一个或多个,图8中以一个处理器为例)。在本发明的一些实施例中,输入装置803、输出装置804、存储器802和处理器801可通过总线或者其它方式连接,其中,图8中以通过总线连接为例。The terminal 80 includes an input device 803, an output device 804, a memory 802, and a processor 801 (the number of processors 801 in the terminal 80 may be one or more, and one processor in FIG. 8 is taken as an example). In some embodiments of the present invention, the input device 803, the output device 804, the memory 802, and the processor 801 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
其中,存储器802用于存储程序代码,处理器801用于调用该存储器存储的程序代码执行如下步骤:The memory 802 is configured to store program code, and the processor 801 is configured to invoke the program code stored in the memory to perform the following steps:
通过预设传感器获取终端的握持位置;Obtaining the holding position of the terminal by using a preset sensor;
通过输出装置804在终端屏幕的显示区域中显示位置光标,并通过输出装置804在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;Displaying a position cursor in a display area of the terminal screen by the output device 804, and displaying a virtual control in an area adjacent to the holding position in the display area of the terminal screen by the output device 804, the virtual control being used for receiving a movement instruction that controls the position of the position cursor;
当利用输入装置803通过所述虚拟控件接收到所述移动指令时,响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标;When the movement instruction is received by the virtual control by the input device 803, in response to the movement instruction, moving the position cursor according to a movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction;
当利用输入装置803通过所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一 触控指令。When the first touch command generated by the first touch operation is received by the virtual control by the input device 803, the first touch corresponding to the first touch operation is performed at the position indicated by the position cursor Touch command.
具体的,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内。具体的,当利用输入装置803在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,处理器801响应所述第二触控指令,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。Specifically, the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen. Specifically, when the second touch command generated by the second touch operation is received by the input device 803 in the virtual operation area, the processor 801 responds to the second touch command to indicate the cursor at the position. The second touch instruction corresponding to the second touch operation is performed at the location.
具体的,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。Specifically, the first touch instruction includes: a touch operation generated by a click operation or a double-click operation; and the second touch instruction includes: a touch operation, a double-click operation, a one-way slide operation, or a touch operation Control instructions.
具体的,处理器801还可通过输入装置803接收用户输入,并根据所述用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。Specifically, the processor 801 may further receive a user input through the input device 803, and change a display position of the virtual operation area in a display area of the terminal screen according to the user input.
本发明实施例中,在根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,处理器801还可以将所述位置光标的位置作为所述位置光标的最新历史位置保存。具体实现中,在终端屏幕的显示区域中通过输出装置804显示位置光标时,处理器801可以判断所述位置光标的最新历史位置是否存在,若是,则通过输出装置804在所述最新历史位置显示所述位置光标,若否,则通过输出装置804在预设位置显示所述位置光标。In the embodiment of the present invention, after moving the position cursor according to the moving direction indicated by the moving instruction and the moving rate indicated by the moving instruction, the processor 801 may further use the position of the position cursor as the position cursor. The latest historical location is saved. In a specific implementation, when the position cursor is displayed by the output device 804 in the display area of the terminal screen, the processor 801 can determine whether the latest historical position of the position cursor exists, and if so, display the latest historical position by the output device 804. The position cursor, if not, displays the position cursor at a preset position by the output device 804.
本发明实施例中,所述移动指令可为拖拽所述虚拟控件产生的指令。所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。所述移动指令指示的移动速率包括:当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。In the embodiment of the present invention, the moving instruction may be an instruction generated by dragging the virtual control. The moving direction indicated by the movement instruction is a displacement direction of an initial position of the virtual control in the virtual operation area to a current position of the virtual control. The movement rate indicated by the movement instruction includes: when the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a predetermined multiple of the drag rate of the virtual control being dragged; or The movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area; when the virtual control is in a static dragged state The movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area.
具体的,当所述移动指令为拖拽所述虚拟控件产生的指令时,处理器801还可以:在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟 操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。Specifically, when the moving instruction is an instruction generated by dragging the virtual control, the processor 801 may further: monitor the movement instruction in the virtual operation area; when not received in the virtual operation area Moving the virtual control to the virtual control at the virtual The initial position in the operational region or the virtual control is maintained at a position where the virtual control intersects the edge of the virtual operational region last.
本发明实施例中,所述虚拟控件可以包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数。具体的,处理器801执行的所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的步骤,可以包括:处理器801根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标。N为正整数。In the embodiment of the present invention, the virtual control may include N operation areas, where the N operation areas correspond to N movement directions; and the movement instruction is an instruction that acts on one of the N operation areas. The N is a positive integer. Specifically, the step of moving, by the processor 801, the moving direction indicated by the moving instruction and the moving rate indicated by the moving instruction to move the position cursor may include: the processor 801 is operated according to the virtual control The position cursor is moved by a movement direction corresponding to the operation area and a preset rate. N is a positive integer.
可理解的是,终端80中各功能模块的功能可根据上述方法实施例中的方法具体实现,这里不再赘述。It can be understood that the functions of the functional modules in the terminal 80 can be specifically implemented according to the method in the foregoing method embodiment, and details are not described herein again.
便于更好地实施本发明实施例,本发明实施例进一步地提供了一种终端上的图形用户界面。所述终端具有触摸显示器、存储器和执行存储于存储器中的一个或多个程序的一个或多个处理器。所述图形用户界面包括:终端屏幕的显示区域,虚拟操作区域,位置光标和虚拟控件,所述终端屏幕的显示区域被显示在所述终端的所述触摸显示器上。下面结合图3A-3C或者图4A-4D来详细说明所述图形用户界面。如图所示,所述图形用户界面包括:终端屏幕的显示区域204,位置光标203和虚拟控件201。其中:To facilitate the implementation of the embodiments of the present invention, the embodiment of the present invention further provides a graphical user interface on the terminal. The terminal has a touch display, a memory, and one or more processors that execute one or more programs stored in the memory. The graphical user interface includes a display area of the terminal screen, a virtual operation area, a position cursor and a virtual control, and a display area of the terminal screen is displayed on the touch display of the terminal. The graphical user interface is described in detail below in conjunction with Figures 3A-3C or Figures 4A-4D. As shown, the graphical user interface includes a display area 204 of the terminal screen, a position cursor 203, and a virtual control 201. among them:
位置光标203被显示在终端屏幕的显示区域204中,虚拟控件201被显示在在终端屏幕的显示区域204中与终端的握持位置的相邻区域内;所述终端的握持位置是通过预设传感器获取的;The position cursor 203 is displayed in the display area 204 of the terminal screen, and the virtual control 201 is displayed in the adjacent area of the display area 204 of the terminal screen and the holding position of the terminal; the holding position of the terminal is pre- Set by the sensor;
虚拟控件201的移动被检测到,响应于虚拟控件201的移动,位置光标203根据虚拟控件201被移动时接收的移动指令所指示的方向和虚拟控件201被移动时接收的移动指令所指示的速率被移动;The movement of the virtual control 201 is detected, in response to the movement of the virtual control 201, the position cursor 203 is in accordance with the direction indicated by the movement instruction received when the virtual control 201 is moved and the rate indicated by the movement instruction received when the virtual control 201 is moved. Moved
虚拟控件201的第一触控操作被检测到,响应虚拟控件201的第一触控操作,在位置光标203处的操作对象按照检测到的所述第一触控操作被触控。具体的,所述第一触控操作可包括:单击操作、双击操作。The first touch operation of the virtual control 201 is detected. In response to the first touch operation of the virtual control 201, the operation object at the position cursor 203 is touched according to the detected first touch operation. Specifically, the first touch operation may include: a click operation, a double click operation.
进一步的,所述图形用户界面还可以包括:虚拟操作区域202,虚拟控件201可以显示在虚拟操作区域202中,虚拟操作区域202可以显示在终端屏幕的 显示区域204中与终端的握持位置的相邻区域内。其中,虚拟操作区域202中的第二触控操作被检测到,响应虚拟操作区域202的第二触控操作,在位置光标203处的操作对象按照检测到的所述第二触控操作被触控。具体的,所述第二触控操作可包括:单击操作、双击操作、单向滑动操作、缩放操作或者多点触控操作等。Further, the graphical user interface may further include: a virtual operation area 202, the virtual control 201 may be displayed in the virtual operation area 202, and the virtual operation area 202 may be displayed on the terminal screen. The area of the display area 204 that is adjacent to the holding position of the terminal. The second touch operation in the virtual operation area 202 is detected. In response to the second touch operation of the virtual operation area 202, the operation object at the position cursor 203 is touched according to the detected second touch operation. control. Specifically, the second touch operation may include: a click operation, a double click operation, a one-way sliding operation, a zoom operation, or a multi-touch operation.
需要说明的,本发明实施例中,所述虚拟操作区域可以是图示的圆形区域202,实际应用中,所述虚拟操作区域也可以呈现其他形状,这里不作限制。It should be noted that, in the embodiment of the present invention, the virtual operation area may be a circular area 202 as shown in the figure. In an actual application, the virtual operation area may also take other shapes, which is not limited herein.
便于更好地实施本发明实施例,本发明实施例进一步地提供了一种计算机程序产品,所述计算机程序产品包括可读取存储介质用于存储计算机程序代码,所述计算机程序代码运行在一个处理器上,所述计算机程序代码可包括:To facilitate the better implementation of the embodiments of the present invention, the embodiment of the present invention further provides a computer program product, the computer program product comprising a readable storage medium for storing computer program code, the computer program code running in a On the processor, the computer program code can include:
用于通过预设传感器获取终端的握持位置的指令;An instruction for acquiring a holding position of the terminal by using a preset sensor;
用于在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;For displaying a position cursor in a display area of the terminal screen, and displaying a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive a control for the position cursor Position movement instruction;
用于当通过所述虚拟控件接收到所述移动指令时,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的指令;And an instruction for moving the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction when the moving instruction is received by the virtual control;
用于当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令的指令。When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is executed at the position indicated by the position cursor .
具体的,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;所述计算机程序代码还包括:用于当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令的指令。Specifically, the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen; the computer program code further includes: When the second touch command generated by the second touch operation is received in the virtual operation area, performing the second touch instruction corresponding to the second touch operation at the position indicated by the position cursor instruction.
进一步的,所述计算机程序代码还可包括:用于根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置的指令。Further, the computer program code may further include: instructions for changing a display position of the virtual operation area in a display area of the terminal screen according to a user input.
进一步的,所述计算机程序代码还可包括:用于在所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的指令后,将所述位置光标的位置作为所述位置光标的最新历史位置保存的指令; Further, the computer program code may further include: after the instruction to move the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, the position cursor is The position is stored as an instruction to save the latest historical position of the position cursor;
进一步的,所述用于在终端屏幕的显示区域中显示位置光标的指令,可包括:用于判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标的指令,若否,则在预设位置显示所述位置光标的指令。Further, the instruction for displaying the position cursor in the display area of the terminal screen may include: determining whether the latest historical position of the position cursor exists, and if yes, displaying the position at the latest historical position The instruction of the cursor, if not, displays the command of the position cursor at a preset position.
具体实现中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。In a specific implementation, the moving instruction is an instruction generated by dragging the virtual control; the moving direction indicated by the moving instruction is an initial position of the virtual control in the virtual operating area to a current position of the virtual control. The direction of displacement.
具体实现中,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:In a specific implementation, the moving instruction is an instruction generated by dragging the virtual control; and the moving rate indicated by the moving instruction includes:
当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
进一步的,所述计算机程序代码还可包括:用于在所述虚拟操作区域中监测所述移动指令的指令;用于当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置的指令。Further, the computer program code may further include: an instruction for monitoring the movement instruction in the virtual operation area; for when the movement instruction is not received in the virtual operation area, The virtual control moves to an initial position of the virtual control in the virtual operation area or maintains the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
具体实现中,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。In a specific implementation, the first touch instruction includes: a touch operation generated by a click operation or a double-click operation; and the second touch instruction includes: a click operation, a double-click operation, a one-way slide operation, or a zoom operation. Touch command.
进一步的,所述虚拟控件可包括N个操作区域,所述N个操作区域可对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;具体的,所述用于根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的指令,包括:用于根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标 的指令,N为正整数。Further, the virtual control may include N operation areas, and the N operation areas may correspond to N movement directions; the movement instruction is an instruction that acts on one of the N operation areas, N is a positive integer; specifically, the instruction for moving the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction, comprising: being operated according to the virtual control Moving the position cursor by the moving direction corresponding to the operation area and the preset rate The instruction, N is a positive integer.
综上所述,实施本发明实施例,通过所述终端屏幕的显示区域中的所述虚拟控件来控制所述终端屏幕的显示区域中的位置光标的移动,并通过所述虚拟控件接收触控操作所产生的触控指令,在所述位置光标指示的位置处执行所述触控指令对应的触控操作,可实现通过较小区域的用户操作来控制较大的触控区域,有助于提高单手操作手机的便利性。 In summary, the embodiment of the present invention controls the movement of the position cursor in the display area of the terminal screen through the virtual control in the display area of the terminal screen, and receives the touch through the virtual control. The touch command generated by the operation performs the touch operation corresponding to the touch command at the position indicated by the position cursor, thereby realizing control of a large touch area by a user operation in a small area, which is helpful to Improve the convenience of operating a mobile phone with one hand.

Claims (29)

  1. 一种触控方法,其特征在于,包括:A touch method, comprising:
    通过预设传感器获取终端的握持位置;Obtaining the holding position of the terminal by using a preset sensor;
    在所述终端屏幕的显示区域中显示位置光标,并在所述终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;Displaying a position cursor in a display area of the terminal screen, and displaying a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive the control for the position a move instruction for the position of the cursor;
    当通过所述虚拟控件接收到所述移动指令时,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标;And when the moving instruction is received by the virtual control, moving the position cursor according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction;
    当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is performed at the position indicated by the position cursor.
  2. 根据权利要求1所述的方法,其特征在于,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;所述方法还包括:当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。The method according to claim 1, wherein the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen; The method further includes: when the second touch command generated by the second touch operation is received in the virtual operation area, performing the second touch operation corresponding to the position indicated by the position cursor The second touch command.
  3. 根据权利要求2所述的方法,其特征在于,还包括:根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。The method of claim 2, further comprising: changing a display position of the virtual operation area in a display area of the terminal screen according to a user input.
  4. 根据权利要求2或3所述的方法,其特征在于,在所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,还包括:将所述位置光标的位置作为所述位置光标的最新历史位置保存;The method according to claim 2 or 3, further comprising: moving the position cursor after moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction The position of the cursor is saved as the latest historical position of the position cursor;
    所述在所述终端屏幕的显示区域中显示位置光标,包括:判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标,若否,则在预设位置显示所述位置光标。The displaying the position cursor in the display area of the terminal screen includes: determining whether the latest historical position of the position cursor exists, and if yes, displaying the position cursor in the latest historical position, and if not, pre Set the position to display the position cursor.
  5. 根据权利要求2或3所述的方法,其特征在于,所述移动指令为拖拽所 述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。The method according to claim 2 or 3, wherein said moving instruction is a dragging station An instruction generated by the virtual control; the moving direction indicated by the moving instruction is a displacement direction of an initial position of the virtual control in the virtual operation area to a current position of the virtual control.
  6. 根据权利要求2或3所述的方法,其特征在于,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:The method according to claim 2 or 3, wherein the moving instruction is an instruction generated by dragging the virtual control; the moving rate indicated by the moving instruction comprises:
    当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
    当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
  7. 根据权利要求5或6所述的方法,其特征在于,还包括:在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。The method according to claim 5 or 6, further comprising: monitoring said movement instruction in said virtual operation area; and when said movement instruction is not received in said virtual operation area, The virtual control moves to an initial position of the virtual control in the virtual operation area or maintains the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  8. 根据权利要求5或6所述的方法,其特征在于,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。The method according to claim 5 or 6, wherein the first touch instruction comprises: a touch operation generated by a click operation or a double-click operation; and the second touch instruction comprises: clicking an operation, and double-clicking Touch commands generated by an operation, a one-way slide operation, or a zoom operation.
  9. 根据权利要求1所述的方法,其特征在于,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标,包括:根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。 The method according to claim 1, wherein the virtual control comprises N operation areas, the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, the N being a positive integer; moving the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, including: an operation according to the virtual control being operated The moving direction and the preset rate corresponding to the area move the position cursor, and N is a positive integer.
  10. 一种触控装置,其特征在于,包括:A touch device, comprising:
    获取单元,用于通过预设传感器获取终端的握持位置;An acquiring unit, configured to acquire a holding position of the terminal by using a preset sensor;
    显示单元,用于在所述终端屏幕的显示区域中显示位置光标,并在所述终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;a display unit, configured to display a position cursor in a display area of the terminal screen, and display a virtual control in an area adjacent to the holding position in a display area of the terminal screen, where the virtual control is used for receiving a movement instruction for controlling the position of the position cursor;
    第一响应单元,用于当通过所述虚拟控件接收到所述移动指令时,响应所述移动指令,根据所述移动指令指示的移动方向和所述第一指令移动指令指示的移动速率移动所述位置光标;a first response unit, configured to: when the movement instruction is received by the virtual control, move in accordance with a movement direction indicated by the movement instruction and a movement rate indicated by the first instruction movement instruction in response to the movement instruction Position cursor
    第二响应单元,用于当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。a second response unit, configured to: when the virtual control receives the first touch command generated by the first touch operation, perform the first corresponding to the first touch operation at the position indicated by the position cursor Touch command.
  11. 如权利要求10所述的装置,其特征在于,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;所述装置还包括:第三响应单元,用于当在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,响应所述第二触控指令,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。The device according to claim 10, wherein the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen; The device further includes: a third response unit, configured to respond to the second touch command when the second touch command generated by the second touch operation is received in the virtual operation area The second touch instruction corresponding to the second touch operation is performed at a position indicated by the position cursor.
  12. 如权利要求11所述的装置,其特征在于,还包括:第四响应单元,用于根据用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。The apparatus according to claim 11, further comprising: a fourth response unit configured to change a display position of said virtual operation area in a display area of said terminal screen according to a user input.
  13. 如权利要求11或12所述的装置,其特征在于,还包括:记录单元,用于在第一响应单元根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,将所述位置光标的位置作为所述位置光标的最新历史位置保存;所述显示单元具体用于:判断所述位置光标的最新历史位置是否存在,若是,则在所述最新历史位置显示所述位置光标,若否,则在预设位置显示所述位置光标。 The apparatus according to claim 11 or 12, further comprising: a recording unit configured to move the position by the first response unit according to a moving direction indicated by the moving instruction and a moving rate indicated by the moving instruction After the cursor, the position of the position cursor is saved as the latest historical position of the position cursor; the display unit is specifically configured to: determine whether the latest historical position of the position cursor exists, and if so, at the latest historical position The position cursor is displayed, and if not, the position cursor is displayed at a preset position.
  14. 如权利要求11或12所述的装置,其特征在于,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。The apparatus according to claim 11 or 12, wherein said moving instruction is an instruction generated by dragging said virtual control; said moving direction indicated by said moving instruction is said virtual control being in said virtual operating area The initial position to the displacement direction of the current position of the virtual control.
  15. 如权利要求11或12所述的装置,其特征在于,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:The apparatus according to claim 11 or 12, wherein the movement instruction is an instruction generated by dragging the virtual control; and the movement rate indicated by the movement instruction comprises:
    当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
    当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
  16. 如权利要求14或15所述的装置,其特征在于,还包括:监测单元,用于在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。The apparatus according to claim 14 or 15, further comprising: a monitoring unit configured to monitor the movement instruction in the virtual operation area; when the movement is not received in the virtual operation area And instructing to move the virtual control to an initial position of the virtual control in the virtual operation area or to maintain the virtual control at a position where the virtual control intersects the edge of the virtual operation area last.
  17. 如权利要求14或15所述的装置,其特征在于,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。The device according to claim 14 or 15, wherein the first touch command comprises: a touch command generated by a click operation or a double click operation; and the second touch command comprises: clicking an operation, and double-clicking Touch commands generated by an operation, a one-way slide operation, or a zoom operation.
  18. 如权利要求10所述的装置,其特征在于,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述第一响应单元具体用于:根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所 述位置光标,N为正整数。The device according to claim 10, wherein the virtual control comprises N operation areas, the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, where N is a positive integer; the first response unit is specifically configured to: move according to a moving direction and a preset rate corresponding to an operation area in which the virtual control is operated Position cursor, N is a positive integer.
  19. 一种终端,其特征在于,包括:处理器,输入装置和输出装置,其中:A terminal, comprising: a processor, an input device and an output device, wherein:
    所述处理器通过预设传感器获取终端的握持位置;The processor acquires a holding position of the terminal by using a preset sensor;
    所述处理器通过所述输出装置在所述终端屏幕的显示区域中显示位置光标,并通过所述输出装置在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;The processor displays a position cursor in a display area of the terminal screen through the output device, and displays a virtual control in an area adjacent to the holding position in a display area of the terminal screen by the output device, a virtual control for receiving a movement instruction for controlling a position of the position cursor;
    当利用所述输入装置通过所述虚拟控件接收到所述移动指令时,所述处理器响应所述移动指令,根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标;The processor, in response to the movement instruction, moves the movement direction indicated by the movement instruction and a movement rate indicated by the movement instruction, when the movement instruction is received by the virtual control using the input device Position cursor
    当利用所述输入装置通过所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令。When the first touch command generated by the first touch operation is received by the input device by using the virtual control, the first touch corresponding to the first touch operation is performed at the position indicated by the position cursor Control instructions.
  20. 如权利要求19所述的终端,其特征在于,所述虚拟控件显示在虚拟操作区域内,所述虚拟操作区域显示在所述终端屏幕的显示区域中与所述握持位置相邻区域内;当利用所述输入装置在所述虚拟操作区域中接收到第二触控操作所产生的第二触控指令时,所述处理器响应所述第二触控指令,在所述位置光标指示的位置处执行所述第二触控操作对应的第二触控指令。The terminal according to claim 19, wherein the virtual control is displayed in a virtual operation area, and the virtual operation area is displayed in an area adjacent to the holding position in a display area of the terminal screen; When the second touch command generated by the second touch operation is received by the input device in the virtual operation area, the processor is responsive to the second touch command, and is indicated by the cursor at the position The second touch instruction corresponding to the second touch operation is performed at the location.
  21. 如权利要求20所述的终端,其特征在于,还包括:所述处理器通过所述输入装置接收用户输入,并根据所述用户输入改变所述虚拟操作区域在所述终端屏幕的显示区域中的显示位置。The terminal according to claim 20, further comprising: said processor receiving a user input through said input means, and changing said virtual operation area in a display area of said terminal screen in accordance with said user input Display position.
  22. 如权利要求20或21所述的终端,其特征在于,在所述处理器根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标后,还包括:所述处理器将所述位置光标的位置作为所述位置光标的最新历史位置保存; The terminal according to claim 20 or 21, wherein after the processor moves the position cursor according to the moving direction indicated by the movement instruction and the moving rate indicated by the movement instruction, the method further includes: The processor saves the position of the position cursor as the latest historical position of the position cursor;
    所述处理器在终端屏幕的显示区域中通过所述输出装置显示位置光标的步骤,包括:所述处理器判断所述位置光标的最新历史位置是否存在,若是,则通过所述输出装置在所述最新历史位置显示所述位置光标,若否,则通过所述输出装置在预设位置显示所述位置光标。The step of the processor displaying the position cursor by the output device in the display area of the terminal screen includes: the processor determining whether the latest historical position of the position cursor exists, and if so, passing the output device The latest historical position displays the position cursor, and if not, the position cursor is displayed at the preset position by the output device.
  23. 如权利要求20或21所述的终端,其特征在于,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动方向是所述虚拟控件在所述虚拟操作区域中的初始位置到所述虚拟控件的当前位置的位移方向。The terminal according to claim 20 or 21, wherein the movement instruction is an instruction generated by dragging the virtual control; the moving direction indicated by the movement instruction is that the virtual control is in the virtual operation area The initial position to the displacement direction of the current position of the virtual control.
  24. 如权利要求20或21所述的终端,其特征在于,所述移动指令为拖拽所述虚拟控件产生的指令;所述移动指令指示的移动速率包括:The terminal according to claim 20 or 21, wherein the movement instruction is an instruction generated by dragging the virtual control; and the movement rate indicated by the movement instruction comprises:
    当所述虚拟控件处于动态的被拖拽状态时,所述移动指令指示的移动速率为预设倍数的所述虚拟控件被拖拽的拖拽速率;或者,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系;When the virtual control is in a dynamic dragged state, the movement rate indicated by the movement instruction is a drag rate of the preset multiple of the virtual control being dragged; or the movement rate indicated by the movement instruction is a current relationship between a current position of the virtual control and an initial position of the virtual control in the virtual operation area;
    当所述虚拟控件处于静止的被拖拽状态时,所述移动指令指示的移动速率与所述虚拟控件的当前位置到所述虚拟控件在所述虚拟操作区域中的初始位置的距离成正相关关系。When the virtual control is in a static dragged state, the movement rate indicated by the movement instruction is positively correlated with the distance from the current position of the virtual control to the initial position of the virtual control in the virtual operation area. .
  25. 如权利要求23或24所述的终端,其特征在于,还包括:所述处理器在所述虚拟操作区域中监测所述移动指令;当在所述虚拟操作区域中没有接收到所述移动指令时,将所述虚拟控件移动至所述虚拟控件在所述虚拟操作区域中的初始位置或者将所述虚拟控件保持在所述虚拟控件与所述虚拟操作区域的边缘最后相交的位置。The terminal according to claim 23 or 24, further comprising: said processor monitoring said movement instruction in said virtual operation area; and not receiving said movement instruction in said virtual operation area Moving the virtual control to an initial position of the virtual control in the virtual operation area or maintaining the virtual control at a position where the virtual control last intersects an edge of the virtual operation area.
  26. 如权利要求23或24所述的终端,其特征在于,所述第一触控指令包括:单击操作或者双击操作产生的触控指令;所述第二触控指令包括:单击操作、双击操作、单向滑动操作或者缩放操作产生的触控指令。 The terminal according to claim 23 or 24, wherein the first touch command comprises: a touch command generated by a click operation or a double click operation; and the second touch command includes: a click operation, a double click Touch commands generated by an operation, a one-way slide operation, or a zoom operation.
  27. 如权利要求19所述的终端,其特征在于,所述虚拟控件包括N个操作区域,所述N个操作区域对应N个移动方向;所述移动指令为作用于所述N个操作区域中的一个操作区域的指令,所述N为正整数;所述处理器根据所述移动指令指示的移动方向和所述移动指令指示的移动速率移动所述位置光标的步骤,包括:所述处理器根据所述虚拟控件被操作的操作区域对应的移动方向和预设速率移动所述位置光标,N为正整数。The terminal according to claim 19, wherein the virtual control comprises N operation areas, the N operation areas correspond to N movement directions; and the movement instruction is to act on the N operation areas. An instruction of an operation area, wherein N is a positive integer; the step of moving, by the processor, the position cursor according to a moving direction indicated by the movement instruction and a movement rate indicated by the movement instruction, comprising: the processor according to The virtual control moves the position cursor by a moving direction corresponding to the operated operation area and a preset rate, where N is a positive integer.
  28. 一种终端上的图形用户界面,所述终端具有触摸显示器、存储器和执行存储于存储器中的一个或多个程序的一个或多个处理器,所述图形用户界面包括:终端屏幕的显示区域,位置光标和虚拟控件,所述终端屏幕的显示区域被显示在所述终端的所述触摸显示器上;A graphical user interface on a terminal having a touch display, a memory, and one or more processors executing one or more programs stored in the memory, the graphical user interface comprising: a display area of the terminal screen, a position cursor and a virtual control, the display area of the terminal screen being displayed on the touch display of the terminal;
    其中:among them:
    所述位置光标被显示在所述终端屏幕的显示区域中,所述虚拟控件被显示在所述终端屏幕的显示区域中与终端的握持位置的相邻区域内;所述终端的握持位置是通过预设传感器获取的;The position cursor is displayed in a display area of the terminal screen, and the virtual control is displayed in an adjacent area of the display area of the terminal screen and the holding position of the terminal; the holding position of the terminal Obtained by a preset sensor;
    所述虚拟控件的移动被检测到,响应于所述虚拟控件的移动,所述位置光标根据所述虚拟控件被移动时接收的移动指令所指示的方向和所述虚拟控件被移动时接收的移动指令所指示的速率被移动;The movement of the virtual control is detected, in response to movement of the virtual control, the position cursor is in accordance with a direction indicated by a movement instruction received when the virtual control is moved and a movement received when the virtual control is moved The rate indicated by the instruction is moved;
    所述虚拟控件的第一触控操作被检测到,响应所述虚拟控件的第一触控操作,在所述位置光标处的操作对象按照检测到的所述第一触控操作被触控。The first touch operation of the virtual control is detected. In response to the first touch operation of the virtual control, the operation object at the position cursor is touched according to the detected first touch operation.
  29. 一种计算机程序产品,其特征在于,所述计算机程序产品包括可读取存储介质用于存储计算机程序代码,所述计算机程序代码运行在一个处理器上,所述计算机程序代码包括:A computer program product, comprising: a readable storage medium for storing computer program code, the computer program code being run on a processor, the computer program code comprising:
    用于通过预设传感器获取终端的握持位置的指令;An instruction for acquiring a holding position of the terminal by using a preset sensor;
    用于在终端屏幕的显示区域中显示位置光标,并在终端屏幕的显示区域中与所述握持位置相邻区域内显示虚拟控件,所述虚拟控件用于接收用于控制所述位置光标的位置的移动指令;For displaying a position cursor in a display area of the terminal screen, and displaying a virtual control in an area adjacent to the holding position in a display area of the terminal screen, the virtual control being configured to receive a control for the position cursor Position movement instruction;
    用于当通过所述虚拟控件接收到所述移动指令时,根据所述移动指令指示 的移动方向和所述移动指令指示的移动速率移动所述位置光标的指令;For indicating, when the movement instruction is received by the virtual control, according to the movement instruction An instruction to move the position cursor by a moving direction and a moving rate indicated by the movement instruction;
    用于当所述虚拟控件接收到第一触控操作所产生的第一触控指令时,在所述位置光标指示的位置处执行所述第一触控操作对应的第一触控指令的指令。 When the virtual control receives the first touch command generated by the first touch operation, the first touch command corresponding to the first touch operation is executed at the position indicated by the position cursor .
PCT/CN2015/074135 2015-03-12 2015-03-12 Touch control method, device, terminal and graphical user interface thereof WO2016141597A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/074135 WO2016141597A1 (en) 2015-03-12 2015-03-12 Touch control method, device, terminal and graphical user interface thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/074135 WO2016141597A1 (en) 2015-03-12 2015-03-12 Touch control method, device, terminal and graphical user interface thereof

Publications (1)

Publication Number Publication Date
WO2016141597A1 true WO2016141597A1 (en) 2016-09-15

Family

ID=56878739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074135 WO2016141597A1 (en) 2015-03-12 2015-03-12 Touch control method, device, terminal and graphical user interface thereof

Country Status (1)

Country Link
WO (1) WO2016141597A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489035A (en) * 2019-08-23 2019-11-22 深圳传音控股股份有限公司 Terminal and its control method and computer readable storage medium
CN112650437A (en) * 2020-12-23 2021-04-13 北京小米移动软件有限公司 Cursor control method and device, electronic equipment and storage medium
CN114035714A (en) * 2021-09-24 2022-02-11 武汉联影医疗科技有限公司 Cursor control method and device, ultrasonic equipment and storage medium
WO2023046051A1 (en) * 2021-09-23 2023-03-30 武汉联影医疗科技有限公司 System and method for ultrasonic imaging and measurement
WO2023226422A1 (en) * 2022-05-23 2023-11-30 Oppo广东移动通信有限公司 Content editing control method and apparatus, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101179584B1 (en) * 2010-01-26 2012-09-04 알서포트 주식회사 Virtual mouse display method on touchscreen and computer readable recording medium storing program performing the method
CN102662585A (en) * 2012-04-06 2012-09-12 潘晓雷 Method for adaptively regulating touch input range of screen, and mobile terminal
CN102830917A (en) * 2012-08-02 2012-12-19 上海华勤通讯技术有限公司 Mobile terminal and touch control establishing method thereof
CN102855066A (en) * 2012-09-26 2013-01-02 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103019562A (en) * 2012-12-07 2013-04-03 东莞宇龙通信科技有限公司 Terminal and control tray configuration method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101179584B1 (en) * 2010-01-26 2012-09-04 알서포트 주식회사 Virtual mouse display method on touchscreen and computer readable recording medium storing program performing the method
CN102662585A (en) * 2012-04-06 2012-09-12 潘晓雷 Method for adaptively regulating touch input range of screen, and mobile terminal
CN102830917A (en) * 2012-08-02 2012-12-19 上海华勤通讯技术有限公司 Mobile terminal and touch control establishing method thereof
CN102855066A (en) * 2012-09-26 2013-01-02 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103019562A (en) * 2012-12-07 2013-04-03 东莞宇龙通信科技有限公司 Terminal and control tray configuration method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489035A (en) * 2019-08-23 2019-11-22 深圳传音控股股份有限公司 Terminal and its control method and computer readable storage medium
CN112650437A (en) * 2020-12-23 2021-04-13 北京小米移动软件有限公司 Cursor control method and device, electronic equipment and storage medium
WO2023046051A1 (en) * 2021-09-23 2023-03-30 武汉联影医疗科技有限公司 System and method for ultrasonic imaging and measurement
CN114035714A (en) * 2021-09-24 2022-02-11 武汉联影医疗科技有限公司 Cursor control method and device, ultrasonic equipment and storage medium
WO2023226422A1 (en) * 2022-05-23 2023-11-30 Oppo广东移动通信有限公司 Content editing control method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US11599154B2 (en) Adaptive enclosure for a mobile computing device
AU2022231686B2 (en) Devices and methods for measuring using augmented reality
EP4303713A2 (en) Systems and methods for interacting with a companion-display mode for an electronic device with a touch-sensitive display
US10884592B2 (en) Control of system zoom magnification using a rotatable input mechanism
US10082886B2 (en) Automatic configuration of an input device based on contextual usage
DK179052B1 (en) REMOVE CAMERA INTERFACE
US10042546B2 (en) Systems and methods to present multiple frames on a touch screen
EP2715491B1 (en) Edge gesture
US9639186B2 (en) Multi-touch interface gestures for keyboard and/or mouse inputs
CA2892143C (en) Using clamping to modify scrolling
DK180979B1 (en) Devices, methods and graphical user interfaces for messaging
WO2016141597A1 (en) Touch control method, device, terminal and graphical user interface thereof
AU2019100486A4 (en) Devices and methods for measuring using augmented reality
JP2013530587A5 (en)
US10474324B2 (en) Uninterruptable overlay on a display
US10908868B2 (en) Data processing method and mobile device
US8504940B1 (en) Smooth hardware accelerated scrolling
EP3901741B1 (en) Devices and methods for measuring using augmented reality
KR20150053398A (en) Controlling apparatus for scroll moving in mobile and method thereof
EP3040820B1 (en) Content playback apparatus and content playing method
KR20160044396A (en) A method and apparatus for providing a user interface
CN117348786A (en) Object transmitting method, device, electronic equipment and 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: 15884280

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15884280

Country of ref document: EP

Kind code of ref document: A1