WO2017193584A1 - Method and apparatus for moving interface element - Google Patents

Method and apparatus for moving interface element Download PDF

Info

Publication number
WO2017193584A1
WO2017193584A1 PCT/CN2016/109947 CN2016109947W WO2017193584A1 WO 2017193584 A1 WO2017193584 A1 WO 2017193584A1 CN 2016109947 W CN2016109947 W CN 2016109947W WO 2017193584 A1 WO2017193584 A1 WO 2017193584A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface element
touch point
moving speed
target interface
moving
Prior art date
Application number
PCT/CN2016/109947
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 中兴通讯股份有限公司
Publication of WO2017193584A1 publication Critical patent/WO2017193584A1/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]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for moving interface elements.
  • the method of moving interface elements is mainly realized by finger dragging, but for a large-screen terminal, it is very laborious to accurately move the interface elements by finger dragging. It can be seen that it is inconvenient for the mobile terminal to accurately move the interface elements.
  • An object of the embodiments of the present invention is to provide a method and apparatus for moving interface elements, which solves the problem that the mobile terminal is inconvenient to operate the interface elements accurately.
  • an embodiment of the present invention provides a method for moving an interface element, including:
  • the target interface element movement is controlled in accordance with the moving direction and the moving speed.
  • the setting a moving speed of the target interface element includes: acquiring a first current pressure value of the touch point; determining whether the first current pressure value of the touch point is greater than or equal to a preset a pressure threshold; if the first current pressure value of the touch point is greater than or equal to The pressure threshold sets a moving speed of the target interface element to a moving speed associated with a pressure value of the touch point.
  • the moving speed setting the moving speed of the target interface element to the pressure value of the touch point comprises: reading a second current pressure value of the touch point, and calculating the a pressure difference between the second current pressure value and the pressure threshold; a product of the pressure difference value and a preset speed as a current moving speed of the target interface element.
  • the setting a moving speed of the target interface element includes: detecting a touch duration of the touch operation, and setting the preset speed to a location when the touch duration is greater than or equal to a preset duration The speed at which the target interface element moves.
  • the target interface element includes: an interface element set by the system by default or an interface element selected in response to an operation input by the user.
  • An embodiment of the present invention further provides an apparatus for moving an interface element, including:
  • Reading module set to read the original coordinates of the target interface element
  • the receiving module is configured to receive a touch operation input by the user, and read coordinates of the touch point in the area touched by the touch operation;
  • a first setting module configured to set a direction in which the original coordinates are directed to coordinates of the touch point as a moving direction of the target interface element
  • a second setting module configured to set a moving speed of the target interface element
  • a moving module configured to control the movement of the target interface element according to the moving direction and the moving speed.
  • the moving module includes: an acquiring unit configured to acquire a first current pressure value of the touch point; and a determining unit configured to determine whether the first current pressure value of the touch point is greater than or equal to a predetermined a set pressure threshold; an associating unit, if the first current pressure value of the touch point is greater than or equal to the pressure threshold, the associating unit is configured to set a moving speed of the target interface element to the touch point
  • the pressure value is associated with the speed of movement.
  • the associating unit includes: a reading subunit, and a second reading of the touch point a front pressure value, and calculating a pressure difference between the second current pressure value and the pressure threshold; a calculation subunit configured to use a product of the pressure difference value and a preset speed as a current movement of the target interface element speed.
  • the moving module includes: a detecting unit configured to detect a touch duration of the touch operation, and set the preset speed to the target interface when the touch duration is greater than or equal to a preset duration The speed at which the element moves.
  • the target interface element includes: an interface element set by the system by default or an interface element selected in response to an operation input by the user.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above.
  • a method of moving an interface element provided.
  • the moving direction and the moving speed of the interface are determined by detecting the coordinates of the touch point and the magnitude of the moving speed, and the moving speed is the moving speed associated with the pressure value of the touch point, so that the mobile terminal accurately moves the interface element to operate more accurately. Convenience.
  • FIG. 1 is a schematic diagram of a method for moving an interface element according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for moving an interface element according to an embodiment of the present invention.
  • FIG. 5 is a device for moving an interface element according to an embodiment of the present invention.
  • FIG. 6 is a device for moving an interface element according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for moving an interface element, including the following steps:
  • Step 101 Read the original coordinates of the target interface element.
  • the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
  • the default interface element of the system may be set to be movable by default, or may be an interface element selected in response to the user input operation.
  • the user-entered action may be that the user marks the interface elements and marks the elements in the interface as movable or marked as immovable according to their own habits.
  • the process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
  • Step 102 Receive a touch operation input by a user, and read coordinates of a touch point in an area touched by the touch operation.
  • the touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen.
  • Each time pressing or touching there will be a certain area size on the interface, and then any coordinate is obtained as the coordinates of the touch point in the obtained interface area, and the reference coordinate system of the coordinates of the acquired touch point is established with step 101.
  • the coordinate system is consistent.
  • Step 103 Set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
  • the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point.
  • the determination of the direction vector for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
  • Step 104 Set a moving speed of the target interface element.
  • Step 105 Control the movement of the target interface element according to the moving direction and the moving speed.
  • an embodiment of the present invention provides a method for moving an interface element, including the following steps:
  • Step 201 Read the original coordinates of the target interface element.
  • the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
  • the default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user.
  • the user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable.
  • the process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
  • Step 202 Receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
  • the touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen.
  • Each time pressing or touching there will be a certain area size on the interface, and then any coordinate is obtained as the coordinates of the touch point in the obtained interface area, and the reference coordinate system of the coordinates of the acquired touch point is established with step 201.
  • the coordinate system is consistent.
  • Step 203 Set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
  • the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point.
  • the determination of the direction vector for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
  • Step 204 Acquire a first current pressure value of the touch point.
  • first pressure value of the touch point is a pressure value at a time when the screen is touched
  • first The process of obtaining the pressure value is obtained in real time, and the time interval of acquisition can be 0.1 microseconds or shorter.
  • Step 205 Determine whether the first current pressure value of the touch point is greater than or equal to a preset pressure threshold.
  • the pre-pressure threshold is an empirical value, which may be 0.1 Newton, 0.2 Newton, or the like.
  • Step 206 If the first current pressure value of the touch point is greater than or equal to the pressure threshold, set a moving speed of the target interface element to a moving speed associated with the pressure value of the touch point.
  • reading a second current pressure value of the touch point and calculating a pressure difference between the second current pressure value and the pressure threshold, and using the product of the pressure difference value and a preset speed as The current moving speed of the target interface element.
  • the second current pressure value of the touch point is a pressure value at a time when the first current pressure value of the touch point is greater than or equal to the pressure threshold, and the time interval between the second current pressure value and the first current pressure value is very Short, can be 0.1 microseconds or less.
  • the association relationship may be a linear correlation, for example, the moving speed linearly increases as the pressure difference increases, The product of the pressure difference value and the preset speed is used as the current moving speed of the target interface element.
  • This association relationship can also be a non-linear relationship, that is, the moving speed increases nonlinearly as the pressure difference increases.
  • Step 207 Control the movement of the target interface element according to the moving direction and the moving speed.
  • the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the moving speed is associated with the magnitude of the pressure value, thereby achieving an interface to conveniently control the moving speed to perform the interface element.
  • the technical effect of the move is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the moving speed is associated with the magnitude of the pressure value, thereby achieving an interface to conveniently control the moving speed to perform the interface element.
  • an embodiment of the present invention provides a method for moving an interface element, including the following steps:
  • Step 301 Read the original coordinates of the target interface element.
  • the target interface element is an interface element set by the system default or responds to the user input.
  • the interface element selected for the operation is an interface element set by the system default or responds to the user input.
  • the default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user.
  • the user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable.
  • the process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
  • Step 302 Receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
  • the touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen.
  • Each time pressing or touching there will be a certain area size on the interface, and then any coordinate is obtained as the coordinates of the touch point in the obtained interface area, and the reference coordinate system of the coordinates of the acquired touch point is established with step 301.
  • the coordinate system is consistent.
  • Step 303 Set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
  • the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point.
  • the determination of the direction vector for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
  • Step 304 Detect a touch duration of the touch operation. When the touch duration is greater than or equal to a preset duration, set the preset speed to a moving speed of the target interface element.
  • the moving speed of the target interface is set by the touch duration of the touch operation, which can be applied to the case where the mobile terminal does not have the pressure sensing device, and the mobile terminal has the pressure sensing device, and the time when the touch point is detected is greater than When the preset time is long, the moving speed is the preset speed.
  • the duration is an empirical value, which varies according to the experience of the user, and may be 3.1 seconds, 3.2 seconds, or the like.
  • Step 305 Control the movement of the target interface element according to the moving direction and the moving speed.
  • the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and setting the duration threshold to achieve the preset moving speed, thereby achieving that the mobile terminal can be conveniently operated without the pressure sensing device.
  • the technical effect of the move is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and setting the duration threshold to achieve the preset moving speed, thereby achieving that the mobile terminal can be conveniently operated without the pressure sensing device.
  • an embodiment of the present invention provides an apparatus for moving an interface element, including:
  • the reading module 41 is configured to read the original coordinates of the target interface element.
  • the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
  • the default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user.
  • the user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable.
  • the process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
  • the receiving module 42 is configured to receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
  • the touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen.
  • Each press or touch will have a certain area size on the interface, and then obtain any coordinate in the obtained interface area as the coordinates of the touch point, and the reference coordinate system and the reading module of the coordinates of the acquired touch point.
  • the coordinate system established by 41 is consistent.
  • the first setting module 43 is configured to set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
  • the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point.
  • the determination of the direction vector for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
  • the second setting module 44 is configured to set a moving speed of the target interface element.
  • the moving module 45 is configured to control the movement of the target interface element according to the moving direction and the moving speed.
  • the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the technical effect of facilitating the interface movement is achieved.
  • an embodiment of the present invention provides an apparatus for moving an interface element, including:
  • the reading module 51 is configured to read the original coordinates of the target interface element.
  • the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
  • the default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user.
  • the user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable.
  • the process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
  • the receiving module 52 is configured to receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
  • the touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen.
  • Each press or touch will have a certain area size on the interface, and then obtain any coordinate in the obtained interface area as the coordinates of the touch point, and the reference coordinate system and the reading module of the coordinates of the acquired touch point.
  • the coordinate system established by 51 is consistent.
  • the first setting module 53 sets a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
  • the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point.
  • the determination of the direction vector for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
  • the obtaining unit 54 is configured to acquire a first current pressure value of the touch point.
  • the first pressure value of the touch point is a pressure value at a time when the screen is touched, and the acquisition process of the first pressure value is acquired in real time, and the time interval of the acquisition may be 0.1 microseconds or shorter.
  • the determining unit 55 determines that the first current pressure value of the touch point is greater than or equal to a preset pressure threshold.
  • the pre-pressure threshold is an empirical value, which may be 0.1 Newton, 0.2 Newton, or the like.
  • the associating unit 56 sets a moving speed of the target interface element to a moving speed associated with the pressure value of the touch point if the first current pressure value of the touch point is greater than or equal to the pressure threshold.
  • reading a second current pressure value of the touch point and calculating a pressure difference between the second current pressure value and the pressure threshold, and using the product of the pressure difference value and a preset speed as The current moving speed of the target interface element.
  • the second current pressure value of the touch point is a pressure value at a time when the first current pressure value of the touch point is greater than or equal to the pressure threshold, and the time interval between the second current pressure value and the first current pressure value is very Short, can be 0.1 microseconds or less.
  • the association relationship may be a linear correlation, for example, the moving speed linearly increases as the pressure difference increases, The product of the pressure difference value and the preset speed is used as the current moving speed of the target interface element.
  • This association relationship can also be a non-linear relationship, that is, the moving speed increases nonlinearly as the pressure difference increases.
  • the moving module 57 is configured to control the movement of the target interface element according to the moving direction and the moving speed.
  • the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the moving speed is associated with the magnitude of the pressure value, thereby achieving an interface to conveniently control the moving speed to perform the interface element.
  • the technical effect of the move is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the moving speed is associated with the magnitude of the pressure value, thereby achieving an interface to conveniently control the moving speed to perform the interface element.
  • an embodiment of the present invention provides an apparatus for moving an interface element, including:
  • the reading module 61 reads the original coordinates of the target interface element.
  • the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
  • the default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user.
  • the user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable.
  • the process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
  • the receiving module 62 receives a touch operation input by the user, and reads coordinates of a touch point in the area touched by the touch operation.
  • the touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen.
  • Each press or touch will have a certain area size on the interface, and then obtain any coordinate in the obtained interface area as the coordinates of the touch point, and the reference coordinate system and the reading module of the coordinates of the acquired touch point.
  • the coordinate system established by 61 is consistent.
  • the first setting module 63 sets a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
  • the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point.
  • the determination of the direction vector for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
  • the detecting unit 64 detects a touch duration of the touch operation, and when the touch duration is greater than or equal to a preset duration, sets the preset speed as the moving speed of the target interface element.
  • the moving speed of the target interface is set by the touch duration of the touch operation, which can be applied to the case where the mobile terminal does not have the pressure sensing device, and the mobile terminal has the pressure sensing device, and the time when the touch point is detected is greater than When the preset time is long, the moving speed is the preset speed.
  • the duration is an empirical value, which varies according to the experience of the user, and may be 3.1 seconds, 3.2. Seconds and so on.
  • the moving module 65 controls the movement of the target interface element according to the moving direction and the moving speed.
  • the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and setting the duration threshold to achieve the preset moving speed, thereby achieving that the mobile terminal can be conveniently operated without the pressure sensing device.
  • the technical effect of the move is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and setting the duration threshold to achieve the preset moving speed, thereby achieving that the mobile terminal can be conveniently operated without the pressure sensing device.
  • the target interface element movement is controlled in accordance with the moving direction and the moving speed.
  • the setting a moving speed of the target interface element includes:
  • the moving speed of the target interface element is set to a moving speed associated with the pressure value of the touch point.
  • the moving speed that sets the moving speed setting of the target interface element to the pressure value of the touch point includes:
  • the product of the pressure difference value and the preset speed is taken as the current moving speed of the target interface element.
  • the setting a moving speed of the target interface element includes:
  • Detecting a touch duration of the touch operation and setting the preset speed to a moving speed of the target interface element when the touch duration is greater than or equal to a preset duration.
  • the target interface element includes:
  • the interface element that is set by default in the system or the interface element selected in response to the action entered by the user.
  • the storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the method and apparatus for moving an interface element provided by the embodiment of the present invention have the following beneficial effects: determining the moving direction and moving speed of the interface by detecting the coordinates of the touch point and the magnitude of the pressure, and the moving speed is The moving speed associated with the pressure value of the touch point makes it more convenient for the mobile terminal to accurately move the interface elements.

