CN107368230A - A kind of method and apparatus of interface element movement - Google Patents

A kind of method and apparatus of interface element movement Download PDF

Info

Publication number
CN107368230A
CN107368230A CN201610321115.XA CN201610321115A CN107368230A CN 107368230 A CN107368230 A CN 107368230A CN 201610321115 A CN201610321115 A CN 201610321115A CN 107368230 A CN107368230 A CN 107368230A
Authority
CN
China
Prior art keywords
interface element
touch points
translational speed
target interface
touching
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
CN201610321115.XA
Other languages
Chinese (zh)
Inventor
张雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610321115.XA priority Critical patent/CN107368230A/en
Priority to PCT/CN2016/109947 priority patent/WO2017193584A1/en
Publication of CN107368230A publication Critical patent/CN107368230A/en
Withdrawn legal-status Critical Current

Links

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

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)
  • Position Input By Displaying (AREA)

Abstract

The present invention provides the original coordinates that a kind of method and apparatus of interface element movement read target interface element, receive the touching operation of user's input, read the coordinate that the touching operates the touch points in touched region, the direction that the original coordinates are pointed to the coordinate of the touch points is arranged to the moving direction of the target interface element, the translational speed of the target interface element is set, controls the target interface element to move according to the moving direction and translational speed.Solve finger and pull the hard technical problem of accurate movement interface element, reached the easy to operate technique effect of mobile terminal accurate movement interface element.

Description

