WO2012068932A1 - Method and device for controlling application icons on touch screen - Google Patents

Method and device for controlling application icons on touch screen Download PDF

Info

Publication number
WO2012068932A1
WO2012068932A1 PCT/CN2011/080958 CN2011080958W WO2012068932A1 WO 2012068932 A1 WO2012068932 A1 WO 2012068932A1 CN 2011080958 W CN2011080958 W CN 2011080958W WO 2012068932 A1 WO2012068932 A1 WO 2012068932A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
moving
coordinate
information
interface
Prior art date
Application number
PCT/CN2011/080958
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 WO2012068932A1 publication Critical patent/WO2012068932A1/en

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/04817Interaction 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 using icons
    • 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

Definitions

  • the present invention relates to the field of touch screen technologies for mobile terminals, and in particular, to a method and device for controlling touch screen application icons. Background technique
  • touch screen mobile phones touch screen mobile GPS (Global Positioning System), touch screen game consoles and the like.
  • Touch operation has become an increasingly popular and portable way of human-computer interaction.
  • the functions provided are only simple touch operations, such as button click reflection on the interface, sliding operation, etc., and some of the more beautiful special effects are rarely seen, failing to meet modern The pursuit of human personality.
  • the application icon in the terminal interface is the interface identifier corresponding to each actual application, which is used to display the specific application meaning.
  • the application icon in the terminal interface is the interface identifier corresponding to each actual application, which is used to display the specific application meaning.
  • the function provided by most terminals is to enter the application corresponding to the application icon when the application icon is touched, and the corresponding response of different applications is made.
  • the icon position of the specific application in the interface is implemented in the code design of the MMI (Man Machine Interface) in the beginning of the code design according to the UI (User Interface) design, and once the UI After the design is finalized, the mode of the interface will be finalized after the coding is completed, and the position of the application icon cannot be changed, which greatly limits the current requirements for interface customization.
  • the invention provides a method and a device for controlling a touch screen application icon, which are used to solve the prior art
  • the location of the application icon in the operation cannot be changed according to the user's needs, thus making the user experience a bad problem.
  • the embodiment of the invention provides a method for controlling a touch screen application icon, including:
  • the mobile terminal After the mobile terminal receives the touch press message through the application icon interface, the coordinate information of the pressed point in the touch press information is saved;
  • the pressing time is detected. If the pressing time is the first preset time, the state of the flag bit of the icon is set to an icon movement shape, and the icon is moved to the designated position according to the received touch movement information.
  • the embodiment of the present invention further provides a control device for a touch screen application icon, including:
  • a parameter collecting module configured to save coordinate information of a pressing point in the touch pressing information after receiving the touch pressing message on the application icon interface
  • a moving icon determining module configured to determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
  • the icon moving module is configured to set a state of the flag bit of the icon to an icon moving shape if the pressing time is the first preset time, and move the icon to the specified position according to the received touch movement information.
  • a mobile terminal includes a control device for the touch screen application icon.
  • the method and device provided by the invention can perform the random movement and dragging of the application icon according to the input parameters of the user, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for controlling a touch screen application icon according to an embodiment of the present invention
  • FIG. 1 is a flowchart of a press-down message processing of an icon interface according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a timer message processing of an icon interface according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a process of moving a message of an icon interface according to an embodiment of the present invention
  • FIG. 6 is a structural diagram of a control device for a touch screen application icon according to an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a method for controlling a touch screen application icon, the method includes: after receiving a touch press message through an application icon interface, saving a coordinate information of a pressed point in the touch press information; The initial icon position information saved when the application icon interface is created determines an icon corresponding to the coordinate information; detecting a pressing time, if the pressing time is the first preset time, setting a status of the icon bit of the icon to an icon moving shape, And moving the icon to the specified location according to the received touch movement information.
  • Step 101 Save the initial icon position information when the application icon interface is created, and then use the icon to drag and drop the real-time update and save the position information when the effect is moved.
  • Step 102 After receiving the touch press message through the application icon interface, the mobile terminal saves the coordinate information of the pressed point in the touch information.
  • Step 103 Determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created.
  • Step 104 Detect a pressing time. If the pressing time is a first preset time, set a state of the flag bit of the icon to an icon moving shape, and according to the received touch movement information, The icon moves to the specified location.
  • the touch movement information is that when the user selects an icon to move, the icon can be moved to the specified position according to the received touch movement information in the following manner:
  • the selected icon is displayed in a floating state by the animation effect.
  • the user operates the drag icon on the touch screen, the terminal receives the touch movement information through the touch screen, and moves the selected icon to the designated position according to the touch movement information.
  • the selected icon is displayed in a floating state by the animation effect.
  • Step 105 Obtain a coordinate B (xl, yl) of the current moving point from the touch movement information, calculate whether the boundary of the application icon interface is removed according to the coordinates of the B point, and if the boundary of the interface is removed, return the icon. Go to the original location and end the operation; otherwise go to step 106.
  • Step 106 If the coordinate of point B is within the range of the application icon interface, set the state of the moving flag bit to TRUE, and draw the moved icon to the position to which the current movement is.
  • FIG. 2 shows a processing flow of a touch message for an icon interface. The processing flow is divided into the following three steps:
  • Step 202 Determine whether the click is in the icon area, if yes, go to step 203, otherwise end the operation.
  • Steps 203-204 Calculate the icon pressed at the time according to the coordinates of the A point. If the icon is normal, setting the icon as the focus item includes redrawing the focus item interface and recording the focus item data. Set an icon to start moving the timer. If the interface receives the timer message, the timer message is processed; otherwise, the operation ends. As shown in FIG. 3, it is a processing flow of the timer message by the icon interface. The processing flow is divided into the following steps:
  • Step 301 At this time, according to the wParam parameter passed in the timer message, the received timer ID is determined, and the effect starts with an icon to start the movement timer ID and the icon exchange timer ID.
  • Step 302 When it is determined that the parameter is an icon start movement timer ID, then the status of the flag bit in the window data structure is set to an icon movement, and the icon start movement timer is reset.
  • a floating selected icon is drawn, and the data information record of the floating icon is saved, including the original row and column information of the icon and the focused and unfocused icon information. Redrawing the UI interface of the selected one avoids the problem of flickering and low drawing efficiency caused by the entire window redrawing.
  • Step 303 When the parameter is an icon exchange timer ID, perform an icon exchange process. As shown in FIG. 4, the processing flow of the icon interface to the touch mobile message in the embodiment of the present invention includes the following steps:
  • Step 401 When the touch screen receives the move message input by the user (ie, the move message received by the interface when the touch pen moves on the touch screen), the coordinate B (xl, yl) of the current moving point is taken out from the incoming parameter. First, according to the coordinates of point B, it is calculated whether the boundary of the interface is removed. If the boundary of the interface is removed, the icon returns to the original position, and the mobile effect ends.
  • Step 402 If the coordinates of the B point are within the interface range, the process of moving the icon is performed: first, the position of the moving flag is TRUE, and the icon selected for moving is represented by a specially drawn floating icon, and when the mobile move message is processed, the direct use The way of drawing will move the moving icon in real time to the position where it is currently moved, and at the same time, the other moved icons will be specially displayed.
  • the processing flow when processing the move message is:
  • the position coordinates of the current coordinate point are recorded, and the coordinates of the last coordinate point are subtracted from the coordinates of the coordinate point at this time, and two moving distance values, that is, the moving distance in the X direction and Y are obtained.
  • the processing of the message avoids the processing of frequent move messages caused by minute movements, making the movement smoother and more stable.
  • Step 403 the special display of the moving in icon includes: when the first time moves into an icon position (set to icon B), the icon B is displayed in focus, the terminal determines that the moving icon moves into the position of the icon B; when the moving icon stays at the position of the icon B After a certain period of time (a certain time can be set according to the specific application), this focus icon (ie, icon B) automatically moves to the initial position of the moved icon.
  • the current position of the icon is calculated according to the real-time B point coordinate, and a flag bit bFocusPaint is used to determine whether it is the first time to move in.
  • the flag bit is TRUE, it indicates that it is not the first time. If the icon is already in focus display, the move message will not be processed to prevent the interface from flickering caused by repeated processing.
  • the flag is FALSE, it indicates that the position is moved to the first time. After the position of the flag is TRUE, the area moved in and the area where the last focus display is removed is calculated, and then the two areas are redrawn and displayed. .
  • an icon exchange timer is set, and when the set icon exchange timer message arrives, the effect processing of the icon automatic movement is performed.
  • FIG. 5 it is a processing flow of the icon interface to the touch up message.
  • the processing flow is divided into the following steps:
  • step 501 all timer messages are cleared, and all icon movement related flags are reset.
  • step 502 Determine the coordinates of the current moving point in the received up message (ie, determine the touch pen release position), and if released outside the window range, the dragged menu item returns to the original position; if released within the window range, proceed Animated exchange of icons for two menu items.
  • the icon exchange effect caused by the icon exchange timer is automatically moved or the touch-up message is performed, which will be described in detail below.
  • the uniform deceleration algorithm is used to calculate the motion trajectory of the point.
  • the algorithm defines a point trajectory array for calculating the X and y of the save point. The motion coordinates of the values, and calculate the motion trajectories of the X and y points, respectively.
  • the X point is taken as an example.
  • icount can be set according to the specific parameters and the effect in the actual application.
  • the step size icount value can be increased.
  • the step value can be reduced.
  • the coordinates of each motion track point are saved in a global array, and the floating icon is drawn to the calculated coordinate position each time by using the loop algorithm and the sleep mode, and the icon is completed after n times of moving drawing. Transposition effects.
  • the embodiment of the present invention further provides a control device for a touch screen application icon, including:
  • the parameter collection module 601 is configured to save the coordinate information of the pressing point in the touch pressing information after receiving the touch pressing message on the application icon interface;
  • the mobile icon determining module 602 is configured to determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
  • the icon moving module 603 is configured to set a state of the flag bit of the icon to an icon moving state if the pressing time is the first preset time, and move the icon to the specified position according to the received touch movement information.
  • the icon moving module 603 further sets a state of the flag bit of the icon to the icon moving shape, and is further used to draw a floating icon that is the same as the icon; and moves the floating icon to the specified position according to the touch mobile information playing. Animation effect.
  • the icon movement module 603 is further configured to: the coordinates of the specified position correspond to another icon, obtain the initial icon position information of the moved icon, and move the icon of the specified position to the initial position of the mobile icon.
  • the icon moving module 603 moves the icon to the specified location according to the received touch movement information, including:
  • the coordinate B of the current moving point is obtained from the received touch movement information, and the boundary of the application icon interface is calculated according to the coordinate of the point B. If the boundary of the interface is removed, the icon is returned to the original position, and the operation ends.
  • the icon movement module 603 is further configured to draw the moved icon before the current moved position, and after receiving the coordinate B of the current moving point, record the position coordinate of the current coordinate point, and subtract the recorded coordinate from the current coordinate point coordinate.
  • the coordinate point coordinate of the last time the moving distance value is obtained, and it is judged whether the moving distance value is greater than the moving preset value, and if so, the moving icon is drawn at the position to which the current movement is; otherwise, it is exited.
  • control device of the touch screen application icon may be disposed in the mobile terminal.
  • the invention realizes the icon movement and drag effect of the handheld touch terminal interface, and the user application icon can be freely moved and dragged according to one's own preference, and the visual effect is good.
  • the method of directly drawing the mobile icon is used instead of the method of window movement to complete the special effect process, thereby improving the efficiency of the movement.
  • the algorithm of decelerating is used in the process of moving the icon, so that the user can feel the speed and smoothness in the process of moving, without delay or frustration, and the user experience is better.
  • Scalability is good.
  • the trajectory calculation method for moving the drag and the effect position exchange is separate, the algorithm for the exchange trajectory can be redesigned according to different visual requirements, and other design and message processing need not be modified.