Abstract

The present invention provides a method and apparatus for moving an interface element. The method comprises: reading the original coordinate of a target interface element; receiving a touch operation inputted by a user, and reading the coordinate of a touch point in a region touched by the touch operation; setting a direction from the original coordinate to the coordinate of the touch point as the moving direction of the target interface element; setting the moving speed of the target interface element; and controlling, according to the moving direction and the moving speed, the target interface element to move. The present invention resolves the technical problem of being strenuous to drag and precisely move an interface element with a finger, and achieves the technical effects of precise movement of the interface element on a mobile terminal and easy operation.

Description

一种界面元素移动的方法和装置Method and device for moving interface elements 技术领域Technical field
本发明涉及通信技术领域,特别涉及一种界面元素移动的方法和装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for moving interface elements.
背景技术Background technique
随着科学技术的发展,移动终端的数量越来越多,终端屏幕也逐渐变大,界面元素的移动对用户造成了一定的困扰,比如手机上APP图标的移动。目前,界面元素移动的方法主要是通过手指拖拽来实现的,但是,对于大屏幕的终端而言,通过手指拖拽精确移动界面元素十分费劲。可见,移动终端精确移动界面元素操作不方便。With the development of science and technology, the number of mobile terminals is increasing, the screen of the terminal is gradually becoming larger, and the movement of the interface elements causes certain troubles for the user, such as the movement of the APP icon on the mobile phone. At present, the method of moving interface elements is mainly realized by finger dragging, but for a large-screen terminal, it is very laborious to accurately move the interface elements by finger dragging. It can be seen that it is inconvenient for the mobile terminal to accurately move the interface elements.
发明内容Summary of the invention
本发明实施例的目的在于提供一种界面元素移动的方法和装置,解决了移动终端精确移动界面元素操作不方便的问题。An object of the embodiments of the present invention is to provide a method and apparatus for moving interface elements, which solves the problem that the mobile terminal is inconvenient to operate the interface elements accurately.
为了达到上述目的,本发明实施例提供一种界面元素移动的方法,包括:In order to achieve the above object, an embodiment of the present invention provides a method for moving an interface element, including:
读取目标界面元素的原始坐标;Read the original coordinates of the target interface element;
接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标;Receiving a touch operation input by the user, and reading coordinates of a touch point in an area touched by the touch operation;
将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向;Setting a direction in which the original coordinates are directed to the coordinates of the touch point is set as a moving direction of the target interface element;
设置所述目标界面元素的移动速度;Setting a moving speed of the target interface element;
按照所述移动方向和移动速度控制所述目标界面元素移动。The target interface element movement is controlled in accordance with the moving direction and the moving speed.
可选地,所述设置所述目标界面元素的移动速度,包括:获取所述触碰点的第一当前压力值;判断所述触碰点的第一当前压力值是否大于或者等于预先设置的压力阈值;若所述触碰点的第一当前压力值大于或者等于 所述压力阈值,将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。Optionally, the setting a moving speed of the target interface element includes: acquiring a first current pressure value of the touch point; determining whether the first current pressure value of the touch point is greater than or equal to a preset a pressure threshold; if the first current pressure value of the touch point is greater than or equal to The pressure threshold sets a moving speed of the target interface element to a moving speed associated with a pressure value of the touch point.
可选地,所述将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度,包括:读取所述触碰点的第二当前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值;将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。Optionally, the moving speed setting the moving speed of the target interface element to the pressure value of the touch point comprises: reading a second current pressure value of the touch point, and calculating the a pressure difference between the second current pressure value and the pressure threshold; a product of the pressure difference value and a preset speed as a current moving speed of the target interface element.
可选地,所述设置所述目标界面元素的移动速度,包括:检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预设时长时,将预设速度设置为所述目标界面元素的移动速度。Optionally, the setting a moving speed of the target interface element includes: detecting a touch duration of the touch operation, and setting the preset speed to a location when the touch duration is greater than or equal to a preset duration The speed at which the target interface element moves.
可选地,所述目标界面元素,包括:系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element includes: an interface element set by the system by default or an interface element selected in response to an operation input by the user.
本发明实施例还提供一种界面元素移动的装置,包括:An embodiment of the present invention further provides an apparatus for moving an interface element, including:
读取模块,设置为读取目标界面元素的原始坐标;Reading module, set to read the original coordinates of the target interface element;
接收模块,设置为接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标;The receiving module is configured to receive a touch operation input by the user, and read coordinates of the touch point in the area touched by the touch operation;
第一设置模块,设置为将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向;a first setting module, configured to set a direction in which the original coordinates are directed to coordinates of the touch point as a moving direction of the target interface element;
第二设置模块,设置为设置所述目标界面元素的移动速度;a second setting module, configured to set a moving speed of the target interface element;
移动模块,设置为按照所述移动方向和移动速度控制所述目标界面元素移动。And a moving module configured to control the movement of the target interface element according to the moving direction and the moving speed.
可选地,所述移动模块包括:获取单元,设置为获取所述触碰点的第一当前压力值;判断单元,设置为判断所述触碰点的第一当前压力值是否大于或者等于预先设置的压力阈值;关联单元,若所述触碰点的第一当前压力值大于或者等于所述压力阈值,所述关联单元设置为将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。Optionally, the moving module includes: an acquiring unit configured to acquire a first current pressure value of the touch point; and a determining unit configured to determine whether the first current pressure value of the touch point is greater than or equal to a predetermined a set pressure threshold; an associating unit, if the first current pressure value of the touch point is greater than or equal to the pressure threshold, the associating unit is configured to set a moving speed of the target interface element to the touch point The pressure value is associated with the speed of movement.
可选地,所述关联单元包括:读取子单元,读取所述触碰点的第二当 前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值;计算子单元,设置为将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。Optionally, the associating unit includes: a reading subunit, and a second reading of the touch point a front pressure value, and calculating a pressure difference between the second current pressure value and the pressure threshold; a calculation subunit configured to use a product of the pressure difference value and a preset speed as a current movement of the target interface element speed.
可选地,所述移动模块包括:检测单元,设置为检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预设时长时,将预设速度设置为所述目标界面元素的移动速度。Optionally, the moving module includes: a detecting unit configured to detect a touch duration of the touch operation, and set the preset speed to the target interface when the touch duration is greater than or equal to a preset duration The speed at which the element moves.
可选地,所述目标界面元素,包括:系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element includes: an interface element set by the system by default or an interface element selected in response to an operation input by the user.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如上述提供的一种界面元素移动的方法。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above. A method of moving an interface element provided.
上述技术方案中的一个技术方案具有如下优点或有益效果:One of the above technical solutions has the following advantages or benefits:
本发明实施例中通过检测触碰点的坐标和压力的大小来确定界面的移动方向和移动速度,移动速度为与触碰点的压力值关联的移动速度,使移动终端精确移动界面元素操作更加方便。In the embodiment of the present invention, the moving direction and the moving speed of the interface are determined by detecting the coordinates of the touch point and the magnitude of the moving speed, and the moving speed is the moving speed associated with the pressure value of the touch point, so that the mobile terminal accurately moves the interface element to operate more accurately. Convenience.
附图说明DRAWINGS
图1为本实施例提供一种界面元素移动的方法;FIG. 1 is a schematic diagram of a method for moving an interface element according to an embodiment of the present invention;
图2为本实施例提供一种界面元素移动的方法;2 is a method for moving an interface element according to an embodiment of the present invention;
图3为本实施例提供一种界面元素移动的方法;FIG. 3 is a schematic diagram of a method for moving an interface element according to an embodiment of the present invention;
图4为本实施例提供一种界面元素移动的装置;4 is a device for moving an interface element according to an embodiment of the present invention;
图5为本实施例提供一种界面元素移动的装置;FIG. 5 is a device for moving an interface element according to an embodiment of the present invention;
图6为本实施例提供一种界面元素移动的装置。FIG. 6 is a device for moving an interface element according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。 The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in the following description.
如图1所示,本发明实施例提供一种界面元素移动的方法,包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a method for moving an interface element, including the following steps:
步骤101、读取目标界面元素的原始坐标。Step 101: Read the original coordinates of the target interface element.
可选的,所述目标界面元素为系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
其中,系统默认设置的界面元素可以默认设置界面中部分元素为可移动的,也可以为响应用户输入的操作而选择的界面元素。用户输入的操作可以是用户对界面元素进行标记,根据自己的习惯将界面中的元素标记为可移动的或者标记为不可移动的。读取界面元素的原始坐标的过程可以是以界面上或者界面外任意一点为原点建立直角坐标系,然后根据所建立的直角坐标系得到界面元素的原始坐标。The default interface element of the system may be set to be movable by default, or may be an interface element selected in response to the user input operation. The user-entered action may be that the user marks the interface elements and marks the elements in the interface as movable or marked as immovable according to their own habits. The process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
步骤102、接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标。Step 102: Receive a touch operation input by a user, and read coordinates of a touch point in an area touched by the touch operation.
其中,用户输入的触碰操作可以是按压界面的操作或者触摸屏幕的操作。每次按压或者触碰都会在界面上有一定的区域大小,然后在得到的界面区域中获取任意一点坐标作为触碰点的坐标,所获取的触碰点的坐标的参考坐标系与步骤101建立的坐标系一致。The touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen. Each time pressing or touching, there will be a certain area size on the interface, and then any coordinate is obtained as the coordinates of the touch point in the obtained interface area, and the reference coordinate system of the coordinates of the acquired touch point is established with step 101. The coordinate system is consistent.
步骤103、将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向。Step 103: Set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
其中,设置界面元素的移动方向是根据两点的坐标来确定方向向量,所述移动方向是从原始坐标点指向触碰点的坐标。所述方向向量的确定,例如界面的原始坐标为(X1,Y1),触碰点的坐标为(X2,Y2),则移动方向向量为(X2-X1,Y2-Y1)。Wherein, the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point. The determination of the direction vector, for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
步骤104、设置所述目标界面元素的移动速度。Step 104: Set a moving speed of the target interface element.
步骤105、按照所述移动方向和移动速度控制所述目标界面元素移动。Step 105: Control the movement of the target interface element according to the moving direction and the moving speed.
本实施例中,通过获取界面元素的移动方向和界面元素的移动速度来 实现界面元素的移动,达到了界面移动方便的技术效果。In this embodiment, by acquiring the moving direction of the interface element and the moving speed of the interface element Realizing the movement of interface elements, achieving the technical effect of convenient interface movement.
如图2所示,本发明实施例提供一种界面元素移动的方法,包括以下步骤:As shown in FIG. 2, an embodiment of the present invention provides a method for moving an interface element, including the following steps:
步骤201、读取目标界面元素的原始坐标。Step 201: Read the original coordinates of the target interface element.
可选的,所述目标界面元素为系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
其中,系统默认设置的界面元素可以默认设置界面中部分元素为可移动的,也可以为响应用户输入的操作而选择的界面元素,用户输入的操作可以是用户对界面元素进行标记,根据自己的习惯将界面中的元素标记为可移动的或者标记为不可移动的。读取界面元素的原始坐标的过程可以是以界面上或者界面外任意一点为原点建立直角坐标系,然后根据所建立的直角坐标系得到界面元素的原始坐标。The default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user. The user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable. The process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
步骤202、接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标。Step 202: Receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
其中,用户输入的触碰操作可以是按压界面的操作或者触摸屏幕的操作。每次按压或者触碰都会在界面上有一定的区域大小,然后在得到的界面区域中获取任意一点坐标作为触碰点的坐标,所获取的触碰点的坐标的参考坐标系与步骤201建立的坐标系一致。The touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen. Each time pressing or touching, there will be a certain area size on the interface, and then any coordinate is obtained as the coordinates of the touch point in the obtained interface area, and the reference coordinate system of the coordinates of the acquired touch point is established with step 201. The coordinate system is consistent.
步骤203、将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向。Step 203: Set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
其中,设置界面元素的移动方向是根据两点的坐标来确定方向向量,所述移动方向是从原始坐标点指向触碰点的坐标。所述方向向量的确定,例如界面的原始坐标为(X1,Y1),触碰点的坐标为(X2,Y2),则移动方向向量为(X2-X1,Y2-Y1)。Wherein, the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point. The determination of the direction vector, for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
步骤204、获取所述触碰点的第一当前压力值。Step 204: Acquire a first current pressure value of the touch point.
其中,所述触碰点的第一压力值为当触碰屏幕的时刻的压力值,第一 压力值的获取过程为实时获取,获取的时间间隔可以为0.1微妙,或者更短。Wherein the first pressure value of the touch point is a pressure value at a time when the screen is touched, first The process of obtaining the pressure value is obtained in real time, and the time interval of acquisition can be 0.1 microseconds or shorter.
步骤205、判断所述触碰点的第一当前压力值大于或者等于是否预先设置的压力阈值。Step 205: Determine whether the first current pressure value of the touch point is greater than or equal to a preset pressure threshold.
其中,所述预先的压力阈值为经验值,可以为0.1牛顿、0.2牛顿等等。Wherein, the pre-pressure threshold is an empirical value, which may be 0.1 Newton, 0.2 Newton, or the like.
步骤206、若所述触碰点的第一当前压力值大于或者等于所述压力阈值,将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。Step 206: If the first current pressure value of the touch point is greater than or equal to the pressure threshold, set a moving speed of the target interface element to a moving speed associated with the pressure value of the touch point.
可选的,读取所述触碰点的第二当前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值,将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。Optionally, reading a second current pressure value of the touch point, and calculating a pressure difference between the second current pressure value and the pressure threshold, and using the product of the pressure difference value and a preset speed as The current moving speed of the target interface element.
其中,触碰点的第二当前压力值为判断触碰点的第一当前压力值大于或者等于所述压力阈值的时刻的压力值,第二当前压力值与第一当前压力值的时间间隔非常短,可以为0.1微妙或者更少。将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度,这种关联关系可以是线性关联,例如:移动速度随这压力差值的增加而线性增加,将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。这种关联关系也可以是非线性关系,即移动速度随着压力差值的增大而非线性增加。The second current pressure value of the touch point is a pressure value at a time when the first current pressure value of the touch point is greater than or equal to the pressure threshold, and the time interval between the second current pressure value and the first current pressure value is very Short, can be 0.1 microseconds or less. Setting a moving speed of the target interface element to a moving speed associated with a pressure value of the touch point, the association relationship may be a linear correlation, for example, the moving speed linearly increases as the pressure difference increases, The product of the pressure difference value and the preset speed is used as the current moving speed of the target interface element. This association relationship can also be a non-linear relationship, that is, the moving speed increases nonlinearly as the pressure difference increases.
步骤207、按照所述移动方向和移动速度控制所述目标界面元素移动。Step 207: Control the movement of the target interface element according to the moving direction and the moving speed.
本实施例中,通过获取界面元素的移动方向和界面元素的移动速度来实现界面元素的移动,并且对移动速度与压力值的大小进行了关联,从而达到了界面方便控制移动速度来进行界面元素的移动的技术效果。In this embodiment, the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the moving speed is associated with the magnitude of the pressure value, thereby achieving an interface to conveniently control the moving speed to perform the interface element. The technical effect of the move.
如图3所示,本发明实施例提供一种界面元素移动的方法,包括以下步骤:As shown in FIG. 3, an embodiment of the present invention provides a method for moving an interface element, including the following steps:
步骤301、读取目标界面元素的原始坐标。Step 301: Read the original coordinates of the target interface element.
可选的,所述目标界面元素为系统默认设置的界面元素或响应用户输 入的操作而选择的界面元素。Optionally, the target interface element is an interface element set by the system default or responds to the user input. The interface element selected for the operation.
其中,系统默认设置的界面元素可以默认设置界面中部分元素为可移动的,也可以为响应用户输入的操作而选择的界面元素,用户输入的操作可以是用户对界面元素进行标记,根据自己的习惯将界面中的元素标记为可移动的或者标记为不可移动的。读取界面元素的原始坐标的过程可以是以界面上或者界面外任意一点为原点建立直角坐标系,然后根据所建立的直角坐标系得到界面元素的原始坐标。The default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user. The user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable. The process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
步骤302、接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标。Step 302: Receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
其中,用户输入的触碰操作可以是按压界面的操作或者触摸屏幕的操作。每次按压或者触碰都会在界面上有一定的区域大小,然后在得到的界面区域中获取任意一点坐标作为触碰点的坐标,所获取的触碰点的坐标的参考坐标系与步骤301建立的坐标系一致。The touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen. Each time pressing or touching, there will be a certain area size on the interface, and then any coordinate is obtained as the coordinates of the touch point in the obtained interface area, and the reference coordinate system of the coordinates of the acquired touch point is established with step 301. The coordinate system is consistent.
步骤303、将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向。Step 303: Set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
其中,设置界面元素的移动方向是根据两点的坐标来确定方向向量,所述移动方向是从原始坐标点指向触碰点的坐标。所述方向向量的确定,例如界面的原始坐标为(X1,Y1),触碰点的坐标为(X2,Y2),则移动方向向量为(X2-X1,Y2-Y1)。Wherein, the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point. The determination of the direction vector, for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
步骤304、检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预设时长时,将预设速度设置为所述目标界面元素的移动速度。Step 304: Detect a touch duration of the touch operation. When the touch duration is greater than or equal to a preset duration, set the preset speed to a moving speed of the target interface element.
其中,用触碰操作的触碰时长来设置目标界面的移动速度可以适用于移动终端没有压力感应装置的情况,也可以适用移动终端有压力感应装置的情况,当检测到触碰点的时长大于预设时长时,则移动速度为预设的速度。所述时长为经验值,根据不用用户的体验而改变,可以为3.1秒、3.2秒等等。Wherein, the moving speed of the target interface is set by the touch duration of the touch operation, which can be applied to the case where the mobile terminal does not have the pressure sensing device, and the mobile terminal has the pressure sensing device, and the time when the touch point is detected is greater than When the preset time is long, the moving speed is the preset speed. The duration is an empirical value, which varies according to the experience of the user, and may be 3.1 seconds, 3.2 seconds, or the like.
步骤305、按照所述移动方向和移动速度控制所述目标界面元素移动。 Step 305: Control the movement of the target interface element according to the moving direction and the moving speed.
本实施例中,通过获取界面元素的移动方向和界面元素的移动速度来实现界面元素的移动,设置时长阈值来达到预先设置的移动速度,从而达到了没有压力感应装置移动终端可以方便地进行界面移动的技术效果。In this embodiment, the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and setting the duration threshold to achieve the preset moving speed, thereby achieving that the mobile terminal can be conveniently operated without the pressure sensing device. The technical effect of the move.
如图4所示,本发明实施例提供一种界面元素移动的装置,包括:As shown in FIG. 4, an embodiment of the present invention provides an apparatus for moving an interface element, including:
读取模块41、设置为读取目标界面元素的原始坐标。The reading module 41 is configured to read the original coordinates of the target interface element.
可选的,所述目标界面元素为系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
其中,系统默认设置的界面元素可以默认设置界面中部分元素为可移动的,也可以为响应用户输入的操作而选择的界面元素,用户输入的操作可以是用户对界面元素进行标记,根据自己的习惯将界面中的元素标记为可移动的或者标记为不可移动的。读取界面元素的原始坐标的过程可以是以界面上或者界面外任意一点为原点建立直角坐标系,然后根据所建立的直角坐标系得到界面元素的原始坐标。The default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user. The user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable. The process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
接收模块42、设置为接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标。The receiving module 42 is configured to receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
其中,用户输入的触碰操作可以是按压界面的操作或者触摸屏幕的操作。每次按压或者触碰都会在界面上有一定的区域大小,然后在得到的界面区域中获取任意一点坐标作为触碰点的坐标,所获取的触碰点的坐标的参考坐标系与读取模块41建立的坐标系一致。The touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen. Each press or touch will have a certain area size on the interface, and then obtain any coordinate in the obtained interface area as the coordinates of the touch point, and the reference coordinate system and the reading module of the coordinates of the acquired touch point. The coordinate system established by 41 is consistent.
第一设置模块43、设置为将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向。The first setting module 43 is configured to set a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
其中,设置界面元素的移动方向是根据两点的坐标来确定方向向量,所述移动方向是从原始坐标点指向触碰点的坐标。所述方向向量的确定,例如界面的原始坐标为(X1,Y1),触碰点的坐标为(X2,Y2),则移动方向向量为(X2-X1,Y2-Y1)。Wherein, the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point. The determination of the direction vector, for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
第二设置模块44、设置为设置所述目标界面元素的移动速度。 The second setting module 44 is configured to set a moving speed of the target interface element.
移动模块45、设置为按照所述移动方向和移动速度控制所述目标界面元素移动。The moving module 45 is configured to control the movement of the target interface element according to the moving direction and the moving speed.
本实施例中,通过获取界面元素的移动方向和界面元素的移动速度来实现界面元素的移动,达到了界面移动方便的技术效果。In this embodiment, the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the technical effect of facilitating the interface movement is achieved.
如图5所示,本发明实施例提供一种界面元素移动的装置,包括:As shown in FIG. 5, an embodiment of the present invention provides an apparatus for moving an interface element, including:
读取模块51、设置为读取目标界面元素的原始坐标。The reading module 51 is configured to read the original coordinates of the target interface element.
可选的,所述目标界面元素为系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
其中,系统默认设置的界面元素可以默认设置界面中部分元素为可移动的,也可以为响应用户输入的操作而选择的界面元素,用户输入的操作可以是用户对界面元素进行标记,根据自己的习惯将界面中的元素标记为可移动的或者标记为不可移动的。读取界面元素的原始坐标的过程可以是以界面上或者界面外任意一点为原点建立直角坐标系,然后根据所建立的直角坐标系得到界面元素的原始坐标。The default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user. The user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable. The process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
接收模块52、设置为接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标。The receiving module 52 is configured to receive a touch operation input by the user, and read coordinates of a touch point in the area touched by the touch operation.
其中,用户输入的触碰操作可以是按压界面的操作或者触摸屏幕的操作。每次按压或者触碰都会在界面上有一定的区域大小,然后在得到的界面区域中获取任意一点坐标作为触碰点的坐标,所获取的触碰点的坐标的参考坐标系与读取模块51建立的坐标系一致。The touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen. Each press or touch will have a certain area size on the interface, and then obtain any coordinate in the obtained interface area as the coordinates of the touch point, and the reference coordinate system and the reading module of the coordinates of the acquired touch point. The coordinate system established by 51 is consistent.
第一设置模块53、将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向。The first setting module 53 sets a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
其中,设置界面元素的移动方向是根据两点的坐标来确定方向向量,所述移动方向是从原始坐标点指向触碰点的坐标。所述方向向量的确定,例如界面的原始坐标为(X1,Y1),触碰点的坐标为(X2,Y2),则移动方向向量为(X2-X1,Y2-Y1)。 Wherein, the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point. The determination of the direction vector, for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
获取单元54、设置为获取所述触碰点的第一当前压力值。The obtaining unit 54 is configured to acquire a first current pressure value of the touch point.
其中,所述触碰点的第一压力值为当触碰屏幕的时刻的压力值,第一压力值的获取过程为实时获取,获取的时间间隔可以为0.1微妙,或者更短。The first pressure value of the touch point is a pressure value at a time when the screen is touched, and the acquisition process of the first pressure value is acquired in real time, and the time interval of the acquisition may be 0.1 microseconds or shorter.
判断单元55、判断所述触碰点的第一当前压力值大于或者等于是否预先设置的压力阈值。The determining unit 55 determines that the first current pressure value of the touch point is greater than or equal to a preset pressure threshold.
其中,所述预先的压力阈值为经验值,可以为0.1牛顿、0.2牛顿等等。Wherein, the pre-pressure threshold is an empirical value, which may be 0.1 Newton, 0.2 Newton, or the like.
关联单元56、若所述触碰点的第一当前压力值大于或者等于所述压力阈值,将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。The associating unit 56 sets a moving speed of the target interface element to a moving speed associated with the pressure value of the touch point if the first current pressure value of the touch point is greater than or equal to the pressure threshold.
可选的,读取所述触碰点的第二当前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值,将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。Optionally, reading a second current pressure value of the touch point, and calculating a pressure difference between the second current pressure value and the pressure threshold, and using the product of the pressure difference value and a preset speed as The current moving speed of the target interface element.
其中,触碰点的第二当前压力值为判断触碰点的第一当前压力值大于或者等于所述压力阈值的时刻的压力值,第二当前压力值与第一当前压力值的时间间隔非常短,可以为0.1微妙或者更少。将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度,这种关联关系可以是线性关联,例如:移动速度随这压力差值的增加而线性增加,将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。这种关联关系也可以是非线性关系,即移动速度随着压力差值的增大而非线性增加。The second current pressure value of the touch point is a pressure value at a time when the first current pressure value of the touch point is greater than or equal to the pressure threshold, and the time interval between the second current pressure value and the first current pressure value is very Short, can be 0.1 microseconds or less. Setting a moving speed of the target interface element to a moving speed associated with a pressure value of the touch point, the association relationship may be a linear correlation, for example, the moving speed linearly increases as the pressure difference increases, The product of the pressure difference value and the preset speed is used as the current moving speed of the target interface element. This association relationship can also be a non-linear relationship, that is, the moving speed increases nonlinearly as the pressure difference increases.
移动模块57、设置为按照所述移动方向和移动速度控制所述目标界面元素移动。The moving module 57 is configured to control the movement of the target interface element according to the moving direction and the moving speed.
本实施例中,通过获取界面元素的移动方向和界面元素的移动速度来实现界面元素的移动,并且对移动速度与压力值的大小进行了关联,从而达到了界面方便控制移动速度来进行界面元素的移动的技术效果。In this embodiment, the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and the moving speed is associated with the magnitude of the pressure value, thereby achieving an interface to conveniently control the moving speed to perform the interface element. The technical effect of the move.
如图6所示,本发明实施例提供一种界面元素移动的装置,包括: As shown in FIG. 6, an embodiment of the present invention provides an apparatus for moving an interface element, including:
读取模块61、读取目标界面元素的原始坐标。The reading module 61 reads the original coordinates of the target interface element.
可选的,所述目标界面元素为系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。Optionally, the target interface element is an interface element set by the system default or an interface element selected in response to an operation input by the user.
其中,系统默认设置的界面元素可以默认设置界面中部分元素为可移动的,也可以为响应用户输入的操作而选择的界面元素,用户输入的操作可以是用户对界面元素进行标记,根据自己的习惯将界面中的元素标记为可移动的或者标记为不可移动的。读取界面元素的原始坐标的过程可以是以界面上或者界面外任意一点为原点建立直角坐标系,然后根据所建立的直角坐标系得到界面元素的原始坐标。The default interface element of the system may set some elements in the interface to be movable or may be an interface element selected in response to an operation input by the user. The user input operation may be that the user marks the interface element according to the user's own It is customary to mark elements in the interface as movable or marked as immovable. The process of reading the original coordinates of the interface element may be to establish a Cartesian coordinate system based on the interface or any point outside the interface, and then obtain the original coordinates of the interface element according to the established Cartesian coordinate system.
接收模块62、接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标。The receiving module 62 receives a touch operation input by the user, and reads coordinates of a touch point in the area touched by the touch operation.
其中,用户输入的触碰操作可以是按压界面的操作或者触摸屏幕的操作。每次按压或者触碰都会在界面上有一定的区域大小,然后在得到的界面区域中获取任意一点坐标作为触碰点的坐标,所获取的触碰点的坐标的参考坐标系与读取模块61建立的坐标系一致。The touch operation input by the user may be an operation of pressing the interface or an operation of touching the screen. Each press or touch will have a certain area size on the interface, and then obtain any coordinate in the obtained interface area as the coordinates of the touch point, and the reference coordinate system and the reading module of the coordinates of the acquired touch point. The coordinate system established by 61 is consistent.
第一设置模块63、将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向。The first setting module 63 sets a direction in which the original coordinates are directed to the coordinates of the touch point as a moving direction of the target interface element.
其中,设置界面元素的移动方向是根据两点的坐标来确定方向向量,所述移动方向是从原始坐标点指向触碰点的坐标。所述方向向量的确定,例如界面的原始坐标为(X1,Y1),触碰点的坐标为(X2,Y2),则移动方向向量为(X2-X1,Y2-Y1)。Wherein, the moving direction of the setting interface element is determined according to the coordinates of the two points, and the moving direction is the coordinate from the original coordinate point to the touch point. The determination of the direction vector, for example, the original coordinates of the interface is (X1, Y1), the coordinates of the touch point are (X2, Y2), and the moving direction vector is (X2-X1, Y2-Y1).
检测单元64、检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预设时长时,将预设速度设置为所述目标界面元素的移动速度。The detecting unit 64 detects a touch duration of the touch operation, and when the touch duration is greater than or equal to a preset duration, sets the preset speed as the moving speed of the target interface element.
其中,用触碰操作的触碰时长来设置目标界面的移动速度可以适用于移动终端没有压力感应装置的情况,也可以适用移动终端有压力感应装置的情况,当检测到触碰点的时长大于预设时长时,则移动速度为预设的速度。所述时长为经验值,根据不用用户的体验而改变,可以为3.1秒、3.2 秒等等。Wherein, the moving speed of the target interface is set by the touch duration of the touch operation, which can be applied to the case where the mobile terminal does not have the pressure sensing device, and the mobile terminal has the pressure sensing device, and the time when the touch point is detected is greater than When the preset time is long, the moving speed is the preset speed. The duration is an empirical value, which varies according to the experience of the user, and may be 3.1 seconds, 3.2. Seconds and so on.
移动模块65、按照所述移动方向和移动速度控制所述目标界面元素移动。The moving module 65 controls the movement of the target interface element according to the moving direction and the moving speed.
本实施例中,通过获取界面元素的移动方向和界面元素的移动速度来实现界面元素的移动,设置时长阈值来达到预先设置的移动速度,从而达到了没有压力感应装置移动终端可以方便地进行界面移动的技术效果。In this embodiment, the movement of the interface element is achieved by acquiring the moving direction of the interface element and the moving speed of the interface element, and setting the duration threshold to achieve the preset moving speed, thereby achieving that the mobile terminal can be conveniently operated without the pressure sensing device. The technical effect of the move.
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取介质中,该程序在执行时,包括以下步骤:读取目标界面元素的原始坐标;It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by hardware associated with program instructions, which may be stored in a computer readable medium, including when executed, including The following steps: read the original coordinates of the target interface element;
接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标;Receiving a touch operation input by the user, and reading coordinates of a touch point in an area touched by the touch operation;
将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向;Setting a direction in which the original coordinates are directed to the coordinates of the touch point is set as a moving direction of the target interface element;
设置所述目标界面元素的移动速度;Setting a moving speed of the target interface element;
按照所述移动方向和移动速度控制所述目标界面元素移动。The target interface element movement is controlled in accordance with the moving direction and the moving speed.
可选的,所述设置所述目标界面元素的移动速度,包括:Optionally, the setting a moving speed of the target interface element includes:
获取所述触碰点的第一当前压力值;Obtaining a first current pressure value of the touch point;
判断所述触碰点的第一当前压力值大于或者等于是否预先设置的压力阈值;Determining whether the first current pressure value of the touch point is greater than or equal to a preset pressure threshold;
若所述触碰点的第一当前压力值大于或者等于所述压力阈值,将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。If the first current pressure value of the touch point is greater than or equal to the pressure threshold, the moving speed of the target interface element is set to a moving speed associated with the pressure value of the touch point.
可选的,所述将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度,包括:Optionally, the moving speed that sets the moving speed setting of the target interface element to the pressure value of the touch point includes:
读取所述触碰点的第二当前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值; Reading a second current pressure value of the touch point, and calculating a pressure difference between the second current pressure value and the pressure threshold;
将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。The product of the pressure difference value and the preset speed is taken as the current moving speed of the target interface element.
可选的,所述设置所述目标界面元素的移动速度,包括:Optionally, the setting a moving speed of the target interface element includes:
检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预设时长时,将预设速度设置为所述目标界面元素的移动速度。Detecting a touch duration of the touch operation, and setting the preset speed to a moving speed of the target interface element when the touch duration is greater than or equal to a preset duration.
可选的,所述目标界面元素,包括:Optionally, the target interface element includes:
系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。The interface element that is set by default in the system or the interface element selected in response to the action entered by the user.
所述的存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种界面元素移动的方法和装置具有以下有益效果:通过检测触碰点的坐标和压力的大小来确定界面的移动方向和移动速度,移动速度为与触碰点的压力值关联的移动速度,使移动终端精确移动界面元素操作更加方便。 As described above, the method and apparatus for moving an interface element provided by the embodiment of the present invention have the following beneficial effects: determining the moving direction and moving speed of the interface by detecting the coordinates of the touch point and the magnitude of the pressure, and the moving speed is The moving speed associated with the pressure value of the touch point makes it more convenient for the mobile terminal to accurately move the interface elements.

