CN103294401B - A kind of icon disposal route and device with the electronic equipment of touch-screen - Google Patents
A kind of icon disposal route and device with the electronic equipment of touch-screen Download PDFInfo
- Publication number
- CN103294401B CN103294401B CN201310216878.4A CN201310216878A CN103294401B CN 103294401 B CN103294401 B CN 103294401B CN 201310216878 A CN201310216878 A CN 201310216878A CN 103294401 B CN103294401 B CN 103294401B
- Authority
- CN
- China
- Prior art keywords
- icon
- touch
- choosing
- processing unit
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及触摸屏交互处理技术领域,更具体地说,涉及一种具有触摸屏的电子设备的图标处理方法及装置。The present invention relates to the technical field of touch screen interaction processing, and more specifically, relates to an icon processing method and device for an electronic device with a touch screen.
背景技术Background technique
目前,具有触摸屏的电子设备的应用越来越普及,比如智能手机、平板电脑、智能电视等。由于智能技术的发展,电子设备中的应用程序越来越多,在电子设备的触摸屏上显示的应用程序图标也相应地不断增加,因此,有必要对设备中不同种类、数目繁多的图标进行高效的管理,以使对电子设备的操作和使用更便捷。At present, the application of electronic devices with touch screens is becoming more and more popular, such as smart phones, tablet computers, and smart TVs. Due to the development of intelligent technology, there are more and more application programs in electronic equipment, and the application program icons displayed on the touch screen of electronic equipment are also increasing accordingly. management to make the operation and use of electronic equipment more convenient.
随着多点触摸技术的发展,部分触摸设备已可支持十点以上的触模识别。然而,目前使用安卓操作系统或苹果IOS操作系统的智能电子设备虽然可识别多点触摸手势,但并未充分利用多点触摸技术的多点识别和跟踪检测的特性,一次只能对单个图标进行移动和处理,使得用户无法同时移动多个图标,导致图标管理效率较低。With the development of multi-touch technology, some touch devices can already support more than ten points of touch recognition. However, although smart electronic devices currently using the Android operating system or the Apple IOS operating system can recognize multi-touch gestures, they have not fully utilized the characteristics of multi-point recognition and tracking detection of the multi-touch technology, and can only perform gestures on a single icon at a time. Moving and processing, so that users cannot move multiple icons at the same time, resulting in inefficient icon management.
发明内容Contents of the invention
本发明要解决的技术问题在于,针对现有技术的上述图标处理效率低导致对设备的操作不够便捷的缺陷,提供一种可以提高图标管理效率以及设备易用性的具有触摸屏的电子设备的图标处理方法及装置。The technical problem to be solved by the present invention is to provide an icon for an electronic device with a touch screen that can improve the efficiency of icon management and the ease of use of the device, aiming at the defects of the prior art that the above-mentioned icon processing efficiency is low and the operation of the device is not convenient enough. Treatment methods and devices.
本发明解决其技术问题所采用的技术方案是:构造一种具有触摸屏的电子设备的图标处理方法,所述方法包括:The technical solution adopted by the present invention to solve the technical problem is: to construct a method for processing icons of an electronic device with a touch screen, the method comprising:
识别用户在所述触摸屏当前显示界面中选中至少两个图标的多点触摸手势,分别计算每个选中图标对应的触摸区域的中心坐标,得到多个触摸点的位置坐标;计算所述多个触摸点中每两个触摸点之间的第一相对距离;Recognize the multi-touch gestures in which the user selects at least two icons in the current display interface of the touch screen, respectively calculate the center coordinates of the touch area corresponding to each selected icon, and obtain the position coordinates of multiple touch points; calculate the multiple touch points The first relative distance between every two touch points in the point;
跟踪感应用户的多点触摸手势,检测所述多个触摸点的移动轨迹;Track and sense the user's multi-touch gestures, and detect the movement tracks of the multiple touch points;
若检测到所述多个触摸点产生互相接近的移动,则判断所述第一相对距离是否缩小至预设阈值,若是,则在当前显示界面中显示新建文件夹窗口,并将所述多个选中图标同时放入所述新建文件夹中;If it is detected that the plurality of touch points move close to each other, it is judged whether the first relative distance is reduced to a preset threshold, if so, a new folder window is displayed in the current display interface, and the plurality of Select the icon and put it into the new folder;
若检测到所述多个触摸点沿相同方向移动且所述第一相对距离的变化小于预设范围,则将所述多个选中图标同时移动至用户手势停止时触摸点所在的目标位置,并更新图标队列;If it is detected that the multiple touch points move in the same direction and the change of the first relative distance is less than a preset range, then simultaneously move the multiple selected icons to the target position where the touch point is when the user gesture stops, and update icon queue;
若检测到所述多个触摸点的位置距离变化小于预设范围且所述触摸屏的显示界面被滑动切换到目标界面,则将所述多个选中图标同时移动至所述目标界面。If it is detected that the change of the position distance of the plurality of touch points is less than a preset range and the display interface of the touch screen is slid to switch to the target interface, then the plurality of selected icons are simultaneously moved to the target interface.
在本发明所述具有触摸屏的电子设备的图标处理方法中,所述触摸区域的中心坐标为触摸区域的几何中心坐标或触摸压力中心坐标。In the icon processing method of an electronic device with a touch screen according to the present invention, the center coordinates of the touch area are geometric center coordinates or touch pressure center coordinates of the touch area.
在本发明所述具有触摸屏的电子设备的图标处理方法中,所述方法还包括,若检测到所述多个触摸点同时向某个属性为文件夹的图标移动,则计算所述文件夹图标对应的显示区域的中心坐标,分别计算每个触摸点与所述文件夹图标的中心坐标之间的第二相对距离,判断所述第二相对距离是否达到预设阈值,若是,则将所述多个选中图标放入所述文件夹中。In the icon processing method of an electronic device with a touch screen according to the present invention, the method further includes, if it is detected that the multiple touch points move to an icon whose attribute is a folder at the same time, then calculating the folder icon Corresponding to the center coordinates of the display area, calculate the second relative distance between each touch point and the center coordinates of the folder icon, determine whether the second relative distance reaches a preset threshold, and if so, set the Multiple selected icons are placed into said folder.
在本发明所述具有触摸屏的电子设备的图标处理方法中,当所述第一相对距离缩小至预设阈值时,在当前显示界面中显示新建文件夹窗口之前,还包括创建新文件夹,以放入所述多个选中图标。In the icon processing method of an electronic device with a touch screen according to the present invention, when the first relative distance is reduced to a preset threshold, before displaying a new folder window in the current display interface, it also includes creating a new folder to Put the multiple checked icons.
在本发明所述具有触摸屏的电子设备的图标处理方法中,所述方法还包括,将所述多个选中图标同时移动至所述目标界面中图标队列的末尾。In the icon processing method of an electronic device with a touch screen according to the present invention, the method further includes simultaneously moving the plurality of selected icons to the end of the icon queue in the target interface.
本发明还构造一种具有触摸屏的电子设备的图标处理装置,所述装置包括:The present invention also constructs an icon processing device of an electronic device with a touch screen, the device comprising:
多点触摸识别单元,用于识别用户在所述触摸屏当前显示界面中选中至少两个图标的多点触摸手势,分别计算每个选中图标对应的触摸区域的中心坐标作为多个触摸点的位置坐标,以及计算所述多个触摸点中每两个触摸点之间的第一相对距离;A multi-touch recognition unit, configured to recognize a multi-touch gesture in which the user selects at least two icons in the current display interface of the touch screen, and respectively calculate the center coordinates of the touch area corresponding to each selected icon as the position coordinates of multiple touch points , and calculating a first relative distance between every two touch points among the plurality of touch points;
跟踪检测单元,用于跟踪感应用户的多点触摸手势,检测所述多个触摸点的移动轨迹;A tracking detection unit, configured to track and sense the user's multi-touch gestures, and detect the movement tracks of the multiple touch points;
第一图标聚拢处理单元,若检测到所述多个触摸点产生互相接近的移动,所述第一图标聚拢处理单元用于判断所述第一相对距离是否缩小至预设阈值;若是,所述第一图标聚拢处理单元还用于在当前显示界面中显示新建文件夹窗口,并将所述多个选中图标同时放入所述新建文件夹中;The first icon gathering processing unit, if it is detected that the plurality of touch points move close to each other, the first icon gathering processing unit is used to judge whether the first relative distance is reduced to a preset threshold; if so, the The first icon gathering processing unit is also used to display a new folder window in the current display interface, and put the plurality of selected icons into the new folder at the same time;
图标同向移动处理单元,若检测到所述多个触摸点沿相同方向移动且第一相对距离的变化小于预设范围,所述图标同向移动处理单元用于将所述多个选中图标同时移动至用户手势停止时触摸点所在的目标位置,并更新图标队列;An icon moving processing unit in the same direction, if it is detected that the multiple touch points move in the same direction and the change of the first relative distance is less than a preset range, the icon moving processing unit is used to move the plurality of selected icons simultaneously Move to the target position where the touch point was when the user's gesture stopped, and update the icon queue;
滑动界面图标移动处理单元,若检测到多个触摸点位置距离变化小于预设范围且所述触摸屏的显示界面被滑动切换到目标界面,所述滑动界面图标移动处理单元用于将所述多个选中图标同时移动至所述目标界面。The sliding interface icon moving processing unit, if it is detected that the position distance of multiple touch points changes less than the preset range and the display interface of the touch screen is slid to switch to the target interface, the sliding interface icon moving processing unit is used to move the multiple touch points The selected icon moves to the target interface at the same time.
在本发明所述具有触摸屏的电子设备的图标处理装置中,所述多点触摸识别单元还用于计算每个选中图标对应的触摸区域的几何中心坐标或触摸压力中心坐标。In the icon processing device of an electronic device with a touch screen according to the present invention, the multi-touch identification unit is further configured to calculate the geometric center coordinates or touch pressure center coordinates of the touch area corresponding to each selected icon.
在本发明所述具有触摸屏的电子设备的图标处理装置中,所述装置还包括第二图标聚拢处理单元,若检测到所述多个触摸点同时向某个属性为文件夹的图标移动,第二图标聚拢处理单元用于计算所述文件夹图标对应的显示区域的中心坐标,以及分别计算每个触摸点与所述文件夹图标的中心坐标之间的第二相对距离,判断所述第二相对距离是否到达预设阈值,若是,第二图标聚拢处理单元还用于将所述多个选中图标放入所述文件夹中。In the icon processing device of an electronic device with a touch screen according to the present invention, the device further includes a second icon gathering processing unit, if it is detected that the multiple touch points simultaneously move to an icon whose attribute is a folder, the second The second icon gathering processing unit is used to calculate the center coordinates of the display area corresponding to the folder icon, and respectively calculate the second relative distance between each touch point and the center coordinates of the folder icon, and determine the second Whether the relative distance reaches the preset threshold, if so, the second icon gathering processing unit is further configured to put the plurality of selected icons into the folder.
在本发明所述具有触摸屏的电子设备的图标处理装置中,所述第一图标聚拢处理单元还用于创建新文件夹,以放入所述多个选中图标。In the icon processing device of an electronic device with a touch screen according to the present invention, the first icon gathering processing unit is further configured to create a new folder to put the plurality of selected icons.
在本发明所述具有触摸屏的电子设备的图标处理装置中,所述滑动界面图标移动处理单元还用于将所述多个选中图标同时移动至所述目标界面中图标队列的末尾。In the icon processing device of an electronic device with a touch screen according to the present invention, the sliding interface icon movement processing unit is further configured to simultaneously move the plurality of selected icons to the end of the icon queue in the target interface.
实施本发明的具有触摸屏的电子设备的图标处理方法及装置,具有以下有益效果:Implementing the icon processing method and device of an electronic device with a touch screen of the present invention has the following beneficial effects:
本发明通过利用触摸屏的多点触摸技术,对多个触摸点的移动轨迹同时进行跟踪和识别,并对多个触摸点的位置距离变化或每两个触摸点之间的相对距离变化进行检测;根据聚拢移动的检测结果,实现将多个触摸点所对应的选中图标同时放入已存在的文件夹,或自动新建文件夹并将多个选中图标同时放入该新建文件夹,相比现有技术需要用户先手动创建文件夹或将图标逐个放入文件夹的处理方式,提高了对应用程序图标进行分类的处理效率;根据同向平移的检测结果,实现将多个选中图标同时移动至目标位置,相比现有技术只能逐个移动图标位置的处理方式,提高了对应用程序图标进行重新排列的处理效率;根据滑动界面移动图标的检测结果,实现将多个选中图标同时移动至目标界面,相比现有技术需要重复多次滑动界面并逐个将图标移动至目标界面的处理方式,提高了对应用程序图标在不同显示界面中归类和重新排列的处理效率;采用本发明,使得电子设备的功能使用更加便捷,增加了系统的易用性。The present invention uses the multi-touch technology of the touch screen to simultaneously track and identify the moving trajectories of multiple touch points, and detect the position distance changes of the multiple touch points or the relative distance changes between every two touch points; According to the detection results of gathering and moving, the selected icons corresponding to multiple touch points can be placed into the existing folder at the same time, or a new folder can be automatically created and multiple selected icons can be placed into the new folder at the same time. Compared with the existing The technology requires users to manually create folders or put icons into folders one by one, which improves the processing efficiency of classifying application icons; according to the detection results of translation in the same direction, multiple selected icons can be moved to the target at the same time Position, compared with the existing technology that can only move the icon positions one by one, it improves the processing efficiency of rearranging the application icons; according to the detection results of moving icons on the sliding interface, it is possible to move multiple selected icons to the target interface at the same time Compared with the prior art, which needs to repeat the sliding interface multiple times and move the icons to the target interface one by one, the processing efficiency of classifying and rearranging the application program icons in different display interfaces is improved; the present invention makes the electronic The functions of the device are more convenient to use, which increases the usability of the system.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1是本发明第一实施例的具有触摸屏的电子设备的图标处理方法的流程图;1 is a flowchart of an icon processing method of an electronic device with a touch screen according to a first embodiment of the present invention;
图2a和图2b是图1所示本发明第一实施例中执行步骤S30的显示界面图;Fig. 2a and Fig. 2b are the display interface diagrams of executing step S30 in the first embodiment of the present invention shown in Fig. 1;
图3a和图3b是图1所示本发明第一实施例中执行步骤S40的显示界面图;Fig. 3a and Fig. 3b are the display interface diagrams of executing step S40 in the first embodiment of the present invention shown in Fig. 1;
图4a和图4b是图1所示本发明第一实施例中执行步骤S50的显示界面图;Fig. 4a and Fig. 4b are the display interface diagrams of executing step S50 in the first embodiment of the present invention shown in Fig. 1;
图5是本发明第二实施例的具有触摸屏的电子设备的图标处理方法的流程图;5 is a flowchart of an icon processing method of an electronic device with a touch screen according to a second embodiment of the present invention;
图6是本发明第三实施例的具有触摸屏的电子设备的图标处理方法的流程图;6 is a flowchart of an icon processing method of an electronic device with a touch screen according to a third embodiment of the present invention;
图7是本发明第四实施例的具有触摸屏的电子设备的图标处理方法的流程图;7 is a flowchart of an icon processing method of an electronic device with a touch screen according to a fourth embodiment of the present invention;
图8是本发明第五实施例的具有触摸屏的电子设备的图标处理装置的结构图。FIG. 8 is a structural diagram of an icon processing device of an electronic device with a touch screen according to a fifth embodiment of the present invention.
具体实施方式detailed description
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific implementation manners of the present invention will now be described in detail with reference to the accompanying drawings.
图1是本发明第一实施例的具有触摸屏的电子设备的图标处理方法的流程图。如图1所示,在本发明的第一实施例中,电子设备的触摸屏能够传感和跟踪在其表面上不同位置处同时发生的多点触摸事件,也即能支持多点触摸手势的识别和处理。电子设备的触摸屏当前显示包含应用程序图标列表的主界面,用户用手指或触控笔与触摸屏接触,同时选中至少两个以上需要处理的应用程序图标,相应地分别在每个选中图标所在的显示区域产生一个由若干个传感节点组成的触摸区域。本发明第一实施例的图标处理方法包括:FIG. 1 is a flowchart of an icon processing method for an electronic device with a touch screen according to a first embodiment of the present invention. As shown in Figure 1, in the first embodiment of the present invention, the touch screen of an electronic device can sense and track multi-touch events occurring simultaneously at different positions on its surface, that is, it can support the recognition of multi-touch gestures and processing. The touch screen of the electronic device currently displays a main interface containing a list of application program icons. The user touches the touch screen with a finger or a stylus and simultaneously selects at least two application program icons that need to be processed. The area creates a touch area composed of several sensing nodes. The icon processing method of the first embodiment of the present invention includes:
S10、电子设备对多个选中图标对应的触摸区域同时进行感应和识别,分别对每个触摸区域计算中心坐标;优选地,中心坐标可以为触摸区域的几何中心坐标(类似形心坐标),也可以为根据触摸区域中每个传感节点上的触摸压力大小计算的压力中心坐标(类似重心坐标)。将对触摸区域计算得到的中心作为该触摸区域的触摸点,对所有触摸区域完成计算后,得到多个触摸点的位置坐标;根据触摸点的位置坐标,进而计算多个触摸点中每两个触摸点之间的第一相对距离;优选地,可以采用笛卡尔坐标系表示和计算两点之间的相对距离;S10. The electronic device simultaneously senses and recognizes the touch areas corresponding to multiple selected icons, and calculates the center coordinates for each touch area respectively; preferably, the center coordinates may be the geometric center coordinates (similar to centroid coordinates) of the touch areas, or It can be the coordinates of the center of pressure (similar to the coordinates of the center of gravity) calculated according to the magnitude of the touch pressure on each sensor node in the touch area. The center calculated for the touch area is used as the touch point of the touch area. After the calculation is completed for all the touch areas, the position coordinates of multiple touch points are obtained; according to the position coordinates of the touch points, each two The first relative distance between touch points; preferably, the relative distance between two points can be represented and calculated by using a Cartesian coordinate system;
S20、用户产生将多个选中图标进行聚拢、平移或长按图标的同时滑动显示界面的多点触摸手势;电子设备跟踪和感应用户对选中图标进行的多点触摸操作,检测与多个选中图标对应的多个触摸点的移动轨迹;S20. The user generates a multi-touch gesture that gathers, pans, or long-presses the icons while sliding the display interface; the electronic device tracks and senses the user's multi-touch operation on the selected icons, and detects the presence of multiple selected icons. Corresponding movement trajectories of multiple touch points;
S30、若用户进行将多个选中图标向内聚拢的多点触摸操作,如图2a所示,用户在当前显示界面301中选中应用程序b,d和j的图标,并拖动三个图标向同一位置聚拢;电子设备相应地检测到三个图标对应的触摸点(以b,d和j标识)产生互相接近的移动,跟踪计算触摸点b与d,d与j以及b与j之间的第一相对距离,并判断第一相对距离是否缩小至预设阈值(比如20个像素点距离;可根据不同尺寸和分辨率显示屏的需要确定阈值),若是,则在当前显示界面中301显示新建文件夹窗口302,如图2b所示,并将应用程序b,d和j的图标同时放入该新建文件夹中。本发明通过利用触摸屏的多点触摸技术,对多个触摸目标的聚拢移动轨迹进行跟踪和识别,自动建立新文件夹并同时将多个触摸目标所对应的应用程序图标放入该新建文件夹,代替现有技术需要用户先手动创建文件夹再将图标逐个放入文件夹的处理方式,提高了对应用程序图标进行分类的处理效率,使得使用电子设备的功能更加便捷,增加了系统的易用性。S30. If the user performs a multi-touch operation of gathering multiple selected icons inward, as shown in FIG. Gathering at the same position; the electronic device detects that the touch points corresponding to the three icons (identified by b, d, and j) move close to each other, and tracks and calculates the distance between touch points b and d, d and j, and b and j The first relative distance, and judge whether the first relative distance has shrunk to a preset threshold (such as 20 pixel distance; the threshold can be determined according to the needs of different sizes and resolutions of the display screen), and if so, it will be displayed in 301 in the current display interface Create a new folder window 302, as shown in FIG. 2b, and put the icons of application programs b, d and j into the new folder at the same time. The present invention uses the multi-touch technology of the touch screen to track and identify the moving trajectories of multiple touch targets, automatically establishes a new folder, and simultaneously puts the application program icons corresponding to the multiple touch targets into the new folder. Replacing the existing technology that requires users to manually create folders and then put the icons into the folders one by one, it improves the processing efficiency of classifying application program icons, makes using the functions of electronic devices more convenient, and increases the ease of use of the system sex.
S40、若用户进行将多个选中图标沿同一方向平移的多点触摸操作,如图3a所示,用户在当前显示界面301中选中应用程序b,d和j的图标,并同时拖动三个图标向触摸屏显示区域的底部平移,三个图标间的第一相对距离保持不变或变化很小;电子设备相应地检测到三个图标对应的触摸点(以b,d和j标识)产生沿相同方向移动且第一相对距离的变化小于预设范围(比如5个像素点距离;可根据不同尺寸和分辨率显示屏的需要确定范围),则将图标b,d和j同时移动至用户手势停止时触摸点所在的目标位置(比如应用程序图标队列的末尾),如图3b所示,并更新显示重新排序后的图标队列。本发明通过对多个触摸目标整体相同的移动轨迹进行跟踪和识别,将多个触摸目标所对应的应用程序图标同时移动至目标位置,代替现有技术只能逐个移动图标位置的处理方式,提高了对应用程序图标进行重新排列的处理效率。S40. If the user performs a multi-touch operation to translate multiple selected icons along the same direction, as shown in FIG. The icon moves toward the bottom of the display area of the touch screen, and the first relative distance between the three icons remains unchanged or changes little; Move in the same direction and the change of the first relative distance is less than the preset range (such as 5 pixel distance; the range can be determined according to the needs of different sizes and resolution displays), then move the icons b, d and j to the user gesture at the same time The target position of the touch point when stopping (such as the end of the application icon queue), as shown in Figure 3b, and updated to show the reordered icon queue. The present invention tracks and recognizes the overall same moving track of multiple touch targets, and simultaneously moves the application program icons corresponding to the multiple touch targets to the target position, instead of the processing method in the prior art that can only move the icon positions one by one, and improves the Improved processing efficiency for rearranging application icons.
S50、若用户进行持续触摸多个选中图标且将当前显示界面滑动切换至另一显示界面的多点触摸操作,如图4a所示,用户在当前显示界面301中选中应用程序b,d和j的图标并持续触摸图标的显示区域,三个图标对应的触摸点位置保持不变或位置距离变化很小,用户在触摸图标的同时滑动触摸屏的显示界面;电子设备相应地检测到三个图标对应的触摸点(以b,d和j标识)的位置距离变化小于预设范围(比如5个像素点距离;可根据不同尺寸和分辨率显示屏的需要确定范围),且触摸屏的显示界面被滑动切换到目标界面502,则将选中图标b,d和j同时移动至目标界面502。本发明通过对多个触摸目标的位置距离变化、触摸时间或力度同时进行识别,并结合滑动显示界面的触摸手势识别,将多个触摸目标所对应的图标整体移动至目标界面的图标队列中,代替现有技术需要重复多次滑动界面并逐个将图标移动至目标界面的处理方式,提高了对应用程序图标在不同显示界面中切换显示和重新排列的处理效率。S50. If the user performs a multi-touch operation of continuously touching multiple selected icons and sliding the current display interface to another display interface, as shown in FIG. 4a, the user selects application programs b, d and j in the current display interface 301 icon and keep touching the display area of the icon, the positions of the touch points corresponding to the three icons remain unchanged or the position distance changes little, and the user slides the display interface of the touch screen while touching the icon; The change of the position distance of the touch point (identified by b, d and j) is less than the preset range (such as 5 pixel distance; the range can be determined according to the needs of different sizes and resolutions of the display screen), and the display interface of the touch screen is slid Switch to the target interface 502 , then move the selected icons b, d and j to the target interface 502 at the same time. The present invention simultaneously recognizes the position distance change, touch time or strength of multiple touch targets, and combines the touch gesture recognition of the sliding display interface to move the icons corresponding to the multiple touch targets to the icon queue of the target interface as a whole. Instead of the prior art, which needs to repeatedly slide the interface multiple times and move the icons to the target interface one by one, the processing efficiency of switching, displaying and rearranging application program icons in different display interfaces is improved.
图5是本发明第二实施例的具有触摸屏的电子设备的图标处理方法的流程图。如图5所示,本发明第二实施例的图标处理方法的步骤S10和S20与本发明第一实施例的图标处理方法的对应步骤相同;在本发明第二实施例的步骤S60中,若用户进行将多个选中图标同时向某个属性为文件夹的图标拖动的多点触摸操作,比如图2a中,假设图标g的属性为文件夹,用户选中应用程序b,d和j的图标,并拖动三个图标向图标g聚拢;电子设备相应地检测到三个图标对应的触摸点(以b,d和j标识)同时产生向属性为文件夹的图标g接近的移动,计算图标g对应显示区域的中心坐标,并计算触摸点b、d和j与该图标g的中心之间的第二相对距离;随着触摸点b、d和j的移动,判断第二相对距离是否达到预设阈值(比如20个像素点距离;可根据不同尺寸和分辨率显示屏的需要确定范围),若是,则将选中图标放入已存在的文件夹g中。本发明通过对多个触摸目标同时向属性为文件夹的图标产生聚拢移动的轨迹进行跟踪和识别,将多个触摸目标所对应的图标同时移动至其移动方向所指向的文件夹,代替现有技术只能逐个将应用程序图标移动至目标文件夹的处理方式,提高了对应用程序图标进行归类的处理效率。FIG. 5 is a flowchart of an icon processing method of an electronic device with a touch screen according to a second embodiment of the present invention. As shown in FIG. 5, steps S10 and S20 of the icon processing method of the second embodiment of the present invention are the same as the corresponding steps of the icon processing method of the first embodiment of the present invention; in step S60 of the second embodiment of the present invention, if The user performs a multi-touch operation of dragging multiple selected icons to an icon whose attribute is a folder. For example, in Figure 2a, assuming that the attribute of icon g is a folder, the user selects the icons of application programs b, d and j , and drag the three icons to gather towards the icon g; the electronic device correspondingly detects that the touch points corresponding to the three icons (identified by b, d and j) move towards the icon g whose attribute is a folder, and calculate the icon g corresponds to the central coordinates of the display area, and calculates the second relative distance between the touch points b, d and j and the center of the icon g; as the touch points b, d and j move, it is judged whether the second relative distance reaches Preset threshold (such as 20 pixel distance; the range can be determined according to the needs of different sizes and resolution displays), if yes, put the selected icon into the existing folder g. The present invention tracks and recognizes the trajectories of gathering and moving of multiple touch targets to icons whose attributes are folders, and simultaneously moves the icons corresponding to multiple touch targets to the folder pointed by their moving directions, replacing the existing The technology can only move the application program icons to the target folder one by one, which improves the processing efficiency of classifying the application program icons.
图6是本发明第三实施例的具有触摸屏的电子设备的图标处理方法的流程图。如图6所示,本发明第三实施例的图标处理方法的步骤S10和S20与本发明第一实施例的图标处理方法的对应步骤相同;相比步骤S30,在本发明第三实施例的步骤S30’中,在判断第一相对距离是否缩小至预设阈值之后,在显示新建文件夹窗口之前,还包括:创建新文件夹。具体在实现中,电子设备的控制处理器可以新建一个空的队列,将选中的应用程序的访问入口地址依次放入该新建队列中。FIG. 6 is a flowchart of an icon processing method of an electronic device with a touch screen according to a third embodiment of the present invention. As shown in Figure 6, steps S10 and S20 of the icon processing method of the third embodiment of the present invention are the same as the corresponding steps of the icon processing method of the first embodiment of the present invention; compared with step S30, in the third embodiment of the present invention In step S30', after judging whether the first relative distance is reduced to a preset threshold, and before displaying the new folder window, the method further includes: creating a new folder. Specifically, in implementation, the control processor of the electronic device may create an empty queue, and put the access entry addresses of the selected application programs into the newly created queue in sequence.
图7是本发明第四实施例的具有触摸屏的电子设备的图标处理方法的流程图。如图7所示,本发明第四实施例的图标处理方法的步骤S10和S20与本发明第一实施例的图标处理方法的对应步骤相同;相比步骤S50,在本发明第四实施例中的步骤S50’中,若检测到多个选中图标对应的触摸点的位置距离变化小于预设范围,且触摸屏的显示界面被滑动切换到目标界面,则将多个选中图标同时移动至所述目标界面中图标队列的末尾。优选地,如果该目标界面显示区域中无法容纳新增的所有多个图标,则新建一个界面排列在目标界面之后,并将未能增加在目标界面的剩余图标移动至该新建界面中。FIG. 7 is a flowchart of an icon processing method of an electronic device with a touch screen according to a fourth embodiment of the present invention. As shown in Figure 7, steps S10 and S20 of the icon processing method of the fourth embodiment of the present invention are the same as the corresponding steps of the icon processing method of the first embodiment of the present invention; compared with step S50, in the fourth embodiment of the present invention In step S50', if it is detected that the position distance change of the touch point corresponding to the multiple selected icons is less than the preset range, and the display interface of the touch screen is slid to switch to the target interface, then the multiple selected icons are simultaneously moved to the target The end of the icon queue in the interface. Preferably, if the display area of the target interface cannot accommodate all the newly added icons, a newly created interface is arranged behind the target interface, and the remaining icons that cannot be added on the target interface are moved to the newly created interface.
图8是本发明第五实施例的具有触摸屏的电子设备的图标处理装置的结构图。如图8所示,在本发明的第五实施例中,装置包括:FIG. 8 is a structural diagram of an icon processing device of an electronic device with a touch screen according to a fifth embodiment of the present invention. As shown in Figure 8, in the fifth embodiment of the present invention, the device includes:
多点触摸识别单元81,用于识别用户在所述触摸屏当前显示界面中选中至少两个图标的多点触摸手势,分别计算每个选中图标对应的触摸区域的中心坐标;优选地,多点触摸识别单元81用于计算触摸区域的几何中心坐标(类似形心坐标),或根据触摸区域中每个传感节点上的触摸压力大小计算压力中心坐标(类似重心坐标);多点触摸识别单元81还用于根据每个触摸点的位置坐标,计算多个触摸点中每两个触摸点之间的第一相对距离;优选地,可以采用笛卡尔坐标系表示和计算两点之间的相对距离;The multi-touch identification unit 81 is used to identify the multi-touch gesture that the user selects at least two icons in the current display interface of the touch screen, and calculates the center coordinates of the touch area corresponding to each selected icon; preferably, the multi-touch The identification unit 81 is used to calculate the geometric center coordinates of the touch area (similar to the centroid coordinates), or to calculate the pressure center coordinates (similar to the center of gravity coordinates) according to the touch pressure on each sensing node in the touch area; the multi-touch identification unit 81 It is also used to calculate the first relative distance between every two touch points among the multiple touch points according to the position coordinates of each touch point; preferably, the relative distance between two points can be represented and calculated by using a Cartesian coordinate system ;
跟踪检测单元82,用于跟踪和感应用户对选中图标进行的多点触摸操作,检测与选中图标对应的多个触摸点的移动轨迹;The tracking detection unit 82 is configured to track and sense the multi-touch operation performed by the user on the selected icon, and detect the movement track of multiple touch points corresponding to the selected icon;
第一图标聚拢处理单元83,若检测到多个触摸点产生互相接近的移动,则进入第一图标聚拢处理单元83进行处理;第一图标聚拢处理单元83用于判断第一相对距离是否缩小至预设阈值;若是,第一图标聚拢处理单元83还用于在当前显示界面中显示新建文件夹窗口,并将多个选中图标同时放入新建文件夹中。优选地,所述第一图标聚拢处理单元83还用于创建一个文件夹(也即新建一个空的队列),以将应用程序的图标(也即应用程序的访问入口地址)依次放入该新建文件夹(也即新建队列)中。The first icon gathering processing unit 83, if it detects that a plurality of touch points move close to each other, then enters the first icon gathering processing unit 83 for processing; the first icon gathering processing unit 83 is used to judge whether the first relative distance is reduced to Preset threshold; if yes, the first icon gathering processing unit 83 is further configured to display a new folder window in the current display interface, and put multiple selected icons into the new folder at the same time. Preferably, the first icon gathering processing unit 83 is also used to create a folder (that is, create a new empty queue), so as to sequentially put the icons of the application program (that is, the access entry address of the application program) into the newly created folder. folder (that is, the new queue).
图标同向移动处理单元84,若检测到多个触摸点沿相同方向移动且第一相对距离的变化小于预设范围,则进入图标同向移动处理单元84进行处理;图标同向移动处理单元84用于将多个选中图标同时移动至用户手势停止时触摸点所在的目标位置,并重新对图标队列进行排序和显示;Icon moving processing unit 84 in the same direction, if it is detected that multiple touch points move in the same direction and the change of the first relative distance is less than the preset range, then enter the icon moving processing unit 84 for processing; icon moving processing unit 84 in the same direction It is used to simultaneously move multiple selected icons to the target position where the touch point is when the user gesture stops, and reorder and display the icon queue;
滑动界面图标移动处理单元85,若检测到多个触摸点位置距离变化小于预设范围且触摸屏的显示界面被滑动切换到目标界面,则进入滑动界面图标移动处理单元85进行处理;滑动界面图标移动处理单元85用于将多个选中图标同时移动至所述目标界面。优选地,滑动界面图标移动处理单元85还用于将多个选中图标同时移动至所述目标界面中图标队列的末尾;优选地,如果该目标界面显示区域中无法容纳新增的所有多个图标,则滑动界面图标移动处理单元85还用于新建一个界面排列在目标界面之后,并将未能增加在目标界面的剩余图标移动至该新建界面中。Sliding interface icon movement processing unit 85, if detecting that a plurality of touch point position distance changes is less than preset range and the display interface of touch screen is switched to target interface by sliding, then enters sliding interface icon movement processing unit 85 to process; Sliding interface icon moves The processing unit 85 is configured to simultaneously move multiple selected icons to the target interface. Preferably, the sliding interface icon movement processing unit 85 is also used to simultaneously move multiple selected icons to the end of the icon queue in the target interface; preferably, if the target interface display area cannot accommodate all the newly added icons , then the sliding interface icon movement processing unit 85 is further configured to create a new interface arranged behind the target interface, and move the remaining icons that cannot be added to the target interface to the newly created interface.
优选地,所述装置还包括:Preferably, the device also includes:
第二图标聚拢处理单元86,若检测到多个触摸点同时向某个属性为文件夹的图标移动,则进入第二图标聚拢处理单元86进行处理;第二图标聚拢处理单元86用于计算文件夹图标对应显示区域的中心坐标,以及分别计算每个触摸点与文件夹图标的之间的第二相对距离,判断所述第二相对距离是否到达预设阈值,若是,第二图标聚拢处理单元86还用于将多个选中图标放入该文件夹中。The second icon gathering processing unit 86, if it detects that a plurality of touch points move to a certain attribute as an icon of a folder, then enters the second icon gathering processing unit 86 for processing; the second icon gathering processing unit 86 is used to calculate the file Folder icons correspond to the central coordinates of the display area, and calculate the second relative distance between each touch point and the folder icon respectively, and judge whether the second relative distance reaches a preset threshold, if so, the second icon gathering processing unit 86 is also used to put multiple checked icons into this folder.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310216878.4A CN103294401B (en) | 2013-06-03 | 2013-06-03 | A kind of icon disposal route and device with the electronic equipment of touch-screen |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310216878.4A CN103294401B (en) | 2013-06-03 | 2013-06-03 | A kind of icon disposal route and device with the electronic equipment of touch-screen |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103294401A CN103294401A (en) | 2013-09-11 |
| CN103294401B true CN103294401B (en) | 2016-02-17 |
Family
ID=49095362
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310216878.4A Active CN103294401B (en) | 2013-06-03 | 2013-06-03 | A kind of icon disposal route and device with the electronic equipment of touch-screen |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103294401B (en) |
Families Citing this family (45)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103677577A (en) * | 2013-12-12 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Terminal object operating method and terminal |
| PL3084744T3 (en) * | 2013-12-20 | 2019-10-31 | Universal Electronics Inc | System and method for optimized appliance control |
| CN104915108B (en) * | 2014-03-14 | 2018-07-03 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
| CN105278758B (en) * | 2014-07-14 | 2018-12-07 | 中国移动通信集团浙江有限公司 | A kind of control method of electronic reading, device and touch-screen equipment |
| CN104133885A (en) * | 2014-07-29 | 2014-11-05 | 广州视源电子科技股份有限公司 | Classification grouping method |
| CN104639989B (en) * | 2014-08-21 | 2017-11-21 | 康佳集团股份有限公司 | Method and system based on remote control batch mobile television application icon |
| CN104636027A (en) * | 2014-08-22 | 2015-05-20 | 康佳集团股份有限公司 | Method and system for managing tabletop icons based on intelligent television |
| CN108196759B (en) | 2014-09-04 | 2021-11-19 | 华为技术有限公司 | Icon control method and terminal |
| CN104360806A (en) * | 2014-10-13 | 2015-02-18 | 厦门美图移动科技有限公司 | Method for quickly managing desktop icons in batches |
| CN104378691B (en) * | 2014-11-07 | 2018-10-12 | 康佳集团股份有限公司 | Television set and its method for switching desktop theme |
| CN105677136A (en) * | 2014-11-20 | 2016-06-15 | 珠海金山办公软件有限公司 | Icon sorting method and device |
| CN105744050B (en) * | 2014-12-10 | 2020-08-11 | 重庆亿心沃德科技有限公司 | Mail processing method and device |
| CN104503681A (en) * | 2014-12-30 | 2015-04-08 | 乐视致新电子科技(天津)有限公司 | Interface icon movement control method and device |
| US20160239200A1 (en) * | 2015-02-16 | 2016-08-18 | Futurewei Technologies, Inc. | System and Method for Multi-Touch Gestures |
| CN106469015A (en) * | 2015-08-18 | 2017-03-01 | 阿里巴巴集团控股有限公司 | interface object classifying method and device |
| CN106484210A (en) * | 2015-08-26 | 2017-03-08 | 中兴通讯股份有限公司 | A kind of applied program processing method and device |
| CN106484213B (en) * | 2015-08-31 | 2019-11-01 | 深圳富泰宏精密工业有限公司 | Application icon operating system and method |
| CN105302457B (en) * | 2015-09-30 | 2019-02-22 | 努比亚技术有限公司 | Terminal control method and device |
| CN105159544B (en) * | 2015-10-07 | 2018-06-26 | 北京创鑫旅程网络技术有限公司 | A kind of method and mobile terminal of the classification of mobile terminal application icon |
| CN105528161B (en) * | 2015-12-10 | 2019-09-06 | Oppo广东移动通信有限公司 | Grouping method of playing devices and user terminal |
| CN106896974A (en) * | 2015-12-18 | 2017-06-27 | 阿里巴巴集团控股有限公司 | The method and apparatus that data are sorted out |
| CN105677185A (en) * | 2016-01-11 | 2016-06-15 | 广东欧珀移动通信有限公司 | Data compression method and mobile terminal |
| CN106980433A (en) * | 2016-01-19 | 2017-07-25 | 阿里巴巴集团控股有限公司 | The group technology and device of icon |
| CN105657182A (en) * | 2016-02-26 | 2016-06-08 | 努比亚技术有限公司 | Display object management method and terminal |
| CN105843480A (en) * | 2016-03-29 | 2016-08-10 | 乐视控股(北京)有限公司 | Desktop icon adjustment method and apparatus |
| JP6746361B2 (en) * | 2016-04-14 | 2020-08-26 | キヤノン株式会社 | Information processing apparatus, control method thereof, and program |
| CN105975191A (en) * | 2016-04-29 | 2016-09-28 | 乐视控股(北京)有限公司 | Icon arrangement method and terminal |
| CN106055206A (en) * | 2016-05-30 | 2016-10-26 | 乐视控股(北京)有限公司 | Desktop data processing method and device |
| CN106406735B (en) * | 2016-09-05 | 2020-12-29 | 努比亚技术有限公司 | Operation method and device and mobile terminal |
| CN106896998B (en) * | 2016-09-21 | 2020-06-02 | 阿里巴巴集团控股有限公司 | Method and device for processing operation object |
| CN106406675A (en) * | 2016-09-29 | 2017-02-15 | 广东欧珀移动通信有限公司 | Shortcut method and terminal equipment for running applications |
| CN106951141B (en) * | 2017-03-16 | 2019-03-26 | 维沃移动通信有限公司 | A kind of processing method and mobile terminal of icon |
| CN107885447A (en) * | 2017-10-25 | 2018-04-06 | 努比亚技术有限公司 | A kind of target method for sorting, terminal and computer-readable recording medium |
| CN107957835A (en) * | 2017-11-28 | 2018-04-24 | 努比亚技术有限公司 | A kind of icon moving method, device and computer-readable recording medium |
| CN107992245A (en) * | 2017-12-16 | 2018-05-04 | 苏州燕云网络技术有限公司 | Application icon method for sorting and device |
| CN107967101A (en) * | 2017-12-18 | 2018-04-27 | 苏州燕云网络技术有限公司 | App icons are cancelled to the method and device sorted out |
| CN108519902A (en) * | 2018-03-30 | 2018-09-11 | 广州视源电子科技股份有限公司 | Interface position adjusting method and device of interactive intelligent equipment |
| CN110377211A (en) * | 2019-07-23 | 2019-10-25 | 珠海格力电器股份有限公司 | Desktop multi-application dragging method |
| CN110515507B (en) * | 2019-08-16 | 2021-03-19 | 维沃移动通信有限公司 | Icon display method and terminal |
| CN110865759A (en) * | 2019-10-28 | 2020-03-06 | 维沃移动通信有限公司 | Object moving method and electronic equipment |
| CN112965642A (en) * | 2019-11-27 | 2021-06-15 | 中兴通讯股份有限公司 | Electronic device, driving method thereof, driving module, and computer-readable storage medium |
| CN111596817B (en) * | 2020-04-24 | 2021-12-14 | 维沃移动通信有限公司 | Icon moving method and electronic equipment |
| CN111831180B (en) | 2020-07-08 | 2022-04-22 | 维沃移动通信有限公司 | Icon sorting method and device and electronic equipment |
| CN113238691B (en) * | 2021-05-27 | 2024-03-01 | 维沃移动通信(杭州)有限公司 | Application icon management method and device and electronic equipment |
| CN113360049A (en) * | 2021-06-30 | 2021-09-07 | 北京百度网讯科技有限公司 | List sorting method and device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102736826A (en) * | 2011-04-08 | 2012-10-17 | 深圳富泰宏精密工业有限公司 | Method and system for arranging user interface of action device |
| CN102799357A (en) * | 2012-06-20 | 2012-11-28 | 华为终端有限公司 | Method for creating folder on user interface and terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8386950B2 (en) * | 2010-04-05 | 2013-02-26 | Sony Ericsson Mobile Communications Ab | Methods, systems and computer program products for arranging a plurality of icons on a touch sensitive display |
-
2013
- 2013-06-03 CN CN201310216878.4A patent/CN103294401B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102736826A (en) * | 2011-04-08 | 2012-10-17 | 深圳富泰宏精密工业有限公司 | Method and system for arranging user interface of action device |
| CN102799357A (en) * | 2012-06-20 | 2012-11-28 | 华为终端有限公司 | Method for creating folder on user interface and terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103294401A (en) | 2013-09-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103294401B (en) | A kind of icon disposal route and device with the electronic equipment of touch-screen | |
| US11301126B2 (en) | Icon control method and terminal | |
| US10627990B2 (en) | Map information display device, map information display method, and map information display program | |
| TWI569171B (en) | Gesture recognition | |
| US9678639B2 (en) | Virtual mouse for a touch screen device | |
| CN104808936B (en) | Interface operation method and portable electronic device applying same | |
| KR20150033508A (en) | Icon moving method and touch-type portable terminal to which the method is applied | |
| US9170726B2 (en) | Apparatus and method for providing GUI interacting according to recognized user approach | |
| CN104536643B (en) | A kind of icon drag method and terminal | |
| US9778780B2 (en) | Method for providing user interface using multi-point touch and apparatus for same | |
| CN103324420B (en) | Multi-point touchpad input operation identification method and electronic equipment | |
| CN102495705A (en) | Method for switching multi-screen interfaces of touch screen terminal and device | |
| CN107797722A (en) | Touch screen icon selection method and device | |
| WO2017185459A1 (en) | Method and apparatus for moving icons | |
| US10282087B2 (en) | Multi-touch based drawing input method and apparatus | |
| CN108073334A (en) | A kind of suspension touch control method and device based on vector calculus | |
| CN104991696A (en) | Information processing method and electronic equipment | |
| CN104834430A (en) | Method and apparatus for moving icons | |
| CN103809853A (en) | Information processing method and electronic device | |
| CN104331221A (en) | Operating method and device of application icons | |
| CN105938403A (en) | Cursor control method and device based on fingerprint recognition | |
| CN104866210B (en) | A kind of touch screen control method, device and electronic equipment | |
| CN105373292A (en) | Desktop editing method and device | |
| CN104777988A (en) | Data processing method and electronic equipment | |
| CN104679312A (en) | Electronic device as well as touch system and touch method of electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |