WO2018032694A1 - Method and device for adjusting object position - Google Patents

Method and device for adjusting object position Download PDF

Info

Publication number
WO2018032694A1
WO2018032694A1 PCT/CN2016/113164 CN2016113164W WO2018032694A1 WO 2018032694 A1 WO2018032694 A1 WO 2018032694A1 CN 2016113164 W CN2016113164 W CN 2016113164W WO 2018032694 A1 WO2018032694 A1 WO 2018032694A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
displacement
touch event
event
points
Prior art date
Application number
PCT/CN2016/113164
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 WO2018032694A1 publication Critical patent/WO2018032694A1/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/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/0486Drag-and-drop
    • 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 touch screen technologies, and in particular, to a method and apparatus for adjusting an object position.
  • the object to be adjusted is pressed with the finger, and the finger is released after the finger is moved to the destination, and the object is dragged to the position where the finger is released.
  • Objects include icons, folders, files, etc. displayed on the touch screen.
  • the touch all-in-one usually has a large screen.
  • the user wants to move the object on the screen to the other end by dragging and dropping, the person also has to go to the other end of the screen, and the user who is not tall wants to put the screen.
  • Objects can't be dragged to the top of the screen. Therefore, in a large-screen touch device, the position of the object is adjusted by a conventional method, which causes inconvenience to the user's operation.
  • a method for adjusting the position of an object comprising:
  • the touch information includes a number of touch points acting on the touch screen
  • the object is moved to a corresponding position of the displacement of the object in the (N+1)th touch event.
  • An adjustment device for an object position comprising:
  • a detecting module configured to detect whether there is a drag operation on the object
  • the acquiring module is configured to generate a first touch event when the drag operation on the object is detected, and collect touch information of the first touch event; and generate an N+1 at every Nth preset interval time. Touching an event and collecting touch information of the touch event; the touch information includes a number of touch points acting on the touch screen, wherein N is an integer greater than 0;
  • a calculation module configured to calculate, according to the touch information of the touch event, a displacement of the object in the corresponding touch event; the number of the touch points is positively correlated with the displacement of the object;
  • the adjustment module moves the object to a corresponding position of the displacement of the object in the (N+1)th touch event.
  • the method for adjusting the position of the object when detecting a drag operation on the object in the touch device, generating a touch event and collecting touch information of each touch event, the touch information including the number of fingers acting on the touch screen, the number of fingers and the object
  • the displacement is positively correlated, moving the object to the corresponding position of the displacement of the object in the N+1th touch event. Since the number of fingers is positively correlated with the displacement of the object, the displacement of the object in unit time can be flexibly adjusted by increasing or decreasing the number of fingers, thereby flexibly adjusting the drag speed of the object.
  • 1 is a flow chart of a method for adjusting an object position of an embodiment
  • FIG. 2 is a flow chart of a method for adjusting an object position of another embodiment
  • FIG. 3 is a schematic diagram of an interface operation of starting a drag object in an embodiment
  • FIG. 4 is a schematic diagram of an interface operation of dragging an object using a plurality of fingers according to another embodiment
  • FIG. 5 is a schematic diagram of an operation of an interface for dragging an object to a target position using one finger
  • FIG. 6 is a schematic diagram of functional modules of an apparatus for adjusting an object position according to an embodiment
  • Fig. 7 is a functional block diagram of an apparatus for adjusting an object position of another embodiment.
  • the method of adjusting the position of the object is applied to a touch device of a large screen, particularly a touch integrated machine.
  • a method for adjusting an object position includes the following steps:
  • An object is an application installed on a touch device or a file and folder stored on a touch device.
  • the drag operation on the object refers to the user selecting and dragging by the touch operation.
  • the object is selected and slid on the touch screen to implement the drag operation.
  • S104 When a drag operation on the object is detected, generate a first touch event, and collect touch information of the first touch event.
  • S106 Generate an N+1th touch event every Nth preset interval time, and collect touch information of the touch event.
  • a second touch event is generated at a first preset interval time
  • a third touch event is generated at a second preset interval time
  • a Nth is generated at the Nth preset interval time.
  • +1 touch event and collect touch information of the touch event. It can be understood that the preset interval time is counted from the time when the first touch event is generated.
  • the preset interval time needs to be relatively short, so that in a continuous touch event, the sliding of the touch point forms a continuous sliding track on the touch screen.
  • the preset interval time is 10 milliseconds, and 100 touch events are generated within 1 second.
  • the touch information includes the number of touch points acting on the touch screen.
  • the number of touch points on the touch screen may change, for example, the number of touch points is increased relative to the last touch event, for example, The number of touch points is reduced relative to the last touch event.
  • S108 Calculate a displacement of the object in the corresponding touch event according to the touch information of the touch event.
  • the displacement of the object in the (N+1)th touch event refers to the Nth touch event.
  • the moving distance of the object that is, the moving distance of the object in the preset time interval corresponding to the touch event.
  • the displacement of the object in a touch event is calculated based on the touch information in the touch event.
  • the number of touch points is positively related to the displacement of the object. In one embodiment, when the number of touch points is increased relative to the last touch event, the displacement of the object in the touch event is relatively increased. In one embodiment, when the number of touch points is reduced relative to the last touch event, the displacement of the object in the touch event is relatively reduced.
  • the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event, and the displacement of the object can be displayed on the touch device in real time according to the operation of the user, and the user selects the object and drags the object.
  • the movement of the object can be visually observed to facilitate adjusting the number of touch points according to the distance of the moving position of the object in the current touch event from the target position. It can be understood that since the number of touch points is positively correlated with the displacement of the object, when the object is dragged on the touch screen by using multiple touch points, the object is not necessarily directly below the touch point.
  • the method for adjusting the position of the object when detecting a drag operation on the object in the touch device, generates a touch event and collects touch information of each touch event, where the touch information includes the number of touch points acting on the touch screen, and the touch
  • the number of points is positively correlated with the displacement of the object, and the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event. Since the number of touch points is positively correlated with the displacement of the object, the displacement of the object in unit time can be flexibly adjusted by increasing or decreasing the number of touch points, thereby flexibly adjusting the drag speed of the object.
  • step S110 the method further includes the steps of:
  • step S112 Detect whether the drag operation ends. If yes, go to step S114, if no, go back to step S106.
  • the displacement of the object during the dragging process is the sum of the displacements of the objects in each touch event.
  • the detection of whether the drag operation ends can be achieved by detecting whether there is a touch operation in the touch device, that is, detecting whether the touch point leaves the touch device, and when the touch point is detected to leave the touch device, the drag operation ends.
  • the displacement of the object in the N+1 touch event is relative
  • the moving distance of the object in the Nth touch event the displacement of the object during the dragging process can be obtained by calculating the sum of the displacements of the objects in each touch event.
  • the displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
  • the user needs to move the object located in the lower left corner of the screen to the upper right corner of the screen.
  • the user uses five fingers to drag on the screen, and in one touch event, the touch point is detected.
  • the number of touch points is positively related to the displacement of the object. In the corresponding touch event, the more the number of touch points, the larger the displacement of the object. Therefore, multiple fingers are used to generate multiple touches.
  • Point the object can be moved to the vicinity of the target position at a faster speed. And, the object moves as the user drags on the touch screen, and the user intuitively observes the distance of the object from the target position.
  • the user can reduce the number of sliding touch points, for example, using one finger to continue dragging on the touch screen.
  • the number of touch points detected is one. Since the number of touch points is positively correlated with the displacement of the object, the number of touch points is reduced, the displacement of the object is reduced, and the movement of the object is relatively The speed is slowed down, and the user observes the position of the object during the movement.
  • the touch point is released and the touch device is released, so that the position of the object is adjusted to the target position.
  • step S108 specifically includes the following steps 1 and 2:
  • Step 1 Calculate the displacement of all touch points in the corresponding touch event according to the touch information of the touch event.
  • Step 2 Calculate the sum of the displacements of all the touch points in the corresponding touch event.
  • the displacement of the object in one touch event is the sum of the displacements of all the touch points in the touch event.
  • the displacement of the object in the (N+1)th touch event refers to the moving distance of the object relative to the Nth touch event.
  • the displacement of an object in a touch event is the sum of the displacements of all touch points in the touch event.
  • the touch information further includes a current coordinate of each touch point and a coordinate of each touch point in a previous touch event, and the coordinates corresponding to each touch point may be determined according to the touch point ID (Identity). set.
  • the touch point ID corresponding to the touch point is constant, and the current coordinates of each touch point and the coordinates of each touch point in the previous touch event can be tracked according to the touch point ID. Calculating the displacement of all the touch points in the touch event according to the touch information of the touch event, specifically, calculating each touch point according to the number of touch points, the current coordinates of each touch point, and the coordinates of the previous touch event. The displacement in the corresponding touch event.
  • the touch point forms a sliding track on the touch screen
  • the touch information includes the current coordinates of each touch point and the coordinates of each touch point in the previous touch event. Calculating the distance that the touch point moves in the touch event according to the current coordinate of each touch point and the coordinates of the previous touch event, that is, the displacement of the touch point in the touch event.
  • the displacement of the object in one touch event is the sum of the displacements of all touch points in the touch event. For example, in the Nth touch event, the user uses five fingers, and in the touch event, the displacement of the object is the sum of the displacements of the five touch points on the screen. In the N+1th touch event, the user reduces the number of touch points, and uses one finger.
  • the touch point used in the N+1th touch event is acquired.
  • the coordinates of the touch point used in the (N+1)th touch event are calculated by the coordinates in the Nth touch event and the current coordinates in the (N+1)th touch event.
  • the user uses one finger to generate a touch point
  • the displacement of the object is the displacement of the touch point on the screen.
  • step S108 includes the following steps 1 to 3:
  • Step 1 Obtain the number of touch points acting on the touch screen in the touch event, and determine the displacement ratio corresponding to the number of touch points.
  • Step 2 Calculate the displacement of any one of the corresponding touch events according to the touch information of the touch event.
  • Step 3 Calculate the product of the displacement of the touch point and the displacement ratio.
  • the displacement of the object in a touch event is the product of the displacement of the touch point and the displacement ratio in the touch event.
  • the displacement ratio is the ratio of the displacement of a single touch point to the displacement of the object in a touch event.
  • the displacement of each touch point in a touch event is the same.
  • the displacement of any touch point ID is taken to calculate the displacement of a single touch point in one touch event.
  • the displacement ratio corresponding to the number of touch points can be set according to the size of the touch screen of the touch device.
  • the larger the touch screen the larger the displacement ratio of the number of touch points.
  • the displacement ratio corresponding to the number of touch points is 1:3, and in the touch event, the displacement of the object is the displacement of the touch point in the touch event. 3 times.
  • the displacement of the object is adjusted according to the displacement of the touch point according to the displacement ratio, and by adjusting the displacement ratio, the adjustment of the object position of the oversized screen can be realized.
  • the object 10 when the user presses the object 10 on the touch screen for a preset time, the object 10 is selected and dragged.
  • the object 10 is located at the lower left corner of the touch screen, and the user needs to adjust the object 10 to the target position 20, the target position 20, and the target position 20 is located at the upper right corner of the touch screen.
  • the user selects the touch screen to drag the object to the target position 20 during the sliding process, and increases the number of touch points, for example, using five fingers.
  • the number of touch points is positively related to the displacement of the object. More specifically, in one touch event, the displacement of the object is the sum of the displacements of all the touch points in the touch event. Therefore, the more the number of touch points, the shorter the distance the hand slides on the touch screen, the shorter the time, the object can be dragged to a greater distance. It can be understood that, since the displacement of the object is the sum of the displacements of all the touch points in the touch event in one touch event, when the object is dragged on the touch screen by using multiple touch points, the object 10 is not at the touch point. Just below.
  • the drag object 10 when the drag object 10 is near the target position 20, the number of dragging touch points can be reduced to one.
  • the displacement of the object is the displacement of one touch point in the touch event.
  • the displacement speed of the object is lowered, and the user can controlably drag the object to the target position 20.
  • the user's touch point can be adjusted from the initial position to the target position without sliding to the target position.
  • the drag speed of the object is controllable.
  • the user can increase or decrease the number of touch points according to actual needs, thereby correspondingly increasing or decreasing the drag speed. This method is especially suitable for the touch integration of large screens.
  • an apparatus for adjusting the position of an object as shown in FIG. 6, includes:
  • the detecting module 10 is configured to detect whether there is a drag operation on the object.
  • An object is an application installed on a touch device or a file and folder stored on a touch device.
  • the drag operation on the object refers to the user selecting and dragging by the touch operation.
  • the object is selected and slid on the touch screen to implement the drag operation.
  • the acquiring module 30 is configured to generate a first touch event when the drag operation on the object is detected, and collect touch information of the first touch event; and generate an N+ at every Nth preset interval time. 1 touching the event and collecting touch information of the touch event; the touch information includes the number of touch points acting on the touch screen, where N is an integer greater than 0.
  • a second touch event is generated at a first preset interval time
  • a third touch event is generated at a second preset interval time
  • a Nth is generated at the Nth preset interval time.
  • +1 touch event and collect touch information of the touch event. It can be understood that the preset interval time is counted from the time when the first touch event is generated.
  • the preset interval time needs to be relatively short, so that in a continuous touch event, the sliding of the touch point forms a continuous sliding track on the touch screen.
  • the preset interval time is 10 milliseconds, and 100 touch events are generated within 1 second.
  • the touch information includes the number of touch points acting on the touch screen.
  • the number of touch points on the touch screen may change, for example, the number of touch points is increased relative to the last touch event, for example, The number of touch points is reduced relative to the last touch event.
  • the calculating module 50 is configured to calculate, according to the touch information of the touch event, the displacement of the object in the corresponding touch event, and the number of the touch points is positively correlated with the displacement of the object.
  • the displacement of the object in the (N+1)th touch event refers to the moving distance of the object relative to the object in the Nth touch event, that is, the moving distance of the object in the preset time interval corresponding to the touch event.
  • the displacement of the object in a touch event is calculated based on the touch information in the touch event.
  • the number of touch points is positively related to the displacement of the object.
  • the adjustment module 70 moves the object to the corresponding position of the displacement of the object in the (N+1)th touch event.
  • the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event, and the displacement of the object can be displayed on the touch device in real time according to the operation of the user, and the user selects the object and drags the object.
  • the movement of the object can be visually observed to facilitate adjusting the number of touch points according to the distance of the moving position of the object in the current touch event from the target position. It can be understood that since the number of touch points is positively correlated with the displacement of the object, when the object is dragged on the touch screen by using multiple touch points, the object is not necessarily directly below the touch point.
  • the device for adjusting the position of the object detects a drag operation on the object in the touch device, generates a touch event, and collects touch information of each touch event, where the touch information includes the number of touch points acting on the touch screen, and the touch
  • the number of points is positively correlated with the displacement of the object, and the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event. Since the number of touch points is positively correlated with the displacement of the object, the displacement of the object in unit time can be flexibly adjusted by increasing or decreasing the number of touch points, thereby flexibly adjusting the drag speed of the object.
  • the displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
  • the detection of whether the drag operation ends can be achieved by detecting whether there is a touch operation in the touch device, that is, detecting whether the touch point leaves the touch device, and when the touch point is detected to leave the touch device, the drag operation ends.
  • the end of the drag operation is detected, since the displacement of the object in the (N+1)th touch event is relative to the moving distance of the object in the Nth touch event, the object is dragged by calculating the sum of the displacements of the objects in each touch event.
  • the displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
  • the calculation module 50 includes: a first touch point displacement calculation module 501 and a second object displacement calculation module 502 .
  • the first touch point displacement calculation module 501 is configured to calculate a displacement of all touch points in the corresponding touch event according to the touch information of the touch event.
  • the second object displacement calculation module 502 is configured to calculate a sum of displacements of all touch points in the corresponding touch event, and the displacement of the object in one touch event is the sum of displacements of all the touch points in the touch event.
  • the displacement of the object in the (N+1)th touch event refers to the moving distance of the object relative to the Nth touch event.
  • the displacement of an object in a touch event is the sum of the displacements of all touch points in the touch event.
  • the touch information further includes a current coordinate of each touch point and a coordinate of the last touch event of each touch point
  • the touch point position calculation module 501 is specifically configured to use the touch point number and each touch.
  • the current coordinates of the point and the coordinates of the previous touch event calculate the displacement of each touch point in the corresponding touch event.
  • the user's touch point can be adjusted from the initial position to the target position without the need to slide to the target position.
  • the drag speed of the object is controllable.
  • the user can increase or decrease the number of touch points according to actual needs, thereby correspondingly increasing or decreasing the drag speed. This method is especially suitable for the touch integration of large screens.
  • the calculation module includes: a displacement ratio determination module, a second touch point displacement calculation module, and a second object displacement calculation module;
  • a displacement ratio determining module configured to acquire a number of touch points acting on the touch screen in the touch event, and determine a displacement ratio corresponding to the number of touch points
  • a second touch point displacement calculation module configured to calculate a displacement of any one of the corresponding touch events according to the touch information of the touch event
  • the second object displacement calculation module is configured to calculate a product of the displacement of the touch point and the displacement ratio.
  • the displacement of the object in a touch event is the product of the displacement of the touch point and the displacement ratio in the touch event.
  • the displacement ratio is the ratio of the displacement of a single touch point to the displacement of the object in a touch event.
  • the displacement of each touch point in a touch event is the same.
  • the displacement of the touch point in each touch event is obtained by tracking the touch point ID.
  • the touch of the selected object is released.
  • the displacement of any touch point ID is taken to calculate the displacement of a single touch point in one touch event.
  • the displacement ratio corresponding to the number of touch points can be set according to the size of the touch screen of the touch device.
  • the larger the touch screen the larger the displacement ratio of the number of touch points.
  • the displacement ratio corresponding to the number of touch points is 1:3, and in the touch event, the displacement of the object is the displacement of the touch point in the touch event. 3 times.
  • the displacement of the object is adjusted according to the displacement of the touch point according to the displacement ratio, and by adjusting the displacement ratio, the adjustment of the object position of the oversized screen can be realized.