Claims (10)

  1. 一种界面元素移动的方法,所述方法包括:A method of moving an interface element, the method comprising:
    读取目标界面元素的原始坐标;Read the original coordinates of the target interface element;
    接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标;Receiving a touch operation input by the user, and reading coordinates of a touch point in an area touched by the touch operation;
    将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向;Setting a direction in which the original coordinates are directed to the coordinates of the touch point is set as a moving direction of the target interface element;
    设置所述目标界面元素的移动速度;Setting a moving speed of the target interface element;
    按照所述移动方向和移动速度控制所述目标界面元素移动。The target interface element movement is controlled in accordance with the moving direction and the moving speed.
  2. 根据权利要求1所述的方法,其中,所述设置所述目标界面元素的移动速度,包括:The method of claim 1, wherein the setting a moving speed of the target interface element comprises:
    获取所述触碰点的第一当前压力值;Obtaining a first current pressure value of the touch point;
    判断所述触碰点的第一当前压力值是否大于或者等于预先设置的压力阈值;Determining whether the first current pressure value of the touch point is greater than or equal to a preset pressure threshold;
    若所述触碰点的第一当前压力值大于或者等于所述压力阈值,将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。If the first current pressure value of the touch point is greater than or equal to the pressure threshold, the moving speed of the target interface element is set to a moving speed associated with the pressure value of the touch point.
  3. 根据权利要求2所述的方法,其中,所述将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度,包括:The method of claim 2, wherein the moving speed setting the moving speed of the target interface element to the pressure value of the touch point comprises:
    读取所述触碰点的第二当前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值;Reading a second current pressure value of the touch point, and calculating a pressure difference between the second current pressure value and the pressure threshold;
    将所述压力差值与预设速度的积作为所述目标界面元素的当前移动速度。The product of the pressure difference value and the preset speed is taken as the current moving speed of the target interface element.
  4. 根据权利要求1所述的方法,其中,所述设置所述目标界面元素的移动速度,包括:The method of claim 1, wherein the setting a moving speed of the target interface element comprises:
    检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预 设时长时,将预设速度设置为所述目标界面元素的移动速度。Detecting a touch duration of the touch operation, when the touch duration is greater than or equal to a pre- When the duration is set, the preset speed is set to the moving speed of the target interface element.
  5. 根据权利要求1-4任意一项所述的方法,其中,所述目标界面元素,包括:The method of any of claims 1-4, wherein the target interface element comprises:
    系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。The interface element that is set by default in the system or the interface element selected in response to the action entered by the user.
  6. 一种界面元素移动的装置,所述装置包括:A device for moving an interface element, the device comprising:
    读取模块,设置为读取目标界面元素的原始坐标;Reading module, set to read the original coordinates of the target interface element;
    接收模块,设置为接收用户输入的触碰操作,读取所述触碰操作所触碰的区域中的触碰点的坐标;The receiving module is configured to receive a touch operation input by the user, and read coordinates of the touch point in the area touched by the touch operation;
    第一设置模块,设置为将所述原始坐标指向所述触碰点的坐标的方向设置为所述目标界面元素的移动方向;a first setting module, configured to set a direction in which the original coordinates are directed to coordinates of the touch point as a moving direction of the target interface element;
    第二设置模块,设置为设置所述目标界面元素的移动速度;a second setting module, configured to set a moving speed of the target interface element;
    移动模块,设置为按照所述移动方向和移动速度控制所述目标界面元素移动。And a moving module configured to control the movement of the target interface element according to the moving direction and the moving speed.
  7. 根据权利要求6所述的装置,其中,所述移动模块包括:The apparatus of claim 6 wherein said mobile module comprises:
    获取单元,设置为获取所述触碰点的第一当前压力值;An acquiring unit, configured to acquire a first current pressure value of the touch point;
    判断单元,设置为判断所述触碰点的第一当前压力值是否大于或者等于预先设置的压力阈值;a determining unit, configured to determine whether the first current pressure value of the touch point is greater than or equal to a preset pressure threshold;
    关联单元,若所述触碰点的第一当前压力值大于或者等于所述压力阈值,所述关联单元设置为将所述目标界面元素的移动速度设置与所述触碰点的压力值关联的移动速度。Correlating unit, if the first current pressure value of the touch point is greater than or equal to the pressure threshold, the associating unit is configured to associate a moving speed setting of the target interface element with a pressure value of the touch point Moving speed.
  8. 根据权利要求7所述的装置,其中,所述关联单元包括:The apparatus of claim 7, wherein the associating unit comprises:
    读取子单元,读取所述触碰点的第二当前压力值,并计算所述第二当前压力值与所述压力阈值的压力差值;Reading a subunit, reading a second current pressure value of the touch point, and calculating a pressure difference between the second current pressure value and the pressure threshold;
    计算子单元,设置为将所述压力差值与预设速度的积作为所述目 标界面元素的当前移动速度。Calculating a subunit, set to combine the pressure difference value with a preset speed as the mesh The current moving speed of the interface element.
  9. 根据权利要求6所述的装置,其中,所述移动模块包括:The apparatus of claim 6 wherein said mobile module comprises:
    检测单元,设置为检测所述触碰操作的触碰时长,当所述触碰时长大于或者等于预设时长时,将预设速度设置为所述目标界面元素的移动速度。The detecting unit is configured to detect a touch duration of the touch operation, and set the preset speed to a moving speed of the target interface element when the touch duration is greater than or equal to a preset duration.
  10. 根据权利要求6-9任意一项所述的装置,其中,所述目标界面元素,包括:The apparatus of any of claims 6-9, wherein the target interface element comprises:
    系统默认设置的界面元素或响应用户输入的操作而选择的界面元素。 The interface element that is set by default in the system or the interface element selected in response to the action entered by the user.