Abstract

Disclosed are a method and a device for controlling application icons on a touch screen, applied in the technical field of touch screens for mobile terminals. The method comprises: after a mobile terminal receives a touch pressing message through an application icon interface, saving coordinate information of a pressed point in the touch pressing information; determining an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created; detecting a pressing time, and if the pressing time is a first preset time, setting the state of a flag bit of the icon as an icon moving state, and according to received touch moving information, moving the icon to a designated position. The method and device of this application can solve the problem in the prior art that the demand of interface customizability is limited since the position of the application icon cannot be changed arbitrarily. Therefore, the application icons can be moved and dragged at will according to input parameters of users, thus improving the user experience.

Description

一种触摸屏应用图标的控制方法及装置 技术领域  Method and device for controlling touch screen application icon
本发明涉及移动终端触摸屏技术领域, 尤其涉及一种触摸屏应用图标 的控制方法及装置。 背景技术  The present invention relates to the field of touch screen technologies for mobile terminals, and in particular, to a method and device for controlling touch screen application icons. Background technique
随着信息技术不断发展, 移动终端触摸屏的应用已变得十分广泛, 例 如: 触摸屏手机, 触摸屏移动 GPS ( Global Positioning System, 全球定位系 统),触摸屏游戏机等等。点触操作成为越来越流行、便携的人机交互方式。 然而, 在现在众多的触摸屏终端中, 提供的功能仅仅是简单的点触操作, 比如对于界面的按键点击反映, 滑动操作等, 而对于一些比较绚丽的特效 效果很少见到, 未能满足现代人的个性时尚追求。  With the continuous development of information technology, the application of touch screens for mobile terminals has become very widespread, such as: touch screen mobile phones, touch screen mobile GPS (Global Positioning System), touch screen game consoles and the like. Touch operation has become an increasingly popular and portable way of human-computer interaction. However, in many current touch screen terminals, the functions provided are only simple touch operations, such as button click reflection on the interface, sliding operation, etc., and some of the more beautiful special effects are rarely seen, failing to meet modern The pursuit of human personality.
在终端界面中的应用图标是每个实际应用所对应的界面标识, 用于显 示具体的应用含义, 拿手机移动终端来说, 在手机待机界面会有不同的小 图标来标识不同的各个应用, 比如短信应用, 名片夹应用, 飞信应用等。 多数终端提供的功能是在触摸点击应用图标时会进入该应用图标对应的应 用,做出不同应用的相应反映。但是界面中具体的应用的图标位置是在 MMI ( Man Machine Interface人机交互界面)的研发人员在开始的代码设计中根 据 UI ( User Interface , 用户界面 )的设计图形编码实现的, 并且一旦 UI的 设计定型后, 编码完成后界面的模式就会定型, 应用图标的位置即不能改 动, 大大局限了现在对于界面可定制性的需求。 发明内容  The application icon in the terminal interface is the interface identifier corresponding to each actual application, which is used to display the specific application meaning. In the mobile phone mobile terminal, there are different small icons on the mobile phone standby interface to identify different applications. Such as SMS applications, business card holder applications, Fetion applications. The function provided by most terminals is to enter the application corresponding to the application icon when the application icon is touched, and the corresponding response of different applications is made. However, the icon position of the specific application in the interface is implemented in the code design of the MMI (Man Machine Interface) in the beginning of the code design according to the UI (User Interface) design, and once the UI After the design is finalized, the mode of the interface will be finalized after the coding is completed, and the position of the application icon cannot be changed, which greatly limits the current requirements for interface customization. Summary of the invention
本发明提供一种触摸屏应用图标的控制方法及装置, 用于解决现有技 术中的应用图标的位置不能根据用户的需求进行改动, 从而使得用户体验 不好的问题。 The invention provides a method and a device for controlling a touch screen application icon, which are used to solve the prior art The location of the application icon in the operation cannot be changed according to the user's needs, thus making the user experience a bad problem.
本发明实施例提供一种触摸屏应用图标的控制方法, 包括:  The embodiment of the invention provides a method for controlling a touch screen application icon, including:
当移动终端通过应用图标界面收到触摸按压消息后, 保存触摸按压信 息中按压点的坐标信息;  After the mobile terminal receives the touch press message through the application icon interface, the coordinate information of the pressed point in the touch press information is saved;
根据所述坐标信息和在应用图标界面创建时保存的初始图标位置信息 确定所述坐标信息对应的图标;  Determining an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
检测按压时间, 如果按压时间为第一预设时间, 则将所述图标的标志 位的状态设置为图标移动状, 并根据接收到的触摸移动信息将该图标移动 到指定位置。  The pressing time is detected. If the pressing time is the first preset time, the state of the flag bit of the icon is set to an icon movement shape, and the icon is moved to the designated position according to the received touch movement information.
根据上述方法本发明实施例还提供一种触摸屏应用图标的控制装置, 包括:  According to the above method, the embodiment of the present invention further provides a control device for a touch screen application icon, including:
参数收集模块, 用于在应用图标界面收到触摸按压消息后, 保存触摸 按压信息中按压点的坐标信息;  a parameter collecting module, configured to save coordinate information of a pressing point in the touch pressing information after receiving the touch pressing message on the application icon interface;
移动图标确定模块, 用于根据所述坐标信息和在应用图标界面创建时 保存的初始图标位置信息确定所述坐标信息对应的图标;  a moving icon determining module, configured to determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
图标移动模块, 用于如果按压时间为第一预设时间, 则将所述图标的 标志位的状态设置为图标移动状, 并根据接收到的触摸移动信息将该图标 移动到指定位置。  The icon moving module is configured to set a state of the flag bit of the icon to an icon moving shape if the pressing time is the first preset time, and move the icon to the specified position according to the received touch movement information.
一种移动终端, 该移动终端中包括所述触摸屏应用图标的控制装置。 本发明提供的方法和装置能够根据用户的输入参数对应用图标进行随 意的移动和拖拽, 提高了用户体验。 附图说明  A mobile terminal includes a control device for the touch screen application icon. The method and device provided by the invention can perform the random movement and dragging of the application icon according to the input parameters of the user, thereby improving the user experience. DRAWINGS
图 1为本发明实施例一种触摸屏应用图标的控制方法的流程图; 图 1为本发明实施例中图标界面的按压点击(down )消息处理流程图; 图 3为本发明实施例中图标界面的定时器(timer ) 消息处理流程图; 图 4为本发明实施例中图标界面的移动 (move ) 消息处理流程图; 图 5本发明实施例中图标界面的触摸抬起 ( up ) 消息处理流程图; 图 6 为本发明实施例一种触摸屏应用图标的控制装置的结构图。 具体实施方式 1 is a flowchart of a method for controlling a touch screen application icon according to an embodiment of the present invention; FIG. 1 is a flowchart of a press-down message processing of an icon interface according to an embodiment of the present invention; FIG. 3 is a flowchart of a timer message processing of an icon interface according to an embodiment of the present invention; FIG. 4 is a flowchart of a process of moving a message of an icon interface according to an embodiment of the present invention; FIG. Touch up (up) message processing flow chart; FIG. 6 is a structural diagram of a control device for a touch screen application icon according to an embodiment of the present invention. detailed description
本发明实施例提供一种触摸屏应用图标的控制方法, 该方法包括: 当 移动终端通过应用图标界面收到触摸按压消息后, 保存触摸按压信息中按 压点的坐标信息; 根据所述坐标信息和在应用图标界面创建时保存的初始 图标位置信息确定所述坐标信息对应的图标; 检测按压时间, 如果按压时 间为第一预设时间, 则将所述图标的标志位的状态设置为图标移动状, 并 根据接收到的触摸移动信息将该图标移动到指定位置。  An embodiment of the present invention provides a method for controlling a touch screen application icon, the method includes: after receiving a touch press message through an application icon interface, saving a coordinate information of a pressed point in the touch press information; The initial icon position information saved when the application icon interface is created determines an icon corresponding to the coordinate information; detecting a pressing time, if the pressing time is the first preset time, setting a status of the icon bit of the icon to an icon moving shape, And moving the icon to the specified location according to the received touch movement information.
以下将结合附图, 以一款手持触摸屏终端的主菜单界面的图标特效拖 动来说明本发明的具体实施方式和过程。  DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A specific embodiment and process of the present invention will be described below with reference to the drawing of a main effect interface of a hand held touch screen terminal.
如附图 1 所示要完成图标拖动特效的关键是对于几个触摸屏消息的特 殊处理, 包括点击按压(down )消息, 定时器(timer )消息, 移动(move ) 消息以及触摸抬起(up ) 消息等, 以下将对于每个消息的特殊处理流程做 出详细解释。  The key to completing the icon drag effect as shown in Figure 1 is the special handling of several touch screen messages, including click-down messages, timer messages, move messages, and touch lifts (up ) Messages, etc. The following is a detailed explanation of the special processing flow for each message.
步驟 101 ,在应用图标界面的创建时保存初始的图标位置信息, 用于之 后图标拖拽移动特效时的位置信息的实时更新与保存。  Step 101: Save the initial icon position information when the application icon interface is created, and then use the icon to drag and drop the real-time update and save the position information when the effect is moved.
步驟 102, 当移动终端通过应用图标界面收到触摸按压消息后,保存触 摸按压信息中按压点的坐标信息。  Step 102: After receiving the touch press message through the application icon interface, the mobile terminal saves the coordinate information of the pressed point in the touch information.
步驟 103 ,根据所述坐标信息和在应用图标界面创建时保存的初始图标 位置信息确定所述坐标信息对应的图标。  Step 103: Determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created.
步驟 104, 检测按压时间, 如果按压时间为第一预设时间, 则将所述图 标的标志位的状态设置为图标移动状, 并根据接收到的触摸移动信息将该 图标移动到指定位置。 Step 104: Detect a pressing time. If the pressing time is a first preset time, set a state of the flag bit of the icon to an icon moving shape, and according to the received touch movement information, The icon moves to the specified location.
所述触摸移动信息是当用户选定某一个图标进行移动时, 可以通过以 下方式根据接收到的触摸移动信息将该图标移动到指定位置:  The touch movement information is that when the user selects an icon to move, the icon can be moved to the specified position according to the received touch movement information in the following manner:
A、在所述图标的标志位的状态设置为图标移动状之后, 即通过动画效 果显示选定图标为悬浮状。 用户在所述触摸屏上操作拖动图标, 终端通过 触摸屏接收触摸移动信息, 并根据触摸移动信息将选定图标移动到指定位 置。  A. After the state of the icon bit of the icon is set to the icon movement shape, the selected icon is displayed in a floating state by the animation effect. The user operates the drag icon on the touch screen, the terminal receives the touch movement information through the touch screen, and moves the selected icon to the designated position according to the touch movement information.
B、 在所述图标的标志位的状态设置为图标移动状之后, 即通过动画效 果显示选定图标为悬浮状。 用户在指定位置点击触摸屏, 终端根据点击信 息将图标移动到指定位置。  B. After the state of the icon bit of the icon is set to the icon movement shape, the selected icon is displayed in a floating state by the animation effect. The user clicks on the touch screen at the specified location, and the terminal moves the icon to the specified location according to the click information.
步驟 105 , 从所述触摸移动信息中获取当前移动点的坐标 B ( xl , yl ), 根据 B点的坐标计算是否移出了应用图标界面的边界,若移出界面的边界, 则将所述图标返回到原始位置并结束操作; 否则转入步驟 106。  Step 105: Obtain a coordinate B (xl, yl) of the current moving point from the touch movement information, calculate whether the boundary of the application icon interface is removed according to the coordinates of the B point, and if the boundary of the interface is removed, return the icon. Go to the original location and end the operation; otherwise go to step 106.
步驟 106, 若 B点坐标在应用图标界面范围内, 则把移动标志位的状 态置为 TRUE, 把移动的图标绘制在当前移动到的位置。  Step 106: If the coordinate of point B is within the range of the application icon interface, set the state of the moving flag bit to TRUE, and draw the moved icon to the position to which the current movement is.
附图 2所示, 为图标界面对触摸按压消息的处理流程。 处理流程分为 以下三步:  FIG. 2 shows a processing flow of a touch message for an icon interface. The processing flow is divided into the following three steps:
步驟 201 , 终端通过界面收到触摸按压消息, 此时记下按压点 A的坐 标 ( X, y )=  Step 201: The terminal receives the touch press message through the interface, and then records the coordinate of the pressing point A (X, y)=
步驟 202, 判断是否点击在图标区域内, 如果是则转入步驟 203 , 否则 结束操作。  Step 202: Determine whether the click is in the icon area, if yes, go to step 203, otherwise end the operation.
步驟 203-204, 根据 A点坐标计算此时所按压的图标, 若图标正常, 设 置此图标为聚焦项, 包括重新绘制聚焦项界面并记录聚焦项数据。 设置一 个图标开始移动定时器。 如果界面收到定时器消息, 则处理该定时器消息; 否则结束操作。 如附图 3 所示, 为图标界面对定时器消息的处理流程。 处理流程分为 以下几步: Steps 203-204: Calculate the icon pressed at the time according to the coordinates of the A point. If the icon is normal, setting the icon as the focus item includes redrawing the focus item interface and recording the focus item data. Set an icon to start moving the timer. If the interface receives the timer message, the timer message is processed; otherwise, the operation ends. As shown in FIG. 3, it is a processing flow of the timer message by the icon interface. The processing flow is divided into the following steps:
步驟 301 , 此时根据 timer消息传入的 wParam参数判断收到的定时器 ID, 此特效中分有图标开始移动定时器 ID和图标交换定时器 ID。  Step 301: At this time, according to the wParam parameter passed in the timer message, the received timer ID is determined, and the effect starts with an icon to start the movement timer ID and the icon exchange timer ID.
步驟 302, 当判断参数为图标开始移动定时器 ID时, 接着把窗口数据 结构中的标志位的状态置为图标移动状, 并将图标开始移动定时器复位。  Step 302: When it is determined that the parameter is an icon start movement timer ID, then the status of the flag bit in the window data structure is set to an icon movement, and the icon start movement timer is reset.
另外, 绘制一个悬浮的被选中图标, 把浮动图标的数据信息记录保存, 包括此图标原始所在行列信息和聚焦与非聚焦的图标信息等。 重新绘制被 选中处的 UI界面, 避免了整个窗口重绘导致的闪烁和绘制效率低的问题。  In addition, a floating selected icon is drawn, and the data information record of the floating icon is saved, including the original row and column information of the icon and the focused and unfocused icon information. Redrawing the UI interface of the selected one avoids the problem of flickering and low drawing efficiency caused by the entire window redrawing.
步驟 303 , 当判断参数为图标交换定时器 ID时, 则进行图标交换处理。 如附图 4所示, 本发明实施例中图标界面对触摸移动消息的处理流程 包括以下步驟:  Step 303: When the parameter is an icon exchange timer ID, perform an icon exchange process. As shown in FIG. 4, the processing flow of the icon interface to the touch mobile message in the embodiment of the present invention includes the following steps:
步驟 401 , 触摸屏收到用户输入的 move消息时(即触摸笔在触摸屏上 进行移动时, 界面收到的 move消息), 从传入的参数中取出当前移动点的 坐标 B ( xl , yl ), 首先根据 B点的坐标去计算是否移出了界面的边界, 若 移出界面的边界, 则图标返回到原始位置, 此次移动特效结束。  Step 401: When the touch screen receives the move message input by the user (ie, the move message received by the interface when the touch pen moves on the touch screen), the coordinate B (xl, yl) of the current moving point is taken out from the incoming parameter. First, according to the coordinates of point B, it is calculated whether the boundary of the interface is removed. If the boundary of the interface is removed, the icon returns to the original position, and the mobile effect ends.
步驟 402 , 若 B点坐标在界面范围内, 则进行图标移动的处理流程: 首先把移动标志位置为 TRUE,被选中移动的图标用特殊绘制的悬浮图 标表示, 在处理移动 move消息时, 利用直接绘图的方式把移动的图标实时 的绘制在当前移动到的位置, 同时要对其他移到的图标进行特殊显示。  Step 402: If the coordinates of the B point are within the interface range, the process of moving the icon is performed: first, the position of the moving flag is TRUE, and the icon selected for moving is represented by a specially drawn floating icon, and when the mobile move message is processed, the direct use The way of drawing will move the moving icon in real time to the position where it is currently moved, and at the same time, the other moved icons will be specially displayed.
另外, 在本发明实施例中, 处理 move消息时的处理流程为:  In addition, in the embodiment of the present invention, the processing flow when processing the move message is:
当收到 move消息的时候, 记录下当前的坐标点的位置坐标, 用此时的 坐标点坐标减去上次的坐标点坐标, 得出 2个移动距离值, 即 X方向的移 动距离和 Y方向上的移动距离, 同时判断这两个方向上的移动差值, 均大 于 5时才对 move消息进行处理, 否则退出不处理, 应用该算法进行 move 消息的处理, 避免了微小的移动引起的频繁的 move消息的处理,使得移动 更加平滑稳定。 When the move message is received, the position coordinates of the current coordinate point are recorded, and the coordinates of the last coordinate point are subtracted from the coordinates of the coordinate point at this time, and two moving distance values, that is, the moving distance in the X direction and Y are obtained. Move the distance in the direction, and judge the movement difference between the two directions, when the difference is greater than 5, the move message is processed, otherwise the exit is not processed, and the algorithm is applied to move The processing of the message avoids the processing of frequent move messages caused by minute movements, making the movement smoother and more stable.
步驟 403 , 移入图标的特殊显示包括: 当第一次移入一个图标位置(设 为图标 B ) 时, 图标 B聚焦显示, 终端确定移动图标移入图标 B的位置; 当移动图标停留在图标 B的位置一定时间后 (一定时间可根据具体的应用 设定), 此聚焦图标(即图标 B ) 自动动画移动到移动的图标的初始位置处。  Step 403, the special display of the moving in icon includes: when the first time moves into an icon position (set to icon B), the icon B is displayed in focus, the terminal determines that the moving icon moves into the position of the icon B; when the moving icon stays at the position of the icon B After a certain period of time (a certain time can be set according to the specific application), this focus icon (ie, icon B) automatically moves to the initial position of the moved icon.
在移动的过程中, 会根据实时的 B点坐标去计算当前所走到的图标位 置, 利用一个标志位 bFocusPaint去判断是否是第一次移入, 当此标志位为 TRUE 时表明非第一次, 说明此时图标已经是聚焦显示了, 则不处理此次 move消息, 防止重复处理造成的界面闪烁。 当标志位为 FALSE时, 表明 第一次移入此位置, 巴标志位置为 TRUE后对此次移入的区域和上次聚焦 显示此次移出的区域进行计算, 继而对这两块区域进行重新绘制显示。  In the process of moving, the current position of the icon is calculated according to the real-time B point coordinate, and a flag bit bFocusPaint is used to determine whether it is the first time to move in. When the flag bit is TRUE, it indicates that it is not the first time. If the icon is already in focus display, the move message will not be processed to prevent the interface from flickering caused by repeated processing. When the flag is FALSE, it indicates that the position is moved to the first time. After the position of the flag is TRUE, the area moved in and the area where the last focus display is removed is calculated, and then the two areas are redrawn and displayed. .
当第一次移入图标时, 设置一个图标交换定时器, 当设定的图标交换 定时器消息到时则进行图标自动移动的特效处理。  When the icon is moved in for the first time, an icon exchange timer is set, and when the set icon exchange timer message arrives, the effect processing of the icon automatic movement is performed.
如附图 5 所示, 为图标界面对触摸抬起消息的处理流程。 处理流程分 为以下几步:  As shown in FIG. 5, it is a processing flow of the icon interface to the touch up message. The processing flow is divided into the following steps:
步驟 501 , 把所有定时器消息清零, 并把一切图标移动相关标志复位。 步驟 502, 判断接收到的 up消息中当前移动点的坐标(即判断触摸笔 释放位置), 若在窗口范围外释放, 拖动的菜单项回到原始位置; 若在窗口 范围内释放, 则进行两个菜单项的图标动画交换。  In step 501, all timer messages are cleared, and all icon movement related flags are reset. Step 502: Determine the coordinates of the current moving point in the received up message (ie, determine the touch pen release position), and if released outside the window range, the dragged menu item returns to the original position; if released within the window range, proceed Animated exchange of icons for two menu items.
其中, 图标交换定时器引起的图标自动移动还是触摸抬起消息进行的 图标交换特效, 以下将做详细介绍。  Among them, the icon exchange effect caused by the icon exchange timer is automatically moved or the touch-up message is performed, which will be described in detail below.
计算出图标在移动过程中的运动轨迹, 为了能保证移动的快速而平滑, 使用了匀减速算法来计算点的运动轨迹,算法中定义了一个 point轨迹数组, 用于计算保存点的 X , y值的运动坐标,分别计算出 X点和 y点的运动轨迹, 此处仅以 X点的计算为例进行说明。 Calculate the motion trajectory of the icon during the movement. In order to ensure the fast and smooth movement, the uniform deceleration algorithm is used to calculate the motion trajectory of the point. The algorithm defines a point trajectory array for calculating the X and y of the save point. The motion coordinates of the values, and calculate the motion trajectories of the X and y points, respectively. Here, only the calculation of the X point is taken as an example.
匀减速算法中, 首先输入起始点的坐标(fxStart, fyStart )和要移到的 终止点的坐标(fxEnd, fyEnd ), 并输入总共需要移动的步数 icount, 利用 几个变量进行每次的算法叠加, 循环 icount次计算出 icount个运动轨迹点。 其中, icount是可以根据具体的参数和实际应用中的效果进行设定, 当需要 把动画特效明显化时可以增大步长 icount值, 当想要特效速度加快时则可 以减少步长值。  In the uniform deceleration algorithm, first input the coordinates of the starting point (fxStart, fyStart) and the coordinates of the ending point to be moved (fxEnd, fyEnd), and input the total number of steps icount that need to be moved, using several variables for each algorithm. Overlay, cycle icount times to calculate icount motion track points. Among them, icount can be set according to the specific parameters and the effect in the actual application. When the animation effect needs to be obvious, the step size icount value can be increased. When the speed of the special effect is accelerated, the step value can be reduced.
当运动轨迹计算出来后把每个运动轨迹点的坐标保存在一个全局数组 中, 利用循环算法和休眠的方式每次把浮动图标绘制到已计算好的坐标位 置, 经过 n次移动绘制后图标完成换位特效。  After the motion trajectory is calculated, the coordinates of each motion track point are saved in a global array, and the floating icon is drawn to the calculated coordinate position each time by using the loop algorithm and the sleep mode, and the icon is completed after n times of moving drawing. Transposition effects.
如图 6所示, 根据上述方法本发明实施例还提供一种触摸屏应用图标 的控制装置, 包括:  As shown in FIG. 6, the embodiment of the present invention further provides a control device for a touch screen application icon, including:
参数收集模块 601 , 用于在应用图标界面收到触摸按压消息后,保存触 摸按压信息中按压点的坐标信息;  The parameter collection module 601 is configured to save the coordinate information of the pressing point in the touch pressing information after receiving the touch pressing message on the application icon interface;
移动图标确定模块 602 ,用于根据所述坐标信息和在应用图标界面创建 时保存的初始图标位置信息确定所述坐标信息对应的图标;  The mobile icon determining module 602 is configured to determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
图标移动模块 603 , 用于如果按压时间为第一预设时间, 则将所述图标 的标志位的状态设置为图标移动状, 并根据接收到的触摸移动信息将该图 标移动到指定位置。  The icon moving module 603 is configured to set a state of the flag bit of the icon to an icon moving state if the pressing time is the first preset time, and move the icon to the specified position according to the received touch movement information.
图标移动模块 603将所述图标的标志位的状态置为图标移动状之后还 用于绘制一个与所述图标相同的悬浮图标; 并根据所述触摸移动信息播放 将所述悬浮图标移动到指定位置的动画效果。  The icon moving module 603 further sets a state of the flag bit of the icon to the icon moving shape, and is further used to draw a floating icon that is the same as the icon; and moves the floating icon to the specified position according to the touch mobile information playing. Animation effect.
所述图标移动模块 603还用于指定位置的坐标对应另外一个图标, 则 获取移动的图标的初始图标位置信息, 并将指定位置的图标移动到移动图 标的初始位置。 图标移动模块 603根据接收到的触摸移动信息将该图标移动到指定位 置包括: The icon movement module 603 is further configured to: the coordinates of the specified position correspond to another icon, obtain the initial icon position information of the moved icon, and move the icon of the specified position to the initial position of the mobile icon. The icon moving module 603 moves the icon to the specified location according to the received touch movement information, including:
从接收到的触摸移动信息中获取当前移动点的坐标 B, 根据 B点的坐 标计算是否移出了应用图标界面的边界, 若移出界面的边界, 则将所述图 标返回到原始位置, 结束操作。  The coordinate B of the current moving point is obtained from the received touch movement information, and the boundary of the application icon interface is calculated according to the coordinate of the point B. If the boundary of the interface is removed, the icon is returned to the original position, and the operation ends.
若 B点坐标在应用图标界面范围内, 把移动标志位的状态置为 TRUE, 把移动的图标绘制在当前移动到的位置。  If the coordinates of point B are within the range of the application icon interface, set the state of the movement flag to TRUE, and draw the moved icon at the position to which it is currently moved.
图标移动模块 603还用于把移动的图标绘制在当前移动到的位置之前, 在接收到当前移动点的坐标 B后, 记录当前的坐标点的位置坐标, 用当前 的坐标点坐标减去记录的上次的坐标点坐标, 得到移动距离值, 判断该移 动距离值是否大于移动预设值, 如果是, 把移动的图标绘制在当前移动到 的位置; 否则退出。  The icon movement module 603 is further configured to draw the moved icon before the current moved position, and after receiving the coordinate B of the current moving point, record the position coordinate of the current coordinate point, and subtract the recorded coordinate from the current coordinate point coordinate. The coordinate point coordinate of the last time, the moving distance value is obtained, and it is judged whether the moving distance value is greater than the moving preset value, and if so, the moving icon is drawn at the position to which the current movement is; otherwise, it is exited.
另外, 为了增强移动终端的可操作性, 所述触摸屏应用图标的控制装 置可以设置在移动终端内。  In addition, in order to enhance the operability of the mobile terminal, the control device of the touch screen application icon may be disposed in the mobile terminal.
本发明实现了手持触摸终端界面进行图标移动和拖拽特效, 用户应用 图标可根据自己喜好进行随意的移动和拖拽, 视觉效果好。  The invention realizes the icon movement and drag effect of the handheld touch terminal interface, and the user application icon can be freely moved and dragged according to one's own preference, and the visual effect is good.
在图标的移动过程中使用直接绘制该移动图标的方式替代窗口移动的 方法完成特效过程, 提高了移动的效率。  In the process of moving the icon, the method of directly drawing the mobile icon is used instead of the method of window movement to complete the special effect process, thereby improving the efficiency of the movement.
在图标移动的过程中使用均减速的算法, 使得用户能感觉到移动的过 程中速度快而平滑, 没有延迟或顿挫感, 用户体验比较好。  The algorithm of decelerating is used in the process of moving the icon, so that the user can feel the speed and smoothness in the process of moving, without delay or frustration, and the user experience is better.
可扩充性好。 移动拖拽和特效位置交换的轨迹计算方法是分开的, 交 换轨迹的算法可根据不同的视觉要求而进行重新设计, 而其他的设计和消 息处理无需修改。  Scalability is good. The trajectory calculation method for moving the drag and the effect position exchange is separate, the algorithm for the exchange trajectory can be redesigned according to different visual requirements, and other design and message processing need not be modified.
可移植性好。 本方法不依赖于具体的软硬件平台。 若需要移植到其它 的软硬件平台上只需要根据新平台的特点重新封装触摸控制模块的消息处 理接口和屏幕刷新接口即可。 术人员根据本发明的技术方案得出其它的实施方式, 同样属于本发明的技 术创新范围。 Good portability. This method does not depend on a specific hardware and software platform. If you need to migrate to other software and hardware platforms, you only need to repackage the touch control module's message according to the characteristics of the new platform. The interface and screen refresh interface can be used. The other embodiments of the invention are obtained according to the technical solution of the invention, which are also within the scope of the technical innovation of the invention.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种触摸屏应用图标的控制方法, 其特征在于, 包括:  A method for controlling a touch screen application icon, comprising:
当移动终端通过应用图标界面收到触摸按压消息后, 保存触摸按压信 息中按压点的坐标信息;  After the mobile terminal receives the touch press message through the application icon interface, the coordinate information of the pressed point in the touch press information is saved;
根据所述坐标信息和在应用图标界面创建时保存的初始图标位置信息 确定所述坐标信息对应的图标;  Determining an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
检测按压时间, 如果按压时间为第一预设时间, 则将所述图标的标志 位的状态设置为图标移动状, 并根据接收到的触摸移动信息将该图标移动 到指定位置。  The pressing time is detected. If the pressing time is the first preset time, the state of the flag bit of the icon is set to an icon movement shape, and the icon is moved to the designated position according to the received touch movement information.
2、 如权利要求 1所述的方法, 其特征在于, 将所述图标的标志位的状 态置为图标移动状之后, 进一步包括: 绘制一个与所述图标相同的悬浮图 标;  2. The method according to claim 1, wherein after the status of the flag of the icon is set to be moved, the method further comprises: drawing a floating icon having the same icon as the icon;
并根据所述触摸移动信息播放将所述悬浮图标移动到指定位置的动画 效果。  And playing an animation effect of moving the floating icon to a specified position according to the touch movement information.
3、 如权利要求 2所述的方法, 其特征在于, 如果所述指定位置的坐标 对应另外一个图标, 则获取移动的图标的初始图标位置信息, 并将所述指 定位置的图标移动到移动图标的初始位置。  3. The method according to claim 2, wherein if the coordinates of the specified position correspond to another icon, the initial icon position information of the moved icon is acquired, and the icon of the specified position is moved to the mobile icon The initial position.
4、 如权利要求 1所述的方法, 其特征在于, 所述根据接收到的触摸移 动信息将该图标移动到指定位置包括:  4. The method according to claim 1, wherein the moving the icon to the specified location according to the received touch movement information comprises:
根据接收到的触摸移动信息中获取当前移动点的坐标 B, 根据 B点的 坐标计算是否移出了应用图标界面的边界, 若移出界面的边界, 则将所述 图标返回到原始位置, 结束操作;  Obtaining the coordinate B of the current moving point according to the received touch movement information, calculating whether the boundary of the application icon interface is removed according to the coordinates of the point B, and if the boundary of the interface is removed, returning the icon to the original position, ending the operation;
若 B点坐标在应用图标界面范围内, 把移动标志位的状态置为 TRUE, 把移动的图标绘制在当前移动到的位置。  If the coordinates of point B are within the range of the application icon interface, set the state of the movement flag to TRUE, and draw the moved icon at the position to which it is currently moved.
5、 如权利要求 4所述的方法, 其特征在于, 把移动的图标绘制在当前 移动到的位置之前进一步包括: 5. The method of claim 4, wherein the moving icon is drawn at the current Before moving to the location further includes:
在接收到当前移动点的坐标 B后, 记录当前的坐标点的位置坐标, 用 当前的坐标点坐标减去记录的上次的坐标点坐标, 得到移动距离值, 判断 该移动距离值是否大于移动预设值, 如果是把移动的图标绘制在当前移动 到的位置; 否则退出。  After receiving the coordinate B of the current moving point, the position coordinate of the current coordinate point is recorded, and the coordinates of the last coordinate point of the record are subtracted from the current coordinate point coordinate to obtain a moving distance value, and it is determined whether the moving distance value is greater than the moving value. Preset value, if the moved icon is drawn at the current position to move; otherwise exit.
6、 一种触摸屏应用图标的控制装置, 其特征在于, 包括:  6. A control device for a touch screen application icon, comprising:
参数收集模块, 用于在应用图标界面收到触摸按压消息后, 保存触摸 按压信息中按压点的坐标信息;  a parameter collecting module, configured to save coordinate information of a pressing point in the touch pressing information after receiving the touch pressing message on the application icon interface;
移动图标确定模块, 用于根据所述坐标信息和在应用图标界面创建时 保存的初始图标位置信息确定所述坐标信息对应的图标;  a moving icon determining module, configured to determine an icon corresponding to the coordinate information according to the coordinate information and initial icon position information saved when the application icon interface is created;
图标移动模块, 用于如果按压时间为第一预设时间, 则将所述图标的 标志位的状态设置为图标移动状, 并根据接收到的触摸移动信息将该图标 移动到指定位置。  The icon moving module is configured to set a state of the flag bit of the icon to an icon moving shape if the pressing time is the first preset time, and move the icon to the specified position according to the received touch movement information.
7、 如权利要求 6所述的装置, 其特征在于, 所述图标移动模块将所述 图标的标志位的状态置为图标移动状之后还用于绘制一个与所述图标相同 的悬浮图标; 并根据所述触摸移动信息播放将所述悬浮图标移动到指定位 置的动画效果。  The device according to claim 6, wherein the icon moving module is further configured to draw a floating icon with the same icon after the state of the icon bit of the icon is set to be moved by the icon; An animation effect of moving the hovering icon to a specified position is played according to the touch movement information.
8、 如权利要求 7所述的装置, 其特征在于, 所述图标移动模块还用于 指定位置的坐标对应另外一个图标, 则获取移动的图标的初始图标位置信 息, 并将指定位置的图标移动到移动图标的初始位置。  The device according to claim 7, wherein the icon movement module is further configured to: when the coordinates of the specified position correspond to another icon, obtain initial icon position information of the moved icon, and move the icon of the specified position Go to the initial position of the mobile icon.
9、 如权利要求 6所述的装置, 其特征在于, 所述图标移动模块根据接 收到的触摸移动信息将该图标移动到指定位置包括:  9. The device of claim 6, wherein the icon movement module moves the icon to the specified location according to the received touch movement information comprises:
从所述触摸移动信息中获取当前移动点的坐标 B, 根据 B点的坐标计 算是否移出了应用图标界面的边界, 若移出界面的边界, 则将所述图标返 回到原始位置, 结束操作; 若 B点坐标在应用图标界面范围内, 把移动标志位的状态置为 TRUE, 把移动的图标绘制在当前移动到的位置。 Obtaining the coordinate B of the current moving point from the touch movement information, calculating whether the boundary of the application icon interface is removed according to the coordinates of the B point, and if the boundary of the interface is removed, returning the icon to the original position, ending the operation; If the coordinates of point B are within the range of the application icon interface, the state of the movement flag is set to TRUE, and the moved icon is drawn at the position to which the current movement is.
10、 如权利要求 9所述的装置, 其特征在于, 所述图标移动模块还用 于把移动的图标绘制在当前移动到的位置之前, 在接收到当前移动点的坐 标 B后, 记录当前的坐标点的位置坐标, 用当前的坐标点坐标减去记录的 上次的坐标点坐标, 得到移动距离值, 判断该移动距离值是否大于移动预 设值, 如果是把移动的图标绘制在当前移动到的位置; 否则退出。  The device according to claim 9, wherein the icon movement module is further configured to draw the moved icon before the currently moved position, and after receiving the coordinate B of the current moving point, record the current The position coordinate of the coordinate point, the coordinates of the last coordinate point of the record are subtracted from the current coordinate point coordinate, and the moving distance value is obtained, and it is determined whether the moving distance value is greater than the moving preset value, if the moving icon is drawn on the current movement To the location; otherwise exit.
11、 一种移动终端, 其特征在于, 该移动终端中包括权利要求 6~10所 述的触摸屏应用图标的控制装置。  A mobile terminal, comprising: the mobile terminal comprising the control device for the touch screen application icon according to any one of claims 6 to 10.
PCT/CN2011/080958 2010-11-24 2011-10-18 Method and device for controlling application icons on touch screen WO2012068932A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105600193A CN102479027A (en) 2010-11-24 2010-11-24 Control method and device of application icons on touch screen
CN201010560019.3 2010-11-24