Landscapes

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

Abstract

A method and device for adjusting an object position. The method comprises: detecting whether an operation of dragging an object exists (S102); generating a first touch event when the operation of dragging the object is detected, and collecting touch information of the first touch event (S104); generating an (N+1)th touch event at every Nth preset interval time, and collecting the touch information of the touch event (S106); calculating, according to the touch information of the touch event, the displacement of the object in a corresponding touch event (S108), the number of touch points being positively correlated with the displacement of the object; and moving the object to a position corresponding to the displacement of the object in the (N+1)th touch event (S110). By means of the method, an object can be moved to a far position on a touch screen without sliding a far distance on the screen by a finger. The method is convenient for a user to operate, and is particularly suitable for adjusting an object position on a large screen.

Description

对象位置的调整方法和装置Method and device for adjusting object position 技术领域Technical field
本发明涉及触摸屏技术领域,特别是涉及一种对象位置的调整方法和装置。The present invention relates to the field of touch screen technologies, and in particular, to a method and apparatus for adjusting an object position.
背景技术Background technique
用户在带触摸屏的设备上对对象位置进行调整时,是使用手指按住要调整的对象,移动手指到目的地后松开手指,对象就会被拖拽到手指松开的位置。对象包括触摸屏上显示的图标、文件夹、文件等。When the user adjusts the position of the object on the device with the touch screen, the object to be adjusted is pressed with the finger, and the finger is released after the finger is moved to the destination, and the object is dragged to the position where the finger is released. Objects include icons, folders, files, etc. displayed on the touch screen.
触控一体机通常具有较大屏幕,用户想通过拖拽的方式将屏幕上的对象移动到另一端时,人也要走到屏幕的另一端,并且,个子不高的用户想要将屏幕的对象拖拽到屏幕顶端时可能够不着。因此,在大屏幕的触摸设备中,采用传统方法调整对象的位置,给用户的操作带来不便。The touch all-in-one usually has a large screen. When the user wants to move the object on the screen to the other end by dragging and dropping, the person also has to go to the other end of the screen, and the user who is not tall wants to put the screen. Objects can't be dragged to the top of the screen. Therefore, in a large-screen touch device, the position of the object is adjusted by a conventional method, which causes inconvenience to the user's operation.
发明内容Summary of the invention
基于此,有必要针对上述问题,提供一种适用于大屏幕的,且操作便利的对象位置的调整方法和装置。Based on this, it is necessary to provide a method and apparatus for adjusting the position of an object suitable for a large screen and which is convenient to operate in view of the above problems.
一种对象位置的调整方法,包括:A method for adjusting the position of an object, comprising:
侦测是否有对对象的拖曳操作;Detecting whether there is a drag operation on the object;
当侦测到对对象的拖曳操作时,生成第一触摸事件,并采集第一触摸事件的触摸信息;When the drag operation on the object is detected, generating a first touch event and collecting touch information of the first touch event;
在每第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息;所述触摸信息包括作用在触摸屏上的触控点数量;Generating an N+1th touch event at every Nth preset interval time, and collecting touch information of the touch event; the touch information includes a number of touch points acting on the touch screen;
根据触摸事件的触摸信息得到对应触摸事件中对象的位移;所述触控点数量与所述对象的位移成正相关;Obtaining a displacement of the object in the corresponding touch event according to the touch information of the touch event; the number of the touch points is positively correlated with the displacement of the object;
将所述对象移动至第N+1触摸事件中对象的位移的对应位置。The object is moved to a corresponding position of the displacement of the object in the (N+1)th touch event.
一种对象位置的调整装置,包括: An adjustment device for an object position, comprising:
侦测模块,用于侦测是否有对对象的拖曳操作;a detecting module, configured to detect whether there is a drag operation on the object;
采集模块,用于当侦测到对对象的拖曳操作时,生成第一触摸事件,并采集第一触摸事件的触摸信息;还用于在每第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息;所述触摸信息包括作用在触摸屏上的触控点数量,其中N为大于0的整数;The acquiring module is configured to generate a first touch event when the drag operation on the object is detected, and collect touch information of the first touch event; and generate an N+1 at every Nth preset interval time. Touching an event and collecting touch information of the touch event; the touch information includes a number of touch points acting on the touch screen, wherein N is an integer greater than 0;
计算模块,用于根据触摸事件的触摸信息计算对应触摸事件中对象的位移;所述触控点数量与对象的位移成正相关;a calculation module, configured to calculate, according to the touch information of the touch event, a displacement of the object in the corresponding touch event; the number of the touch points is positively correlated with the displacement of the object;
调整模块,将所述对象移动至第N+1触摸事件中对象的位移的对应位置。The adjustment module moves the object to a corresponding position of the displacement of the object in the (N+1)th touch event.
上述的对象位置的调整方法,当侦测到触摸设备中对对象的拖曳操作时,生成触摸事件并采集每个触摸事件的触摸信息,触摸信息包括作用在触摸屏上的手指数量,手指数量与对象的位移成正相关,将对象移动至第N+1触摸事件中对象的位移的对应位置。由于手指数量与对象的位移成正相关,可通过增加或减少手指数量,灵活地调整对象在单位时间的位移,实现灵活地调整对象的拖曳速度。通过增加触摸屏上拖曳的对象的手指数量,无需手在触摸屏上滑动较远距离,就能够实现将对象移动至屏幕上的较远位置,用户操作方便,该方法尤其适应于大屏幕的对象位置的调整。The method for adjusting the position of the object, when detecting a drag operation on the object in the touch device, generating a touch event and collecting touch information of each touch event, the touch information including the number of fingers acting on the touch screen, the number of fingers and the object The displacement is positively correlated, moving the object to the corresponding position of the displacement of the object in the N+1th touch event. Since the number of fingers is positively correlated with the displacement of the object, the displacement of the object in unit time can be flexibly adjusted by increasing or decreasing the number of fingers, thereby flexibly adjusting the drag speed of the object. By increasing the number of fingers of the object dragged on the touch screen, it is possible to move the object to a distant position on the screen without the need to slide the finger over the touch screen for a long distance, and the user is convenient to operate, and the method is especially suitable for the object position of the large screen. Adjustment.
附图说明DRAWINGS
图1为一个实施例的对象位置的调整方法的流程图;1 is a flow chart of a method for adjusting an object position of an embodiment;
图2为另一个实施例的对象位置的调整方法的流程图;2 is a flow chart of a method for adjusting an object position of another embodiment;
图3为一个实施例的开始拖曳对象的界面操作示意图;3 is a schematic diagram of an interface operation of starting a drag object in an embodiment;
图4为另一个实施例的使用多根手指拖曳对象的界面操作示意图;4 is a schematic diagram of an interface operation of dragging an object using a plurality of fingers according to another embodiment;
图5为一个实施例的使用一根手指将对象拖曳至目标位置的界面操作示意图;5 is a schematic diagram of an operation of an interface for dragging an object to a target position using one finger;
图6为一个实施例的对象位置的调整装置的功能模块示意图;6 is a schematic diagram of functional modules of an apparatus for adjusting an object position according to an embodiment;
图7为另一个实施例的对象位置的调整装置的功能模块示意图。Fig. 7 is a functional block diagram of an apparatus for adjusting an object position of another embodiment.
具体实施方式 detailed description
为了使本发明的目的、技术方案以及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在一个实施例中,对象位置的调整方法应用于大屏幕的触摸设备,特别是触控一体机。如图1所示,一种对象位置的调整方法,包括以下步骤:In one embodiment, the method of adjusting the position of the object is applied to a touch device of a large screen, particularly a touch integrated machine. As shown in FIG. 1, a method for adjusting an object position includes the following steps:
S102:侦测是否有对对象的拖曳操作。S102: Detect whether there is a drag operation on the object.
对象指安装在触摸设备的应用程序或是存储在触摸设备的文件和文件夹。对对象的拖曳操作是指用户通过触控操作选择对象并进行拖曳,在具体的实施方式中,当按压对象超过预设时间时,选择该对象并在触摸屏上滑动实现拖曳操作。An object is an application installed on a touch device or a file and folder stored on a touch device. The drag operation on the object refers to the user selecting and dragging by the touch operation. In a specific implementation manner, when the object is pressed for more than a preset time, the object is selected and slid on the touch screen to implement the drag operation.
S104:当侦测到对对象的拖曳操作时,生成第一触摸事件,并采集第一触摸事件的触摸信息。S104: When a drag operation on the object is detected, generate a first touch event, and collect touch information of the first touch event.
当按压对象超过预设时间时并在触摸设备上滑动时,侦测到对对象的拖曳操作,生成第一触摸事件。When the pressing object exceeds the preset time and slides on the touch device, a drag operation on the object is detected to generate a first touch event.
S106:在每第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息。S106: Generate an N+1th touch event every Nth preset interval time, and collect touch information of the touch event.
具体的,在第一个预设间隔时间,生成第二触摸事件;在第二个预设间隔时间,生成第三触摸事件,并以此类推,在第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息。可以理解的是,预设间隔时间自生成第一触摸事件的时间开始计时。Specifically, a second touch event is generated at a first preset interval time, a third touch event is generated at a second preset interval time, and so on, and a Nth is generated at the Nth preset interval time. +1 touch event and collect touch information of the touch event. It can be understood that the preset interval time is counted from the time when the first touch event is generated.
预设间隔时间需要比较短,从而在连续的触摸事件中,触控点的滑动在触摸屏上形成连续的滑动轨迹。在一个具体的实施方式中,预设间隔时间为10毫秒,在1秒内会生成100次触摸事件。The preset interval time needs to be relatively short, so that in a continuous touch event, the sliding of the touch point forms a continuous sliding track on the touch screen. In a specific embodiment, the preset interval time is 10 milliseconds, and 100 touch events are generated within 1 second.
触摸信息包括作用在触摸屏上的触控点数量,在某个触摸事件中,触摸屏上的触控点数量可能会产生变化,例如,相对于上一触摸事件,触控点数量增多,又例如,相对于上一触摸事件,触控点数量减少。The touch information includes the number of touch points acting on the touch screen. In a touch event, the number of touch points on the touch screen may change, for example, the number of touch points is increased relative to the last touch event, for example, The number of touch points is reduced relative to the last touch event.
S108:根据触摸事件的触摸信息计算对应触摸事件中对象的位移。S108: Calculate a displacement of the object in the corresponding touch event according to the touch information of the touch event.
可以理解的是,第N+1触摸事件中对象的位移是指相对于第N触摸事件 中对象的移动距离,即在该触摸事件对应的预设时间间隔中对象的移动距离。在某个触摸事件中对象的位移根据在该次触摸事件中的触摸信息进行计算。触控点数量与对象的位移成正相关。在一个实施例中,当相对于上一触摸事件触控点数量增多时,该触摸事件中对象的位移相对增多。在一个实施例中,当相对于上一触摸事件触控点数量减少时,该触摸事件中对象的位移相对减少。It can be understood that the displacement of the object in the (N+1)th touch event refers to the Nth touch event. The moving distance of the object, that is, the moving distance of the object in the preset time interval corresponding to the touch event. The displacement of the object in a touch event is calculated based on the touch information in the touch event. The number of touch points is positively related to the displacement of the object. In one embodiment, when the number of touch points is increased relative to the last touch event, the displacement of the object in the touch event is relatively increased. In one embodiment, when the number of touch points is reduced relative to the last touch event, the displacement of the object in the touch event is relatively reduced.
S110:将对象移动至第N+1触摸事件中对象的位移的对应位置。S110: Move the object to the corresponding position of the displacement of the object in the (N+1)th touch event.
在该实施例中,将所述对象移动至第N+1触摸事件中对象的位移的对应位置,能够根据用户的操作实时地将对象的位移情况显示在触摸设备上,用户选择对象,在拖曳的过程中能够直观地观察对象的移动情况,以方便根据对象在当前触摸事件中的移动的位置距离目标位置的距离调整触控点数量。可以理解的是,由于触控点数量与对象的位移成正相关,当使用多个触控点在触摸屏上拖曳对象时,对象并不一定在触控点的正下方。In this embodiment, the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event, and the displacement of the object can be displayed on the touch device in real time according to the operation of the user, and the user selects the object and drags the object. During the process, the movement of the object can be visually observed to facilitate adjusting the number of touch points according to the distance of the moving position of the object in the current touch event from the target position. It can be understood that since the number of touch points is positively correlated with the displacement of the object, when the object is dragged on the touch screen by using multiple touch points, the object is not necessarily directly below the touch point.
上述的对象位置的调整方法,当侦测到触摸设备中对对象的拖曳操作时,生成触摸事件并采集每个触摸事件的触摸信息,触摸信息包括作用在触摸屏上的触控点数量,触控点数量与对象的位移成正相关,将对象移动至第N+1触摸事件中对象的位移的对应位置。由于触控点数量与对象的位移成正相关,可通过增加或减少触控点数量,灵活地调整对象在单位时间的位移,实现灵活地调整对象的拖曳速度。通过增加触摸屏上拖曳的对象的触控点数量,无需手在触摸屏上滑动较远距离,就能够实现将对象移动至屏幕上的较远位置,用户操作方便,该方法尤其适应于大屏幕的对象位置的调整。The method for adjusting the position of the object, when detecting a drag operation on the object in the touch device, generates a touch event and collects touch information of each touch event, where the touch information includes the number of touch points acting on the touch screen, and the touch The number of points is positively correlated with the displacement of the object, and the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event. Since the number of touch points is positively correlated with the displacement of the object, the displacement of the object in unit time can be flexibly adjusted by increasing or decreasing the number of touch points, thereby flexibly adjusting the drag speed of the object. By increasing the number of touch points of the object dragged on the touch screen, it is possible to move the object to a distant position on the screen without sliding the object on the touch screen for a long distance, and the user is convenient to operate, and the method is especially suitable for the object of the large screen. Adjustment of position.
在一个实施例中,如图2所示,在步骤S110之后,还包括步骤:In an embodiment, as shown in FIG. 2, after step S110, the method further includes the steps of:
S112:检测拖曳操作是否结束。若是,则执行步骤S114,若否,则返回步骤S106。S112: Detect whether the drag operation ends. If yes, go to step S114, if no, go back to step S106.
S114:对象在拖曳过程中的位移为每个触摸事件中对象的位移之和。S114: The displacement of the object during the dragging process is the sum of the displacements of the objects in each touch event.
检测拖曳操作是否结束可通过检测触摸设备中是否有触摸操作实现,即检测触控点是否离开触摸设备,当检测到触控点离开触摸设备时,拖曳操作结束。当检测到拖曳操作结束时,由于第N+1触摸事件中对象的位移是相对 于第N触摸事件中对象的移动距离,通过计算每个触摸事件中对象的位移之和即可得到对象在拖曳过程中的位移。对象在拖曳过程中的位移为每个触摸事件中对象的位移之和。The detection of whether the drag operation ends can be achieved by detecting whether there is a touch operation in the touch device, that is, detecting whether the touch point leaves the touch device, and when the touch point is detected to leave the touch device, the drag operation ends. When the end of the drag operation is detected, the displacement of the object in the N+1 touch event is relative The moving distance of the object in the Nth touch event, the displacement of the object during the dragging process can be obtained by calculating the sum of the displacements of the objects in each touch event. The displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
在一个具体的实施方式中,用户需要将位于屏幕左下角的对象移动至屏幕右上角,在选择对象后,用户使用五根手指在屏幕上拖曳,在一个触摸事件中,检测到触控点的数量为五根,由于触控点数量与对象的位移成正相关,在对应的触摸事件中,触控点的数量越多,对象的位移越大,因此,利用多根手指,产生多个触控点,能够将对象以较快的速度移动至目标位置附近。并且,对象随着用户在触摸屏上的拖曳而移动,用户直观的观察对象离目标位置的距离。当对象移动至离目标位置较近的距离时,用户可减少滑动的触控点的数量,例如,使用一根手指在触摸屏上继续拖曳。以对应的触摸事件中,检测到触控点的数量为一根,由于触控点的数量与对象的位移成正相关,触控点的数量减少,对象的位移变小,相对的,对象的移动速度减慢,用户通过观察对象在移动过程中的位置,当移动至目标位置时,松开触控点离开触摸设备,从而对象的位置被调整至目标位置。In a specific implementation, the user needs to move the object located in the lower left corner of the screen to the upper right corner of the screen. After selecting the object, the user uses five fingers to drag on the screen, and in one touch event, the touch point is detected. The number of touch points is positively related to the displacement of the object. In the corresponding touch event, the more the number of touch points, the larger the displacement of the object. Therefore, multiple fingers are used to generate multiple touches. Point, the object can be moved to the vicinity of the target position at a faster speed. And, the object moves as the user drags on the touch screen, and the user intuitively observes the distance of the object from the target position. When the object moves closer to the target position, the user can reduce the number of sliding touch points, for example, using one finger to continue dragging on the touch screen. In the corresponding touch event, the number of touch points detected is one. Since the number of touch points is positively correlated with the displacement of the object, the number of touch points is reduced, the displacement of the object is reduced, and the movement of the object is relatively The speed is slowed down, and the user observes the position of the object during the movement. When moving to the target position, the touch point is released and the touch device is released, so that the position of the object is adjusted to the target position.
可以理解的是,由于触控点数量与对象的位移成正相关,触控点数量越多,在单位时间对象的位移越大,因而,对象在单位时间的移动速度也越快,因此,触控点数量与对象的移动速度成正相关。It can be understood that since the number of touch points is positively correlated with the displacement of the object, the more the number of touch points, the larger the displacement of the object per unit time, and therefore, the faster the object moves at unit time, therefore, the touch The number of points is positively related to the moving speed of the object.
在另一个实施例中,步骤S108具体包括以下步骤1和步骤2:In another embodiment, step S108 specifically includes the following steps 1 and 2:
步骤1:根据触摸事件的触摸信息计算对应触摸事件中所有触控点的位移。Step 1: Calculate the displacement of all touch points in the corresponding touch event according to the touch information of the touch event.
步骤2:计算对应触摸事件中所有触控点的位移之和,一个触摸事件中对象的位移为该触摸事件中所有触控点的位移之和。Step 2: Calculate the sum of the displacements of all the touch points in the corresponding touch event. The displacement of the object in one touch event is the sum of the displacements of all the touch points in the touch event.
对于第N+1触摸事件而言,第N+1触摸事件中对象的位移是指相对于第N触摸事件中对象的移动距离。在一个触摸事件中对象的位移为该触摸事件中所有触控点的位移之和。For the (N+1)th touch event, the displacement of the object in the (N+1)th touch event refers to the moving distance of the object relative to the Nth touch event. The displacement of an object in a touch event is the sum of the displacements of all touch points in the touch event.
具体的,触摸信息还包括每个触控点的当前坐标以及每个触控点在上一触摸事件的坐标,每个触控点对应的坐标可根据触摸点ID(Identity)进行确 定。在一次连续的滑动过程中,触控点对应的触摸点ID是不变的,根据触摸点ID可跟踪每个触控点的当前坐标以及每个触控点在上一触摸事件的坐标。根据触摸事件的触摸信息计算对应触摸事件中所有触控点的位移的步骤,具体为,根据触控点数量、每个触控点的当前坐标以及上一触摸事件的坐标计算每个触控点在对应触摸事件中的位移。Specifically, the touch information further includes a current coordinate of each touch point and a coordinate of each touch point in a previous touch event, and the coordinates corresponding to each touch point may be determined according to the touch point ID (Identity). set. During a continuous sliding process, the touch point ID corresponding to the touch point is constant, and the current coordinates of each touch point and the coordinates of each touch point in the previous touch event can be tracked according to the touch point ID. Calculating the displacement of all the touch points in the touch event according to the touch information of the touch event, specifically, calculating each touch point according to the number of touch points, the current coordinates of each touch point, and the coordinates of the previous touch event. The displacement in the corresponding touch event.
在连续的触摸事件中,触控点在触摸屏上形成滑动的轨迹,触摸信息包括每个触控点的当前坐标以及每个触控点在上一触摸事件的坐标。根据每个触控点的当前坐标和上一触摸事件的坐标计算得到该个触控点在该触摸事件中移动的距离,即该触控点在该触摸事件中的位移。对象在一次触摸事件中的位移为在该触摸事件中所有触控点的位移之和。例如,在第N触摸事件中,用户使用五根手指,在该次触摸事件中,对象的位移为五个触控点在屏幕上的位移之和。在第N+1触摸事件中,用户减少了触控点的数量,使用一根手指,由于触控点在触摸屏上是连续滑动的,通过获取在第N+1触摸事件中使用的触控点在第N触摸事件中的坐标,以及在第N+1触摸事件中的当前坐标,计算得到在第N+1触摸事件中使用的触控点的位移。又例如,在第N触摸事件中,用户使用一根手指,产生一个触控点,在该次触摸事件中,对象的位移为该触控点在屏幕上的位移。In a continuous touch event, the touch point forms a sliding track on the touch screen, and the touch information includes the current coordinates of each touch point and the coordinates of each touch point in the previous touch event. Calculating the distance that the touch point moves in the touch event according to the current coordinate of each touch point and the coordinates of the previous touch event, that is, the displacement of the touch point in the touch event. The displacement of the object in one touch event is the sum of the displacements of all touch points in the touch event. For example, in the Nth touch event, the user uses five fingers, and in the touch event, the displacement of the object is the sum of the displacements of the five touch points on the screen. In the N+1th touch event, the user reduces the number of touch points, and uses one finger. Since the touch point continuously slides on the touch screen, the touch point used in the N+1th touch event is acquired. The coordinates of the touch point used in the (N+1)th touch event are calculated by the coordinates in the Nth touch event and the current coordinates in the (N+1)th touch event. For another example, in the Nth touch event, the user uses one finger to generate a touch point, and in the touch event, the displacement of the object is the displacement of the touch point on the screen.
在另一个实施例中,步骤S108包括以下步骤1至步骤3:In another embodiment, step S108 includes the following steps 1 to 3:
步骤1:获取触摸事件中作用在触摸屏上的触控点数量,并确定与触控点数量对应的位移比例。Step 1: Obtain the number of touch points acting on the touch screen in the touch event, and determine the displacement ratio corresponding to the number of touch points.
步骤2:根据触摸事件的触摸信息计算对应的触摸事件中任意一个触控点的位移。Step 2: Calculate the displacement of any one of the corresponding touch events according to the touch information of the touch event.
步骤3:计算触控点的位移和位移比例的乘积,一个触摸事件中对象的位移为该触摸事件中触控点的位移和位移比例的乘积。Step 3: Calculate the product of the displacement of the touch point and the displacement ratio. The displacement of the object in a touch event is the product of the displacement of the touch point and the displacement ratio in the touch event.
在本实施例中。预先设定一次触摸事件中,触控点数量对应的位移比例。位移比例为一次触摸事件中单个触控点的位移与对象的位移的比例。在一次触摸事件中的每个触控点的位移是相同的。为便于计算,在具体的实施方式中,通过获取选择对象的触控点对应的触摸点ID,通过跟踪该触摸点ID得到 每次触摸事件中该触控点的位移。当在滑动过程中,松开了选择对象的触控点时,取任意一个触摸点ID的位移计算一次触摸事件中单个触控点的位移。触控点数量对应的位移比例,可根据触摸设备的触摸屏的大小进行设置。例如,触摸屏越大,触控点数量的位移比例也越大。在一个具体的实施方式中,一次触摸事件中,触控点数量对应的位移比例为1:3,则在该次触摸事件中,对象的位移为在该次触摸事件中为触控点位移的3倍。In this embodiment. Preset the proportion of the displacement corresponding to the number of touch points in a touch event. The displacement ratio is the ratio of the displacement of a single touch point to the displacement of the object in a touch event. The displacement of each touch point in a touch event is the same. In order to facilitate the calculation, in a specific implementation manner, by acquiring the touch point ID corresponding to the touch point of the selected object, by tracking the touch point ID, The displacement of the touch point in each touch event. When the touch point of the selected object is released during the sliding process, the displacement of any touch point ID is taken to calculate the displacement of a single touch point in one touch event. The displacement ratio corresponding to the number of touch points can be set according to the size of the touch screen of the touch device. For example, the larger the touch screen, the larger the displacement ratio of the number of touch points. In a specific implementation manner, in one touch event, the displacement ratio corresponding to the number of touch points is 1:3, and in the touch event, the displacement of the object is the displacement of the touch point in the touch event. 3 times.
本实施例中,对象的位移根据触控点的位移按位移比例进行调整,通过调整位移比例,能够实现对超大屏幕的对象位置的调整。In this embodiment, the displacement of the object is adjusted according to the displacement of the touch point according to the displacement ratio, and by adjusting the displacement ratio, the adjustment of the object position of the oversized screen can be realized.
下面,结合具体的实施例对对象位置的调整方法进行说明。Next, a method of adjusting the position of the object will be described with reference to a specific embodiment.
如图3所示,当用户按压触摸屏上的对象10预设时间后,选择并拖曳对象10。对象10位于触摸屏的左下角,用户需要将对象10调整至目标位置20,目标位置20,目标位置20位于触摸屏的右上角。As shown in FIG. 3, when the user presses the object 10 on the touch screen for a preset time, the object 10 is selected and dragged. The object 10 is located at the lower left corner of the touch screen, and the user needs to adjust the object 10 to the target position 20, the target position 20, and the target position 20 is located at the upper right corner of the touch screen.
如图4所示,用户选择触摸屏拖动对象向目标位置20滑动过程中,增加触控点数量,例如,使用五根手指。触控点数量与对象的位移成正相关,更具体的是,在一个触摸事件中,对象的位移为该触摸事件中所有触控点的位移之和。因此,触控点数量越多,即使手在触摸屏上滑动的距离较短,在较短时间内,仍能将对象拖曳至较远距离。可以理解的是,由于在一个触摸事件中,对象的位移为该触摸事件中所有触控点的位移之和,当使用多个触控点在触摸屏上拖曳对象时,对象10并不在触控点的正下方。As shown in FIG. 4, the user selects the touch screen to drag the object to the target position 20 during the sliding process, and increases the number of touch points, for example, using five fingers. The number of touch points is positively related to the displacement of the object. More specifically, in one touch event, the displacement of the object is the sum of the displacements of all the touch points in the touch event. Therefore, the more the number of touch points, the shorter the distance the hand slides on the touch screen, the shorter the time, the object can be dragged to a greater distance. It can be understood that, since the displacement of the object is the sum of the displacements of all the touch points in the touch event in one touch event, when the object is dragged on the touch screen by using multiple touch points, the object 10 is not at the touch point. Just below.
如图5所示,当拖曳对象10距离目标位置20附近时,可减少拖曳触控点的数量为一个,在对应的触摸事件中,对象的位移为一个触控点在触摸事件中的位移,因而,对象的位移速度降低,用户能够可控制的将对象拖曳至目标位置20。As shown in FIG. 5, when the drag object 10 is near the target position 20, the number of dragging touch points can be reduced to one. In the corresponding touch event, the displacement of the object is the displacement of one touch point in the touch event. Thus, the displacement speed of the object is lowered, and the user can controlably drag the object to the target position 20.
采用上述的对象位置的调整方法,用户的触控点无需滑动至目标位置,就能较对象从初始位置调整至目标位置。且在调整过程中,对象的拖曳速度是可控制的。用户可根据实际需求,增加或减少触控点数量,从而相应的提高或降低拖曳速度。该方法尤其适合大屏幕的的触控一体。 By adopting the above-mentioned object position adjustment method, the user's touch point can be adjusted from the initial position to the target position without sliding to the target position. And during the adjustment process, the drag speed of the object is controllable. The user can increase or decrease the number of touch points according to actual needs, thereby correspondingly increasing or decreasing the drag speed. This method is especially suitable for the touch integration of large screens.
在一个实施例中,提供一种对象位置的调整装置,如图6所示,包括:In one embodiment, an apparatus for adjusting the position of an object, as shown in FIG. 6, includes:
侦测模块10,用于侦测是否有对对象的拖曳操作。The detecting module 10 is configured to detect whether there is a drag operation on the object.
对象指安装在触摸设备的应用程序或是存储在触摸设备的文件和文件夹。对对象的拖曳操作是指用户通过触控操作选择对象并进行拖曳,在具体的实施方式中,当按压对象超过预设时间时,选择该对象并在触摸屏上滑动实现拖曳操作。An object is an application installed on a touch device or a file and folder stored on a touch device. The drag operation on the object refers to the user selecting and dragging by the touch operation. In a specific implementation manner, when the object is pressed for more than a preset time, the object is selected and slid on the touch screen to implement the drag operation.
采集模块30,用于当侦测到对对象的拖曳操作时,生成第一触摸事件,并采集第一触摸事件的触摸信息;还用于在每第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息;触摸信息包括作用在触摸屏上的触控点数量,其中N为大于0的整数。The acquiring module 30 is configured to generate a first touch event when the drag operation on the object is detected, and collect touch information of the first touch event; and generate an N+ at every Nth preset interval time. 1 touching the event and collecting touch information of the touch event; the touch information includes the number of touch points acting on the touch screen, where N is an integer greater than 0.
当按压对象超过预设时间时并在触摸设备上滑动时,侦测到对对象的拖曳操作,生成第一触摸事件。When the pressing object exceeds the preset time and slides on the touch device, a drag operation on the object is detected to generate a first touch event.
具体的,在第一个预设间隔时间,生成第二触摸事件;在第二个预设间隔时间,生成第三触摸事件,并以此类推,在第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息。可以理解的是,预设间隔时间自生成第一触摸事件的时间开始计时。Specifically, a second touch event is generated at a first preset interval time, a third touch event is generated at a second preset interval time, and so on, and a Nth is generated at the Nth preset interval time. +1 touch event and collect touch information of the touch event. It can be understood that the preset interval time is counted from the time when the first touch event is generated.
预设间隔时间需要比较短,从而在连续的触摸事件中,触控点的滑动在触摸屏上形成连续的滑动轨迹。在一个具体的实施方式中,预设间隔时间为10毫秒,在1秒内会生成100次触摸事件。The preset interval time needs to be relatively short, so that in a continuous touch event, the sliding of the touch point forms a continuous sliding track on the touch screen. In a specific embodiment, the preset interval time is 10 milliseconds, and 100 touch events are generated within 1 second.
触摸信息包括作用在触摸屏上的触控点数量,在某个触摸事件中,触摸屏上的触控点数量可能会产生变化,例如,相对于上一触摸事件,触控点数量增多,又例如,相对于上一触摸事件,触控点数量减少。The touch information includes the number of touch points acting on the touch screen. In a touch event, the number of touch points on the touch screen may change, for example, the number of touch points is increased relative to the last touch event, for example, The number of touch points is reduced relative to the last touch event.
计算模块50,用于根据触摸事件的触摸信息计算对应触摸事件中对象的位移,触控点数量与对象的位移成正相关。The calculating module 50 is configured to calculate, according to the touch information of the touch event, the displacement of the object in the corresponding touch event, and the number of the touch points is positively correlated with the displacement of the object.
可以理解的是,第N+1触摸事件中对象的位移是指相对于第N触摸事件中对象的移动距离,即在该触摸事件对应的预设时间间隔中对象的移动距离。在某个触摸事件中对象的位移根据在该次触摸事件中的触摸信息进行计算。触控点数量与对象的位移成正相关。 It can be understood that the displacement of the object in the (N+1)th touch event refers to the moving distance of the object relative to the object in the Nth touch event, that is, the moving distance of the object in the preset time interval corresponding to the touch event. The displacement of the object in a touch event is calculated based on the touch information in the touch event. The number of touch points is positively related to the displacement of the object.
调整模块70,将对象移动至第N+1触摸事件中对象的位移的对应位置。The adjustment module 70 moves the object to the corresponding position of the displacement of the object in the (N+1)th touch event.
在该实施例中,将所述对象移动至第N+1触摸事件中对象的位移的对应位置,能够根据用户的操作实时地将对象的位移情况显示在触摸设备上,用户选择对象,在拖曳的过程中能够直观地观察对象的移动情况,以方便根据对象在当前触摸事件中的移动的位置距离目标位置的距离调整触控点数量。可以理解的是,由于触控点数量与对象的位移成正相关,当使用多个触控点在触摸屏上拖曳对象时,对象并不一定在触控点的正下方。In this embodiment, the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event, and the displacement of the object can be displayed on the touch device in real time according to the operation of the user, and the user selects the object and drags the object. During the process, the movement of the object can be visually observed to facilitate adjusting the number of touch points according to the distance of the moving position of the object in the current touch event from the target position. It can be understood that since the number of touch points is positively correlated with the displacement of the object, when the object is dragged on the touch screen by using multiple touch points, the object is not necessarily directly below the touch point.
上述的对象位置的调整装置,当侦测到触摸设备中对对象的拖曳操作时,生成触摸事件并采集每个触摸事件的触摸信息,触摸信息包括作用在触摸屏上的触控点数量,触控点数量与对象的位移成正相关,将对象移动至第N+1触摸事件中对象的位移的对应位置。由于触控点数量与对象的位移成正相关,可通过增加或减少触控点数量,灵活地调整对象在单位时间的位移,实现灵活地调整对象的拖曳速度。通过增加触摸屏上拖曳的对象的触控点数量,无需手在触摸屏上滑动较远距离,就能够实现将对象移动至屏幕上的较远位置,用户操作方便,该方法尤其适应于大屏幕的对象位置的调整。The device for adjusting the position of the object detects a drag operation on the object in the touch device, generates a touch event, and collects touch information of each touch event, where the touch information includes the number of touch points acting on the touch screen, and the touch The number of points is positively correlated with the displacement of the object, and the object is moved to the corresponding position of the displacement of the object in the (N+1)th touch event. Since the number of touch points is positively correlated with the displacement of the object, the displacement of the object in unit time can be flexibly adjusted by increasing or decreasing the number of touch points, thereby flexibly adjusting the drag speed of the object. By increasing the number of touch points of the object dragged on the touch screen, it is possible to move the object to a distant position on the screen without sliding the object on the touch screen for a long distance, and the user is convenient to operate, and the method is especially suitable for the object of the large screen. Adjustment of position.
在一个实施例中,当拖曳操作结束时,所述对象在拖曳过程中的位移为每个触摸事件中对象的位移之和。In one embodiment, when the drag operation ends, the displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
检测拖曳操作是否结束可通过检测触摸设备中是否有触摸操作实现,即检测触控点是否离开触摸设备,当检测到触控点离开触摸设备时,拖曳操作结束。当检测到拖曳操作结束时,由于第N+1触摸事件中对象的位移是相对于第N触摸事件中对象的移动距离,通过计算每个触摸事件中对象的位移之和即可得到对象在拖曳过程中的位移。对象在拖曳过程中的位移为每个触摸事件中对象的位移之和。The detection of whether the drag operation ends can be achieved by detecting whether there is a touch operation in the touch device, that is, detecting whether the touch point leaves the touch device, and when the touch point is detected to leave the touch device, the drag operation ends. When the end of the drag operation is detected, since the displacement of the object in the (N+1)th touch event is relative to the moving distance of the object in the Nth touch event, the object is dragged by calculating the sum of the displacements of the objects in each touch event. The displacement in the process. The displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
可以理解的是,由于触控点数量与对象的位移成正相关,触控点数量越多,在单位时间对象的位移越大,因而,对象在单位时间的移动速度也越快,因此,触控点数量与对象的移动速度成正相关。It can be understood that since the number of touch points is positively correlated with the displacement of the object, the more the number of touch points, the larger the displacement of the object per unit time, and therefore, the faster the object moves at unit time, therefore, the touch The number of points is positively related to the moving speed of the object.
在另一个实施例中,如图7所示,计算模块50包括:第一触控点位移计算模块501和第二对象位移计算模块502。 In another embodiment, as shown in FIG. 7 , the calculation module 50 includes: a first touch point displacement calculation module 501 and a second object displacement calculation module 502 .
第一触控点位移计算模块501,用于根据触摸事件的触摸信息计算对应触摸事件中所有触控点的位移。The first touch point displacement calculation module 501 is configured to calculate a displacement of all touch points in the corresponding touch event according to the touch information of the touch event.
第二对象位移计算模块502,用于计算对应触摸事件中所有触控点的位移之和,一个触摸事件中对象的位移为该触摸事件中所有触控点的位移之和。The second object displacement calculation module 502 is configured to calculate a sum of displacements of all touch points in the corresponding touch event, and the displacement of the object in one touch event is the sum of displacements of all the touch points in the touch event.
对于第N+1触摸事件而言,第N+1触摸事件中对象的位移是指相对于第N触摸事件中对象的移动距离。在一个触摸事件中对象的位移为该触摸事件中所有触控点的位移之和。For the (N+1)th touch event, the displacement of the object in the (N+1)th touch event refers to the moving distance of the object relative to the Nth touch event. The displacement of an object in a touch event is the sum of the displacements of all touch points in the touch event.
具体的,触摸信息还包括每个触控点的当前坐标以及每个触控点在上一触摸事件的坐标,触控点位置计算模块501,具体用于根据触控点数量、每个触控点的当前坐标以及上一触摸事件的坐标计算每个触控点在对应触摸事件中的位移。Specifically, the touch information further includes a current coordinate of each touch point and a coordinate of the last touch event of each touch point, and the touch point position calculation module 501 is specifically configured to use the touch point number and each touch. The current coordinates of the point and the coordinates of the previous touch event calculate the displacement of each touch point in the corresponding touch event.
采用上述的对象位置的调整装置,用户的触控点无需滑动至目标位置,就能较对象从初始位置调整至目标位置。且在调整过程中,对象的拖曳速度是可控制的。用户可根据实际需求,增加或减少触控点数量,从而相应的提高或降低拖曳速度。该方法尤其适合大屏幕的的触控一体。With the above-mentioned object position adjusting device, the user's touch point can be adjusted from the initial position to the target position without the need to slide to the target position. And during the adjustment process, the drag speed of the object is controllable. The user can increase or decrease the number of touch points according to actual needs, thereby correspondingly increasing or decreasing the drag speed. This method is especially suitable for the touch integration of large screens.
在另一个实施例中,计算模块包括:位移比例确定模块、第二触控点位移计算模块和第二对象位移计算模块;In another embodiment, the calculation module includes: a displacement ratio determination module, a second touch point displacement calculation module, and a second object displacement calculation module;
位移比例确定模块,用于获取触摸事件中作用在触摸屏上的触控点数量,并确定与触控点数量对应的位移比例;a displacement ratio determining module, configured to acquire a number of touch points acting on the touch screen in the touch event, and determine a displacement ratio corresponding to the number of touch points;
第二触控点位移计算模块,用于根据触摸事件的触摸信息计算对应的触摸事件中任意一个触控点的位移;a second touch point displacement calculation module, configured to calculate a displacement of any one of the corresponding touch events according to the touch information of the touch event;
第二对象位移计算模块,用于计算触控点的位移和位移比例的乘积,一个触摸事件中对象的位移为该触摸事件中触控点的位移和位移比例的乘积。The second object displacement calculation module is configured to calculate a product of the displacement of the touch point and the displacement ratio. The displacement of the object in a touch event is the product of the displacement of the touch point and the displacement ratio in the touch event.
在本实施例中。预先设定一次触摸事件中,触控点数量对应的位移比例。位移比例为一次触摸事件中单个触控点的位移与对象的位移的比例。在一次触摸事件中的每个触控点的位移是相同的。为便于计算,在具体的实施方式中,通过获取选择对象的触控点对应的触摸点ID,通过跟踪该触摸点ID得到每次触摸事件中该触控点的位移。当在滑动过程中,松开了选择对象的触控 点时,取任意一个触摸点ID的位移计算一次触摸事件中单个触控点的位移。触控点数量对应的位移比例,可根据触摸设备的触摸屏的大小进行设置。例如,触摸屏越大,触控点数量的位移比例也越大。在一个具体的实施方式中,一次触摸事件中,触控点数量对应的位移比例为1:3,则在该次触摸事件中,对象的位移为在该次触摸事件中为触控点位移的3倍。In this embodiment. Preset the proportion of the displacement corresponding to the number of touch points in a touch event. The displacement ratio is the ratio of the displacement of a single touch point to the displacement of the object in a touch event. The displacement of each touch point in a touch event is the same. To facilitate the calculation, in a specific implementation manner, by acquiring the touch point ID corresponding to the touch point of the selected object, the displacement of the touch point in each touch event is obtained by tracking the touch point ID. When the sliding process is released, the touch of the selected object is released. When the point is taken, the displacement of any touch point ID is taken to calculate the displacement of a single touch point in one touch event. The displacement ratio corresponding to the number of touch points can be set according to the size of the touch screen of the touch device. For example, the larger the touch screen, the larger the displacement ratio of the number of touch points. In a specific implementation manner, in one touch event, the displacement ratio corresponding to the number of touch points is 1:3, and in the touch event, the displacement of the object is the displacement of the touch point in the touch event. 3 times.
本实施例中,对象的位移根据触控点的位移按位移比例进行调整,通过调整位移比例,能够实现对超大屏幕的对象位置的调整。In this embodiment, the displacement of the object is adjusted according to the displacement of the touch point according to the displacement ratio, and by adjusting the displacement ratio, the adjustment of the object position of the oversized screen can be realized.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-described embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (10)

  1. 一种对象位置的调整方法,包括:A method for adjusting the position of an object, comprising:
    侦测是否有对对象的拖曳操作;Detecting whether there is a drag operation on the object;
    当侦测到对对象的拖曳操作时,生成第一触摸事件,并采集第一触摸事件的触摸信息;When the drag operation on the object is detected, generating a first touch event and collecting touch information of the first touch event;
    在每第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息;所述触摸信息包括作用在触摸屏上的触控点数量,其中N为大于0的整数;Generating an N+1th touch event at every Nth preset interval time, and collecting touch information of the touch event; the touch information includes a number of touch points acting on the touch screen, where N is an integer greater than 0;
    根据触摸事件的触摸信息计算对应触摸事件中对象的位移;所述触控点数量与对象的位移成正相关;Calculating a displacement of the object in the corresponding touch event according to the touch information of the touch event; the number of the touch points is positively correlated with the displacement of the object;
    将所述对象移动至第N+1触摸事件中对象的位移的对应位置。The object is moved to a corresponding position of the displacement of the object in the (N+1)th touch event.
  2. 根据权利要求1所述的方法,其特征在于,当拖曳操作结束时,所述对象在拖曳过程中的位移为每个触摸事件中对象的位移之和。The method of claim 1 wherein when the drag operation ends, the displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
  3. 根据权利要求1所述的方法,其特征在于,所述根据触摸事件的触摸信息计算对应触摸事件中对象的位移的步骤包括:The method according to claim 1, wherein the step of calculating the displacement of the object in the corresponding touch event according to the touch information of the touch event comprises:
    根据触摸事件的触摸信息计算对应触摸事件中所有触控点的位移;Calculating a displacement of all touch points in the corresponding touch event according to the touch information of the touch event;
    计算对应触摸事件中所有触控点的位移之和,一个触摸事件中对象的位移为该触摸事件中所有触控点的位移之和。Calculating the sum of the displacements of all the touch points in the corresponding touch event, and the displacement of the object in one touch event is the sum of the displacements of all the touch points in the touch event.
  4. 根据权利要求3所述的方法,其特征在于,触摸信息还包括每个触控点的当前坐标以及每个触控点在上一触摸事件的坐标;The method according to claim 3, wherein the touch information further comprises a current coordinate of each touch point and a coordinate of each touch point in the last touch event;
    所述根据触摸事件的触摸信息计算对应触摸事件中所有触控点的位移的步骤包括:根据触控点数量、每个触控点的当前坐标以及上一触摸事件的坐标计算每个触控点在对应触摸事件中的位移。The step of calculating the displacement of all the touch points in the corresponding touch event according to the touch information of the touch event comprises: calculating each touch point according to the number of touch points, the current coordinates of each touch point, and the coordinates of the previous touch event. The displacement in the corresponding touch event.
  5. 根据权利要求1所述的方法,其特征在于,所述根据触摸事件的触摸信息计算对应触摸事件中对象的位移的步骤包括:The method according to claim 1, wherein the step of calculating the displacement of the object in the corresponding touch event according to the touch information of the touch event comprises:
    获取触摸事件中作用在触摸屏上的触控点数量,并确定与所述触控点数量对应的位移比例;Obtaining a number of touch points acting on the touch screen in the touch event, and determining a displacement ratio corresponding to the number of the touch points;
    根据触摸事件的触摸信息计算对应的触摸事件中任意一个触控点的位 移;Calculating the bit of any one of the corresponding touch events according to the touch information of the touch event shift;
    计算所述触控点的位移和所述位移比例的乘积,一个触摸事件中对象的位移为该触摸事件中所述触控点的位移和所述位移比例的乘积。Calculating a product of the displacement of the touch point and the displacement ratio, wherein the displacement of the object in a touch event is the product of the displacement of the touch point and the displacement ratio in the touch event.
  6. 一种对象位置的调整装置,包括:An adjustment device for an object position, comprising:
    侦测模块,用于侦测是否有对对象的拖曳操作;a detecting module, configured to detect whether there is a drag operation on the object;
    采集模块,用于当侦测到对对象的拖曳操作时,生成第一触摸事件,并采集第一触摸事件的触摸信息;还用于在每第N个预设间隔时间,生成第N+1触摸事件,并采集触摸事件的触摸信息;所述触摸信息包括作用在触摸屏上的触控点数量,其中N为大于0的整数;The acquiring module is configured to generate a first touch event when the drag operation on the object is detected, and collect touch information of the first touch event; and generate an N+1 at every Nth preset interval time. Touching an event and collecting touch information of the touch event; the touch information includes a number of touch points acting on the touch screen, wherein N is an integer greater than 0;
    计算模块,用于根据触摸事件的触摸信息计算对应触摸事件中对象的位移;所述触控点数量与对象的位移成正相关;a calculation module, configured to calculate, according to the touch information of the touch event, a displacement of the object in the corresponding touch event; the number of the touch points is positively correlated with the displacement of the object;
    调整模块,将所述对象移动至第N+1触摸事件中对象的位移的对应位置。The adjustment module moves the object to a corresponding position of the displacement of the object in the (N+1)th touch event.
  7. 根据权利要求6所述的装置,其特征在于,The device of claim 6 wherein:
    当拖曳操作结束时,所述对象在拖曳过程中的位移为每个触摸事件中对象的位移之和。When the drag operation ends, the displacement of the object during the drag is the sum of the displacements of the objects in each touch event.
  8. 根据权利要求6所述的装置,其特征在于,所述计算模块包括:第一触控点位移计算模块和第一对象位移计算模块;The device according to claim 6, wherein the calculation module comprises: a first touch point displacement calculation module and a first object displacement calculation module;
    所述第一触控点位移计算模块,用于根据触摸事件的触摸信息计算对应触摸事件中所有触控点的位移;The first touch point displacement calculation module is configured to calculate a displacement of all touch points in the corresponding touch event according to the touch information of the touch event;
    所述第一对象位移计算模块,用于计算对应触摸事件中所有触控点的位移之和,一个触摸事件中对象的位移为该触摸事件中所有触控点的位移之和。The first object displacement calculation module is configured to calculate a sum of displacements of all touch points in the corresponding touch event, and the displacement of the object in one touch event is the sum of displacements of all the touch points in the touch event.
  9. 根据权利要求8所述的装置,其特征在于,触摸信息还包括每个触控点的当前坐标以及每个触控点在上一触摸事件的坐标;所述第一触控点位移计算模块,用于根据触控点数量、每个触控点的当前坐标以及上一触摸事件的坐标计算每个触控点在对应触摸事件中的位移。The device according to claim 8, wherein the touch information further includes a current coordinate of each touch point and a coordinate of each touch point in a previous touch event; and the first touch point displacement calculation module, The method is configured to calculate the displacement of each touch point in the corresponding touch event according to the number of touch points, the current coordinates of each touch point, and the coordinates of the previous touch event.
  10. 根据权利要求6所述的装置,其特征在于,所述计算模块包括:位移比例确定模块、第二触控点位移计算模块和第二对象位移计算模块;The apparatus according to claim 6, wherein the calculation module comprises: a displacement ratio determination module, a second touch point displacement calculation module, and a second object displacement calculation module;
    所述位移比例确定模块,用于获取触摸事件中作用在触摸屏上的触控点 数量,并确定与所述触控点数量对应的位移比例;The displacement ratio determining module is configured to acquire a touch point acting on the touch screen in the touch event a quantity, and determining a displacement ratio corresponding to the number of the touch points;
    所述第二触控点位移计算模块,用于根据触摸事件的触摸信息计算对应的触摸事件中任意一个触控点的位移;The second touch point displacement calculation module is configured to calculate a displacement of any one of the corresponding touch events according to the touch information of the touch event;
    所述第二对象位移计算模块,用于计算所述触控点的位移和所述位移比例的乘积,一个触摸事件中对象的位移为该触摸事件中所述触控点的位移和所述位移比例的乘积。 The second object displacement calculation module is configured to calculate a product of the displacement of the touch point and the displacement ratio, wherein the displacement of the object in a touch event is the displacement of the touch point and the displacement in the touch event The product of the scale.