PCT/CN2016/109947 2016-05-13 2016-12-14 Method and apparatus for moving interface element WO2017193584A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610321115.X 2016-05-13
CN201610321115.XA CN107368230A (en) 2016-05-13 2016-05-13 A kind of method and apparatus of interface element movement

Publications (1)

Publication Number Publication Date
WO2017193584A1 true WO2017193584A1 (en) 2017-11-16

Family

ID=60267479

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109947 WO2017193584A1 (en) 2016-05-13 2016-12-14 Method and apparatus for moving interface element

Country Status (2)

Country Link
CN (1) CN107368230A (en)
WO (1) WO2017193584A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722324A (en) * 2012-05-24 2012-10-10 中兴通讯股份有限公司 Method and device for operating touch screen
CN102750035A (en) * 2012-06-20 2012-10-24 中兴通讯股份有限公司 Method and device for determining display position of cursor
CN104182144A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Mobile terminal interface browsing method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419517A (en) * 2008-12-05 2009-04-29 北京邮电大学 Cursor input method based on stress position of touch panel
CN101751195A (en) * 2009-12-30 2010-06-23 中兴通讯股份有限公司 Method and device for controlling move event on resistive touch screen
CN104423870A (en) * 2013-09-10 2015-03-18 北京三星通信技术研究有限公司 Control in graphical user interface, display method as well as method and device for operating control
CN104731458B (en) * 2015-03-31 2016-11-09 努比亚技术有限公司 Automatic arranging desk-top picture calibration method, device and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722324A (en) * 2012-05-24 2012-10-10 中兴通讯股份有限公司 Method and device for operating touch screen
CN102750035A (en) * 2012-06-20 2012-10-24 中兴通讯股份有限公司 Method and device for determining display position of cursor
CN104182144A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Mobile terminal interface browsing method and system