Publications (1)

Publication Number Publication Date
WO2012068932A1 true WO2012068932A1 (en) 2012-05-31

Family

ID=46091691

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080958 WO2012068932A1 (en) 2010-11-24 2011-10-18 Method and device for controlling application icons on touch screen

Country Status (2)

Country Link
CN (1) CN102479027A (en)
WO (1) WO2012068932A1 (en)

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631484A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Interface control position adjusting method, device and terminal
CN102880401B (en) * 2012-08-31 2015-09-30 东莞宇龙通信科技有限公司 A kind of method and mobile terminal simplifying user interface buttons
CN103019547B (en) * 2012-12-24 2015-09-09 广东欧珀移动通信有限公司 A kind of method and system adjusting application program for mobile terminal position
CN103092643A (en) * 2012-12-25 2013-05-08 广东欧珀移动通信有限公司 Mobile terminal desktop icon adjusting method and device
CN103139057B (en) * 2012-12-28 2016-08-03 丰唐物联技术(深圳)有限公司 A kind of home gateway of touch movable button
CN103076948A (en) * 2013-01-15 2013-05-01 广东欧珀移动通信有限公司 Method and device for sequencing icons of main menu in non-automatic way
CN103092468B (en) * 2013-01-30 2016-03-02 上海斐讯数据通信技术有限公司 Mobile terminal system for unlocking and mobile terminal unlock method
CN103179284B (en) * 2013-03-08 2015-11-18 东莞宇龙通信科技有限公司 Terminal and terminal power-economizing method
CN103246267B (en) * 2013-04-29 2016-07-06 鸿富锦精密工业(深圳)有限公司 There is remote control and the interface creating method thereof of three-dimensional user interface
US10545657B2 (en) 2013-09-03 2020-01-28 Apple Inc. User interface for manipulating user interface objects
CN104423870A (en) * 2013-09-10 2015-03-18 北京三星通信技术研究有限公司 Control in graphical user interface, display method as well as method and device for operating control
CN104468919B (en) * 2013-09-25 2019-09-06 南京中兴新软件有限责任公司 A kind of key view method of adjustment and device
CN103617002A (en) * 2013-12-16 2014-03-05 深圳市理邦精密仪器股份有限公司 Method and device for achieving touch interface
CN103927076B (en) * 2014-01-28 2017-08-25 努比亚技术有限公司 Icon moving method, mobile terminal and terminal device
CN108255300B (en) * 2014-03-12 2023-03-21 联想(北京)有限公司 Control method and device of electronic equipment
CN104077048A (en) * 2014-06-12 2014-10-01 深圳市金立通信设备有限公司 Terminal
CN104077049A (en) * 2014-06-12 2014-10-01 深圳市金立通信设备有限公司 Operation method for display interface
CN104123094B (en) * 2014-07-11 2017-12-12 Tcl通讯(宁波)有限公司 According to the method and system for touching width generation icon operational order
CN105320496B (en) * 2014-07-29 2019-11-05 中兴通讯股份有限公司 Application processing method and terminal
CN112199000A (en) 2014-09-02 2021-01-08 苹果公司 Multi-dimensional object rearrangement
US20160062571A1 (en) 2014-09-02 2016-03-03 Apple Inc. Reduced size user interface
CN104216636A (en) * 2014-09-12 2014-12-17 四川长虹电器股份有限公司 Method for dragging elastic interface of touch screen
CN104298449A (en) * 2014-10-21 2015-01-21 三星电子(中国)研发中心 Intelligent mobile terminal and method for adjusting shooting button of intelligent mobile terminal
CN104951231A (en) * 2015-06-16 2015-09-30 努比亚技术有限公司 Information processing method, information processing device and electronic equipment
CN105094613B (en) * 2015-08-03 2017-10-20 努比亚技术有限公司 Terminal control mechanism and method
CN105611375A (en) * 2016-01-05 2016-05-25 青岛海信传媒网络技术有限公司 Smart TV remote control method and terminal based on HTTP
CN107422947A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 The moving method and device of control
CN106095266A (en) * 2016-06-01 2016-11-09 珠海市魅族科技有限公司 A kind of control exposure method and apparatus
DK201670595A1 (en) 2016-06-11 2018-01-22 Apple Inc Configuring context-specific user interfaces
CN106250757B (en) * 2016-07-29 2018-11-30 维沃移动通信有限公司 A kind of control method and mobile terminal of application program
CN107526523B (en) * 2017-08-22 2019-10-15 维沃移动通信有限公司 A kind of the operation interface control method and mobile terminal of mobile terminal
CN110007813A (en) * 2017-09-19 2019-07-12 中兴通讯股份有限公司 A kind of terminal icon method for sorting, device, equipment and storage medium
CN108334255B (en) * 2018-01-26 2020-03-03 维沃移动通信有限公司 Response method of function event and mobile terminal
US11893212B2 (en) 2021-06-06 2024-02-06 Apple Inc. User interfaces for managing application widgets

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855021A (en) * 2005-04-26 2006-11-01 Lg电子株式会社 Mobile terminal for providing image user interface and using method thereof
CN101714059A (en) * 2008-10-07 2010-05-26 捷讯研究有限公司 Portable electronic device and method of controlling same
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080098331A1 (en) * 2005-09-16 2008-04-24 Gregory Novick Portable Multifunction Device with Soft Keyboards
KR100801089B1 (en) * 2005-12-13 2008-02-05 삼성전자주식회사 Mobile device and operation method control available for using touch and drag
KR100785071B1 (en) * 2007-02-08 2007-12-12 삼성전자주식회사 Method for displaying information in response to touch input in mobile device with touchscreen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855021A (en) * 2005-04-26 2006-11-01 Lg电子株式会社 Mobile terminal for providing image user interface and using method thereof
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
CN101714059A (en) * 2008-10-07 2010-05-26 捷讯研究有限公司 Portable electronic device and method of controlling same