A kind of method and apparatus of interface element movement
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and apparatus of interface element movement.
Background technology
With the development of science and technology, the quantity of mobile terminal is more and more, and terminal screen also becomes larger, The movement of interface element causes certain puzzlement to user, for example, on mobile phone APP icons movement.Mesh Before, the method for interface element movement is mainly to be realized by finger dragging, still, for giant-screen For terminal, it is very hard that accurate movement interface element is pulled by finger.It can be seen that mobile terminal accurately moves Arena surface element is inconvenient for operation.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and apparatus of interface element movement solve shifting Move the problem of terminal accurate movement interface element is inconvenient for operation.
In order to achieve the above object, the embodiment of the present invention provides a kind of method of interface element movement, including:
Read the original coordinates of target interface element;
The touching operation of user's input is received, reads the touch points touched and operated in touched region Coordinate;
The direction that the original coordinates are pointed to the coordinate of the touch points is arranged to the target interface element Moving direction;
The translational speed of the target interface element is set;
The target interface element movement is controlled according to the moving direction and translational speed.
The embodiment of the present invention also provides a kind of device of interface element movement, including:
Read module, for reading the original coordinates of target interface element;
Receiving module, for receiving the touching operation of user's input, read the touching and operate touched area The coordinate of touch points in domain;
First setup module, it is arranged to for the original coordinates to be pointed to the direction of coordinate of the touch points The moving direction of the target interface element;
Second setup module, for setting the translational speed of the target interface element;
Mobile module, for controlling the target interface element to move according to the moving direction and translational speed It is dynamic.
The embodiment of the present invention also provides a kind of computer-readable storage medium, is stored with the computer-readable storage medium The executable one or more programs of computer, one or more of programs make when being performed by the computer The method that the computer performs a kind of interface element movement as provided above.
A technical scheme in above-mentioned technical proposal has the following advantages that or beneficial effect:
In the embodiment of the present invention movement at interface is determined by detecting the coordinate of touch points and the size of pressure Direction and translational speed, translational speed are the translational speed associated with the pressure value of touch points, make mobile terminal The operation of accurate movement interface element is more convenient.
Brief description of the drawings
Fig. 1 provides a kind of method of interface element movement for the present embodiment;
Fig. 2 provides a kind of method of interface element movement for the present embodiment;
Fig. 3 provides a kind of method of interface element movement for the present embodiment;
Fig. 4 provides a kind of device of interface element movement for the present embodiment;
Fig. 5 provides a kind of device of interface element movement for the present embodiment;
Fig. 6 provides a kind of device of interface element movement for the present embodiment.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
As shown in figure 1, the embodiment of the present invention provides a kind of method of interface element movement, comprise the following steps:
Step 101, the original coordinates for reading target interface element.
Optionally, the target interface element is the interface element or response user's input that system default is set The interface element for operating and selecting.
Wherein, the interface element that system default is set can be removable using Partial Elements in default setting interface , or the interface element selected in response to the operation of user's input.User input operation can be Interface element is marked user, according to the custom of oneself by the rubidium marking in interface to be moveable or Person is labeled as immovable.The process for reading the original coordinates of interface element can be with interface or boundary Any point is that origin establishes rectangular coordinate system outside face, then obtains interface according to the rectangular coordinate system established The original coordinates of element.
Step 102, the touching operation for receiving user's input, read the touching and operate in touched region Touch points coordinate.
Wherein, the touching operation of user's input can be the operation for pressing interface or the operation for touching screen. Pressing or touching can all have certain area size on interface every time, then in obtained interface zone Obtain coordinate of any point coordinate as touch points, the reference frame of the coordinate of acquired touch points and The coordinate system that step 101 is established is consistent.
Step 103, the direction for the coordinate that the original coordinates are pointed to the touch points are arranged to the target The moving direction of interface element.
Wherein, the moving direction for setting interface element is to determine direction vector according to 2 points of coordinate, described Moving direction is the coordinate that touch points are pointed to from original coordinates point.The determination of the direction vector, such as interface Original coordinates be (X1, Y1), the coordinate of touch points is (X2, Y2), then moving direction vector is (X2 - X1, Y2-Y1).
Step 104, the translational speed that the target interface element is set.
Step 105, according to the moving direction and translational speed the target interface element is controlled to move.
In the present embodiment, realized by obtaining the moving direction of interface element and the translational speed of interface element The movement of interface element, the convenient technique effect of Interface Moving is reached.
As shown in Fig. 2 the embodiment of the present invention provides a kind of method of interface element movement, comprise the following steps:
Step 201, the original coordinates for reading target interface element.
Optionally, the target interface element is the interface element or response user's input that system default is set The interface element for operating and selecting.
Wherein, the interface element that system default is set can be removable using Partial Elements in default setting interface , or the interface element selected in response to the operation of user's input, the operation of user's input can be Interface element is marked user, according to the custom of oneself by the rubidium marking in interface to be moveable or Person is labeled as immovable.The process for reading the original coordinates of interface element can be with interface or boundary Any point is that origin establishes rectangular coordinate system outside face, then obtains interface according to the rectangular coordinate system established The original coordinates of element.
Step 202, the touching operation for receiving user's input, read the touching and operate in touched region Touch points coordinate.
Wherein, the touching operation of user's input can be the operation for pressing interface or the operation for touching screen. Pressing or touching can all have certain area size on interface every time, then in obtained interface zone Obtain coordinate of any point coordinate as touch points, the reference frame of the coordinate of acquired touch points and The coordinate system that step 201 is established is consistent.
Step 203, the direction for the coordinate that the original coordinates are pointed to the touch points are arranged to the target The moving direction of interface element.
Wherein, the moving direction for setting interface element is to determine direction vector according to 2 points of coordinate, described Moving direction is the coordinate that touch points are pointed to from original coordinates point.The determination of the direction vector, such as interface Original coordinates be (X1, Y1), the coordinate of touch points is (X2, Y2), then moving direction vector is (X2 - X1, Y2-Y1).
Step 204, the first current pressure values for obtaining the touch points.
Wherein, the first pressure value of the touch points is to work as pressure value at the time of touching screen, first pressure For the acquisition process of value to obtain in real time, the time interval of acquisition can be 0.1 delicate or shorter.
Step 205, judge the touch points the first current pressure values be more than or equal to whether pre-set Pressure threshold.
Wherein, the advance pressure threshold is empirical value, can be 0.1 newton, 0.2 newton etc..
If the first current pressure values of step 206, the touch points are more than or equal to the pressure threshold, The translational speed of the target interface element is set to the translational speed associated with the pressure value of the touch points.
Optionally, the second current pressure values of the touch points are read, and calculate second current pressure values With the pressure difference value of the pressure threshold, using the product of the pressure difference value and pre-set velocity as target circle The current translational speed of surface element.
Wherein, the second current pressure values of touch points be judge touch points the first current pressure values be more than or The time of pressure value at the time of equal to the pressure threshold, the second current pressure values and the first current pressure values Interval is very short, can be 0.1 delicate or less.The translational speed of the target interface element is set The translational speed associated with the pressure value of the touch points, this incidence relation can be linear correlations, such as: Translational speed is linearly increasing with the increase of this pressure difference value, and the product of the pressure difference value and pre-set velocity is made For the current translational speed of the target interface element.This incidence relation can also be non-linear relation, i.e., Translational speed is with the increase of pressure difference value rather than linearly increasing.
Step 207, according to the moving direction and translational speed the target interface element is controlled to move.
In the present embodiment, realized by obtaining the moving direction of interface element and the translational speed of interface element The movement of interface element, and translational speed is associated with the size of pressure value, so as to reach boundary Face conveniently controls translational speed to carry out the technique effect of the movement of interface element.
As shown in figure 3, the embodiment of the present invention provides a kind of method of interface element movement, comprise the following steps:
Step 301, the original coordinates for reading target interface element.
Optionally, the target interface element is the interface element or response user's input that system default is set The interface element for operating and selecting.
Wherein, the interface element that system default is set can be removable using Partial Elements in default setting interface , or the interface element selected in response to the operation of user's input, the operation of user's input can be Interface element is marked user, according to the custom of oneself by the rubidium marking in interface to be moveable or Person is labeled as immovable.The process for reading the original coordinates of interface element can be with interface or boundary Any point is that origin establishes rectangular coordinate system outside face, then obtains interface according to the rectangular coordinate system established The original coordinates of element.
Step 302, the touching operation for receiving user's input, read the touching and operate in touched region Touch points coordinate.
Wherein, the touching operation of user's input can be the operation for pressing interface or the operation for touching screen. Pressing or touching can all have certain area size on interface every time, then in obtained interface zone Obtain coordinate of any point coordinate as touch points, the reference frame of the coordinate of acquired touch points and The coordinate system that step 301 is established is consistent.
Step 303, the direction for the coordinate that the original coordinates are pointed to the touch points are arranged to the target The moving direction of interface element.
Wherein, the moving direction for setting interface element is to determine direction vector according to 2 points of coordinate, described Moving direction is the coordinate that touch points are pointed to from original coordinates point.The determination of the direction vector, such as interface Original coordinates be (X1, Y1), the coordinate of touch points is (X2, Y2), then moving direction vector is (X2 - X1, Y2-Y1).
Step 304, the touching duration of the detection touching operation, when the touching duration is more than or equal to During preset duration, pre-set velocity is arranged to the translational speed of the target interface element.
Wherein, the translational speed of target interface is set to go for moving with the touching duration of touching operation Terminal does not have the situation of pressure sensitive device, and mobile terminal, which can also be applied, the situation of pressure sensitive device, When the duration for detecting touch points is more than preset duration, then translational speed is default speed.The duration For empirical value, changed according to the experience without user, can be 3.1 seconds, 3.2 seconds etc..
Step 305, according to the moving direction and translational speed the target interface element is controlled to move.
In the present embodiment, realized by obtaining the moving direction of interface element and the translational speed of interface element The movement of interface element, set duration threshold value to reach the translational speed pre-set, do not have so as to reach Pressure sensitive device mobile terminal can easily carry out the technique effect of Interface Moving.
As shown in figure 4, the embodiment of the present invention provides a kind of device of interface element movement, including:
Read module 41, the original coordinates for reading target interface element.
Optionally, the target interface element is the interface element or response user's input that system default is set The interface element for operating and selecting.
Wherein, the interface element that system default is set can be removable using Partial Elements in default setting interface , or the interface element selected in response to the operation of user's input, the operation of user's input can be Interface element is marked user, according to the custom of oneself by the rubidium marking in interface to be moveable or Person is labeled as immovable.The process for reading the original coordinates of interface element can be with interface or boundary Any point is that origin establishes rectangular coordinate system outside face, then obtains interface according to the rectangular coordinate system established The original coordinates of element.
Receiving module 42, the touching operation for receiving user's input, read the touching operation and are touched Region in touch points coordinate.
Wherein, the touching operation of user's input can be the operation for pressing interface or the operation for touching screen. Pressing or touching can all have certain area size on interface every time, then in obtained interface zone Obtain coordinate of any point coordinate as touch points, the reference frame of the coordinate of acquired touch points and The coordinate system that read module 41 is established is consistent.
First setup module 43, the direction of coordinate for the original coordinates to be pointed to the touch points are set It is set to the moving direction of the target interface element.
Wherein, the moving direction for setting interface element is to determine direction vector according to 2 points of coordinate, described Moving direction is the coordinate that touch points are pointed to from original coordinates point.The determination of the direction vector, such as interface Original coordinates be (X1, Y1), the coordinate of touch points is (X2, Y2), then moving direction vector is (X2 - X1, Y2-Y1).
Second setup module 44, the translational speed for setting the target interface element.
Mobile module 45, for controlling the target interface element according to the moving direction and translational speed It is mobile.
In the present embodiment, realized by obtaining the moving direction of interface element and the translational speed of interface element The movement of interface element, the convenient technique effect of Interface Moving is reached.
As shown in figure 5, the embodiment of the present invention provides a kind of device of interface element movement, including:
Read module 51, the original coordinates for reading target interface element.
Optionally, the target interface element is the interface element or response user's input that system default is set The interface element for operating and selecting.
Wherein, the interface element that system default is set can be removable using Partial Elements in default setting interface , or the interface element selected in response to the operation of user's input, the operation of user's input can be Interface element is marked user, according to the custom of oneself by the rubidium marking in interface to be moveable or Person is labeled as immovable.The process for reading the original coordinates of interface element can be with interface or boundary Any point is that origin establishes rectangular coordinate system outside face, then obtains interface according to the rectangular coordinate system established The original coordinates of element.
Receiving module 52, the touching operation for receiving user's input, read the touching operation and are touched Region in touch points coordinate.
Wherein, the touching operation of user's input can be the operation for pressing interface or the operation for touching screen. Pressing or touching can all have certain area size on interface every time, then in obtained interface zone Obtain coordinate of any point coordinate as touch points, the reference frame of the coordinate of acquired touch points and The coordinate system that read module 51 is established is consistent.
First setup module 53, the direction for the coordinate that the original coordinates are pointed to the touch points are arranged to The moving direction of the target interface element.
Wherein, the moving direction for setting interface element is to determine direction vector according to 2 points of coordinate, described Moving direction is the coordinate that touch points are pointed to from original coordinates point.The determination of the direction vector, such as interface Original coordinates be (X1, Y1), the coordinate of touch points is (X2, Y2), then moving direction vector is (X2 - X1, Y2-Y1).
Acquiring unit 54, the first current pressure values for obtaining the touch points.
Wherein, the first pressure value of the touch points is to work as pressure value at the time of touching screen, first pressure For the acquisition process of value to obtain in real time, the time interval of acquisition can be 0.1 delicate or shorter.
Judging unit 55, judge the first current pressure values of the touch points more than or equal to whether advance The pressure threshold of setting.
Wherein, the advance pressure threshold is empirical value, can be 0.1 newton, 0.2 newton etc..
If the first current pressure values of associative cell 56, the touch points are more than or equal to the pressure threshold Value, the translational speed of the target interface element is set to the mobile speed associated with the pressure value of the touch points Degree.
Optionally, the second current pressure values of the touch points are read, and calculate second current pressure values With the pressure difference value of the pressure threshold, using the product of the pressure difference value and pre-set velocity as target circle The current translational speed of surface element.
Wherein, the second current pressure values of touch points be judge touch points the first current pressure values be more than or The time of pressure value at the time of equal to the pressure threshold, the second current pressure values and the first current pressure values Interval is very short, can be 0.1 delicate or less.The translational speed of the target interface element is set The translational speed associated with the pressure value of the touch points, this incidence relation can be linear correlations, such as: Translational speed is linearly increasing with the increase of this pressure difference value, and the product of the pressure difference value and pre-set velocity is made For the current translational speed of the target interface element.This incidence relation can also be non-linear relation, i.e., Translational speed is with the increase of pressure difference value rather than linearly increasing.
Mobile module 57, for controlling the target interface element according to the moving direction and translational speed It is mobile.
In the present embodiment, realized by obtaining the moving direction of interface element and the translational speed of interface element The movement of interface element, and translational speed is associated with the size of pressure value, so as to reach boundary Face conveniently controls translational speed to carry out the technique effect of the movement of interface element.
As shown in fig. 6, the embodiment of the present invention provides a kind of device of interface element movement, including:
Read module 61, the original coordinates for reading target interface element.
Optionally, the target interface element is the interface element or response user's input that system default is set The interface element for operating and selecting.
Wherein, the interface element that system default is set can be removable using Partial Elements in default setting interface , or the interface element selected in response to the operation of user's input, the operation of user's input can be Interface element is marked user, according to the custom of oneself by the rubidium marking in interface to be moveable or Person is labeled as immovable.The process for reading the original coordinates of interface element can be with interface or boundary Any point is that origin establishes rectangular coordinate system outside face, then obtains interface according to the rectangular coordinate system established The original coordinates of element.
Receiving module 62, the touching operation for receiving user's input, read the touching and operate touched area The coordinate of touch points in domain.
Wherein, the touching operation of user's input can be the operation for pressing interface or the operation for touching screen. Pressing or touching can all have certain area size on interface every time, then in obtained interface zone Obtain coordinate of any point coordinate as touch points, the reference frame of the coordinate of acquired touch points and The coordinate system that read module 61 is established is consistent.
First setup module 63, the direction for the coordinate that the original coordinates are pointed to the touch points are arranged to The moving direction of the target interface element.
Wherein, the moving direction for setting interface element is to determine direction vector according to 2 points of coordinate, described Moving direction is the coordinate that touch points are pointed to from original coordinates point.The determination of the direction vector, such as interface Original coordinates be (X1, Y1), the coordinate of touch points is (X2, Y2), then moving direction vector is (X2 - X1, Y2-Y1).
Detection unit 64, detection it is described touching operation touching duration, when it is described touching duration be more than or During equal to preset duration, pre-set velocity is arranged to the translational speed of the target interface element.
Wherein, the translational speed of target interface is set to go for moving with the touching duration of touching operation Terminal does not have the situation of pressure sensitive device, and mobile terminal, which can also be applied, the situation of pressure sensitive device, When the duration for detecting touch points is more than preset duration, then translational speed is default speed.The duration For empirical value, changed according to the experience without user, can be 3.1 seconds, 3.2 seconds etc..
Mobile module 65, according to the moving direction and translational speed the target interface element is controlled to move.
In the present embodiment, realized by obtaining the moving direction of interface element and the translational speed of interface element The movement of interface element, set duration threshold value to reach the translational speed pre-set, do not have so as to reach Pressure sensitive device mobile terminal can easily carry out the technique effect of Interface Moving.
One of ordinary skill in the art will appreciate that realize all or part of step of above-described embodiment method It is that can be completed by the related hardware of programmed instruction, it is computer-readable that described program can be stored in one Take in medium, the program upon execution, comprises the following steps:Read the original coordinates of target interface element;
The touching operation of user's input is received, reads the touch points touched and operated in touched region Coordinate;
The direction that the original coordinates are pointed to the coordinate of the touch points is arranged to the target interface element Moving direction;
The translational speed of the target interface element is set;
The target interface element movement is controlled according to the moving direction and translational speed.
Optionally, the translational speed that the target interface element is set, including:
Obtain the first current pressure values of the touch points;
Judge the touch points the first current pressure values be more than or equal to whether the pressure threshold pre-set Value;
If the first current pressure values of the touch points are more than or equal to the pressure threshold, by the target The translational speed of interface element sets the translational speed associated with the pressure value of the touch points.
Optionally, the translational speed by the target interface element sets the pressure value with the touch points The translational speed of association, including:
The second current pressure values of the touch points are read, and calculate second current pressure values and the pressure The pressure difference value of force threshold;
Current translational speed using the product of the pressure difference value and pre-set velocity as the target interface element.
Optionally, the translational speed that the target interface element is set, including:
The touching duration of the touching operation is detected, when the touching duration is more than or equal to preset duration When, pre-set velocity is arranged to the translational speed of the target interface element.
Optionally, the target interface element, including:
The interface element of system default setting or the interface element selected in response to the operation of user's input.
Described storage medium, such as read-only storage (Read-Only Memory, abbreviation ROM), at random Access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
Described above is the preferred embodiment of the present invention, it is noted that for the common skill of the art For art personnel, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

  1. A kind of 1. method of interface element movement, it is characterised in that methods described includes:
    Read the original coordinates of target interface element;
    The touching operation of user's input is received, reads the touch points touched and operated in touched region Coordinate;
    The direction that the original coordinates are pointed to the coordinate of the touch points is arranged to the target interface element Moving direction;
    The translational speed of the target interface element is set;
    The target interface element movement is controlled according to the moving direction and translational speed.
  2. 2. according to the method for claim 1, it is characterised in that described that the target interface member is set The translational speed of element, including:
    Obtain the first current pressure values of the touch points;
    Judge whether the first current pressure values of the touch points are more than or equal to the pressure threshold pre-set Value;
    If the first current pressure values of the touch points are more than or equal to the pressure threshold, by the target The translational speed of interface element sets the translational speed associated with the pressure value of the touch points.
  3. 3. according to the method for claim 2, it is characterised in that described by the target interface element Translational speed the translational speed that is associated with the pressure value of the touch points is set, including:
    The second current pressure values of the touch points are read, and calculate second current pressure values and the pressure The pressure difference value of force threshold;
    Current translational speed using the product of the pressure difference value and pre-set velocity as the target interface element.
  4. 4. according to the method for claim 1, it is characterised in that described that the target interface member is set The translational speed of element, including:
    The touching duration of the touching operation is detected, when the touching duration is more than or equal to preset duration When, pre-set velocity is arranged to the translational speed of the target interface element.
  5. 5. according to the method described in claim 1-4 any one, it is characterised in that the target interface Element, including:
    The interface element of system default setting or the interface element selected in response to the operation of user's input.
  6. 6. a kind of device of interface element movement, it is characterised in that described device includes:
    Read module, for reading the original coordinates of target interface element;
    Receiving module, for receiving the touching operation of user's input, read the touching and operate touched area The coordinate of touch points in domain;
    First setup module, it is arranged to for the original coordinates to be pointed to the direction of coordinate of the touch points The moving direction of the target interface element;
    Second setup module, for setting the translational speed of the target interface element;
    Mobile module, for controlling the target interface element to move according to the moving direction and translational speed It is dynamic.
  7. 7. device according to claim 6, it is characterised in that the mobile module includes:
    Acquiring unit, for obtaining the first current pressure values of the touch points;
    Judging unit, it is advance whether the first current pressure values for judging the touch points are more than or equal to The pressure threshold of setting;
    Associative cell, if the first current pressure values of the touch points are more than or equal to the pressure threshold, The associative cell is used to setting the translational speed of the target interface element into the pressure with the touch points It is worth the translational speed of association.
  8. 8. device according to claim 7, it is characterised in that the associative cell includes:
    Subelement is read, reads the second current pressure values of the touch points, and calculates the described second current pressure Force value and the pressure difference value of the pressure threshold;
    Computation subunit, for using the product of the pressure difference value and pre-set velocity as the target interface element Current translational speed.
  9. 9. device according to claim 6, it is characterised in that the mobile module includes:
    Detection unit, for detect it is described touching operation touching duration, when it is described touching duration be more than or During equal to preset duration, pre-set velocity is arranged to the translational speed of the target interface element.
  10. 10. according to the device described in claim 6-9 any one, it is characterised in that the target interface Element, including:
    The interface element of system default setting or the interface element selected in response to the operation of user's input.