Also Published As

Publication number Publication date
CN107368230A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
US10394443B2 (en) Method for viewing message and user terminal
US9436348B2 (en) Method and system for controlling movement of cursor in an electronic device
TWI617953B (en) Multi-task switching method, system and electronic device for touching interface
US9696767B2 (en) Command recognition method including determining a hold gesture and electronic device using the method
US20180046366A1 (en) Method for processing user interface of terminal, user interface, and terminal
US8681125B2 (en) Method and system for estimating the tendency of pressure change on a touch panel
US20120262405A1 (en) Method and mobile terminal for processing touch input
EP2818975A1 (en) Electronic device
TW201604719A (en) Method and apparatus of controlling a smart device
TW201626204A (en) Touch control photography method and touch terminal thereof
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
US20150185871A1 (en) Gesture processing apparatus and method for continuous value input
JP2014048971A (en) Input device, method for controlling input device, control program, and computer readable recording medium recorded with control program
WO2018019049A1 (en) Profile mode switching method and apparatus
CN105892915B (en) Information processing method and electronic equipment
TWI547860B (en) Interface display control system and method for electronic device
WO2016197743A3 (en) Touch screen control method and device, and terminal
CN104636068B (en) The operating method and touch control terminal of application icon
EP3246805B1 (en) Gesture operation response method and device
WO2018046000A1 (en) Touch operation method and device
CN105511673B (en) A kind of touch screen response method, device and game control method, device
CN105183358A (en) Zooming-in method, zooming-out method, zooming-in device, zooming-out device and terminal
WO2017193584A1 (en) Method and apparatus for moving interface element
CN105912158B (en) A kind of touch screen photographic method, device and the mobile terminal of mobile terminal
WO2019134228A1 (en) Method for deleting application, readable storage medium, terminal apparatus, and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16901539

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901539

Country of ref document: EP

Kind code of ref document: A1