PCT/CN2016/113164 2016-08-18 2016-12-29 Method and device for adjusting object position WO2018032694A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610695386.1 2016-08-18
CN201610695386.1A CN106339165B (en) 2016-08-18 2016-08-18 The method of adjustment and device of object's position

Publications (1)

Publication Number Publication Date
WO2018032694A1 true WO2018032694A1 (en) 2018-02-22

Family

ID=57825728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113164 WO2018032694A1 (en) 2016-08-18 2016-12-29 Method and device for adjusting object position

Country Status (2)

Country Link
CN (1) CN106339165B (en)
WO (1) WO2018032694A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220171522A1 (en) * 2019-08-16 2022-06-02 Vivo Mobile Communication Co.,Ltd. Object position adjustment method and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019127590A1 (en) * 2017-12-31 2019-07-04 李庆远 Multi-stage gesture control method and device
CN109656416B (en) * 2018-12-28 2022-04-15 腾讯音乐娱乐科技(深圳)有限公司 Control method and device based on multimedia data and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662677A (en) * 2012-04-17 2012-09-12 广东威创视讯科技股份有限公司 Method for customizing icon
CN102819394A (en) * 2012-07-27 2012-12-12 东莞宇龙通信科技有限公司 Terminal and terminal operating method
US20130194197A1 (en) * 2012-02-01 2013-08-01 Ideacom Technology Inc. Electronic Apparatus With Touch Panel and the Operating Method Therefor
CN103268184A (en) * 2013-05-17 2013-08-28 广东欧珀移动通信有限公司 Method and device for moving text cursor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510141A (en) * 2009-03-24 2009-08-19 无锡迈思奇科技有限公司 Touch screen information display method
CN103699316B (en) * 2013-12-17 2017-03-15 珠海金山办公软件有限公司 A kind of method and terminal for transplanting directionkeys by afloat contact
CN103927186B (en) * 2014-04-30 2017-11-03 广州视源电子科技股份有限公司 A kind of function button control method based on android system
CN104536641B (en) * 2014-12-03 2019-02-19 惠州Tcl移动通信有限公司 Mobile terminal and its screen operating method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130194197A1 (en) * 2012-02-01 2013-08-01 Ideacom Technology Inc. Electronic Apparatus With Touch Panel and the Operating Method Therefor
CN102662677A (en) * 2012-04-17 2012-09-12 广东威创视讯科技股份有限公司 Method for customizing icon
CN102819394A (en) * 2012-07-27 2012-12-12 东莞宇龙通信科技有限公司 Terminal and terminal operating method
CN103268184A (en) * 2013-05-17 2013-08-28 广东欧珀移动通信有限公司 Method and device for moving text cursor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220171522A1 (en) * 2019-08-16 2022-06-02 Vivo Mobile Communication Co.,Ltd. Object position adjustment method and electronic device