CN201610321115.XA 2016-05-13 2016-05-13 A kind of method and apparatus of interface element movement Withdrawn CN107368230A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610321115.XA CN107368230A (en) 2016-05-13 2016-05-13 A kind of method and apparatus of interface element movement
PCT/CN2016/109947 WO2017193584A1 (en) 2016-05-13 2016-12-14 Method and apparatus for moving interface element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN107368230A true CN107368230A (en) 2017-11-21

Family

ID=60267479

Family Applications (1)

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

Country Status (2)

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

Citations (5)

* 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
CN104182144A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Mobile terminal interface browsing method and system
CN104423870A (en) * 2013-09-10 2015-03-18 北京三星通信技术研究有限公司 Control in graphical user interface, display method as well as method and device for operating control
CN104731458A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Method and device for automatically arranging desktop icons and mobile terminal

Family Cites Families (2)

* 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
CN102750035B (en) * 2012-06-20 2017-12-05 中兴通讯股份有限公司 The determination method and apparatus of display position of cursor

Patent Citations (5)

* 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
CN104182144A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Mobile terminal interface browsing method and system
CN104731458A (en) * 2015-03-31 2015-06-24 努比亚技术有限公司 Method and device for automatically arranging desktop icons and mobile terminal

Also Published As

Publication number Publication date
WO2017193584A1 (en) 2017-11-16