Also Published As

Publication number Publication date
CN102479027A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
WO2012068932A1 (en) Method and device for controlling application icons on touch screen
US11818455B2 (en) Devices, methods, and graphical user interfaces for depth-based annotation
US20220261131A1 (en) Device, Method, and Graphical User Interface for Providing Feedback for Changing Activation States of a User Interface Object
CN103034406B (en) Method and apparatus for the operating function in touching device
KR102245736B1 (en) Device, method, and graphical user interface for navigating media content
US9569071B2 (en) Method and apparatus for operating graphic menu bar and recording medium using the same
CN104903835B (en) For abandoning equipment, method and the graphic user interface of generation tactile output for more contact gestures
JP5925775B2 (en) Device, method and graphical user interface for reordering the front and back positions of objects
EP2684115B1 (en) Method and apparatus for providing quick access to media functions from a locked screen
CN102981768B (en) A kind of method and system realizing floated overall situation button at touch screen terminal interface
US11941764B2 (en) Systems, methods, and graphical user interfaces for adding effects in augmented reality environments
US20140035853A1 (en) Method and apparatus for providing user interaction based on multi touch finger gesture
CN104954549B (en) Electronic device and communication means
WO2013134995A1 (en) Method and device for deleting area display contents and input words
CN103430124A (en) Electronic device and method of displaying information in response to a gesture
CN105144057A (en) Device, method, and graphical user interface for moving a cursor according to a change in an appearance of a control icon with simulated three-dimensional characteristics
WO2013135972A1 (en) Touch screen hover input handling
CN108319410B (en) Method and apparatus for controlling menu in media device
CN102520860A (en) Method for controlling desktop display and mobile terminal
WO2015047880A1 (en) Presentation of a control interface on a touch-enabled device based on a motion or absence thereof
CN102915202A (en) Touch control method and touch control system of touch device
KR20130133980A (en) Method and apparatus for moving object in terminal having touchscreen
US20130298079A1 (en) Apparatus and method for unlocking an electronic device
CN108920069B (en) Touch operation method and device, mobile terminal and storage medium
CN102929556A (en) Method and equipment for interaction control based on touch screen

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: 11842992

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11842992

Country of ref document: EP

Kind code of ref document: A1