Also Published As

Publication number Publication date
CN106339165A (en) 2017-01-18
CN106339165B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
KR101835188B1 (en) Using pressure differences with a touch-sensitive display screen
KR101545804B1 (en) Using pressure differences with a touch-sensitive display screen
WO2018032694A1 (en) Method and device for adjusting object position
CN103064627B (en) A kind of application management method and device
CN103927107B (en) A kind of information processing method and electronic equipment
US20140082571A1 (en) Interaction method and device in touch terminal, and interaction method, server and computer storage medium in network application
CN103324440A (en) Text content selecting method utilizing multi-point touch control
CN103488296B (en) Body feeling interaction gestural control method and device
KR20130058752A (en) Apparatus and method for proximity based input
CN104679414B (en) Display control method and device
CN103176632B (en) terminal and locating method
KR20140008023A (en) Photographing timer control apparatus and method
US20120124526A1 (en) Method for continuing a function induced by a multi-touch gesture on a touchpad
US20140085223A1 (en) Apparatus and method capable of switching displayed pictures
CN105335724B (en) Window regulation method and device and terminal based on fingerprint recognition
CN105892880A (en) Song playing progress control method and device
CN105353933A (en) Capacitive touch screen control method
TW201243672A (en) Mobile phone with pointer and control pointer method thereof
CN104679408A (en) Method and device for processing data
US20140089845A1 (en) Apparatus and method capable of switching displayed pictures
CN106980408A (en) touch control method and device
CN103631492B (en) A kind of method and device adjusting depth of three-dimensional content
CN111324276B (en) Control method and device of virtual keyboard and terminal
CN107817927A (en) Application icon management method and device
CN103294359B (en) Update standby interface method and the Wireless Telecom Equipment at application icon place

Legal Events

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

Ref document number: 16913446

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 250719)

122 Ep: pct application non-entry in european phase

Ref document number: 16913446

Country of ref document: EP

Kind code of ref document: A1