Similar Documents

Publication Publication Date Title
US9436348B2 (en) Method and system for controlling movement of cursor in an electronic device
CN104571918B (en) Terminal one-handed performance interface triggering method and device
CN105204745B (en) Screen capturing method and device for mobile terminal
JP2015153420A (en) Multitask switching method and system and electronic equipment having the same system
CN105511781B (en) Start the method, apparatus and user equipment of application program
CN102289325B (en) Mobile terminal, touch area recognition device and method
CN104516658B (en) A kind of method of one-handed performance screen of hand-held device
CN103870156A (en) Method and device for processing object
CN102707114A (en) Waveform control method of digital oscilloscope
EP3757730A3 (en) Intent detection with a computing device
WO2017185459A1 (en) Method and apparatus for moving icons
EP2677396A3 (en) Method for inputting character and information processing apparatus
CN104536643A (en) Icon dragging method and terminal
EP3133479A1 (en) Element deleting method and apparatus based on touch screen
CN105159494A (en) Information display method and device
CN106814959A (en) A kind of U.S. face photographic method, device and terminal
CN105242825A (en) Terminal control method and apparatus
CN105204690A (en) Method and device for starting up Android platform application
CN105843523B (en) Information processing method and device
US20150185871A1 (en) Gesture processing apparatus and method for continuous value input
CN103761041A (en) Information processing method and electronic device
WO2016197743A3 (en) Touch screen control method and device, and terminal
CN104636020A (en) Touch feedback method and touch feedback terminal
CN105912158B (en) A kind of touch screen photographic method, device and the mobile terminal of mobile terminal
WO2018046000A1 (en) Touch operation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20171121

WW01 Invention patent application withdrawn after publication