Icon method for congregating and the terminal of touch interfaceTechnical field
The present invention relates to communication technical field, relate in particular to a kind of icon method for congregating and terminal of touch interface.
Background technology
Along with growing with each passing day of multimedia information inquiry, and the touch operation mode more and more is subject to user's welcome, touch screen technology has been widely used in daily life, touch-screen have be easy to use, sturdy and durable, writing speed fast, save the advantage such as space, the user makes man-machine interaction more simple and direct as long as touching with light finger the icon or the word that touch on computer display just can realize host service function.Existing Intelligent touch terminal has a plurality of touch interfaces (launcher) mostly, have a plurality of control icons on each launcher, sometimes the user experiences and a plurality of icons need to be moved in a file for improving, common operation is a first newly-built file, then icon is dragged into one by one in this document folder, this scheme is time-consuming also effort both, simultaneously to allowing the good experience of user.
In summary, the icon method for congregating of existing intelligent terminal obviously exists inconvenience and defective in actual use, so be necessary to be improved.
Summary of the invention
For above-mentioned defective, the object of the present invention is to provide a kind of icon method for congregating and terminal of touch interface, can easily the icon on a touch interface be gathered in the identical file folder, improve user experience value.
To achieve these goals, the invention provides a kind of icon method for congregating of touch interface, described method comprises the steps:
Touch information obtaining step: obtain the touch point in quantity and the change in location information of terminal touch interface, enter determining step if the quantity of described touch point reaches predetermined number, otherwise do not deal with;
Determining step: according to the change in location information of described touch point judge each touch point displacement and mobile after any two touch points between distance whether satisfy pre-conditionedly, if enter the icon agglomeration step, otherwise do not deal with;
The icon agglomeration step: described terminal is set up a file on the terminal touch interface, and the icon on described touch interface is gathered in described file.
According to the icon method for congregating of touch interface of the present invention, described pre-conditioned for the displacement of each touch point is not less than the first preset value, the distance between any two the described touch points after moving is not less than the second preset value;
In described determining step, judge at first whether the displacement of each touch point is not less than the first preset value, whether the distance between any two the described touch points after if it is judgement is moved again is not less than the second preset value, otherwise does not deal with.
Icon method for congregating according to touch interface of the present invention, described icon agglomeration step further comprises: described terminal is set up a file at the adjacent touch interface of described current touch interface, icon on described current touch interface is gathered in described file, and switch the described adjacent touch interface of demonstration.
Icon method for congregating according to touch interface of the present invention, the change in location information of described touch point comprises the reference position coordinate of described touch point and the final position coordinate after movement thereof, described terminal is according to the displacement of the reference position coordinate of each described touch point and final position coordinate Calculation each described touch point, and the distance between two touch points any according to the final position coordinate Calculation of each described touch point.
According to the icon method for congregating of touch interface of the present invention, the predetermined number of described touch point is more than three.
The present invention also provides a kind of terminal of icon method for congregating as mentioned above that realizes accordingly, and described terminal comprises at least two touch interfaces, and described terminal also comprises:
The touch information acquisition module is used for obtaining the touch point in quantity and the change in location information of terminal touch interface, and the change in location information if the quantity of described touch point reaches predetermined number with described each touch point is sent to judge module, otherwise does not deal with;
Judge module is used for judging according to the change in location information of described touch point whether the displacement of each touch point and the distance between any two touch points after movement satisfy pre-conditioned;
The icon concentrating module, be used for the displacement of each touch point and mobile after any two touch points between distance satisfy when pre-conditioned, set up a file on described terminal touch interface, and the icon on described touch interface is gathered in described file.
According to terminal of the present invention, describedly pre-conditionedly be: the displacement of each touch point is not less than the first preset value, and the distance between any two the described touch points after mobile is not less than the second preset value;
At first described judge module judges whether the displacement of each touch point is not less than the first preset value, and whether the distance between any two the described touch points after if it is judgement is moved again is not less than the second preset value, otherwise does not deal with.
According to terminal of the present invention, described icon concentrating module is set up a file at the adjacent touch interface of described current touch interface, the icon on described current touch interface is gathered in described file, and switch the described adjacent touch interface of demonstration.
According to terminal of the present invention, the positional information of described touch point comprises the reference position coordinate of described touch point and the final position coordinate after movement thereof, the judge module of described terminal is according to the displacement of the reference position coordinate of each described touch point and final position coordinate Calculation described each described touch point, and the distance between any two touch points after moving according to the final position coordinate Calculation of each described touch point.
According to terminal of the present invention, the predetermined number of described touch point is more than three.
the present invention realizes icon is gathered in the identical file folder by the operation of a plurality of touch points to touch interface, concrete, at first pass through quantity and the change in location information of detected touch point, if amount detection reaches predetermined value, analyze judgement according to the change in location information of touch point, if the displacement of each touch point is not less than the first preset value, and the distance between any two touch points after mobile is not less than the second preset value, at the terminal touch interface folder of creating a file, and each icon of touch interface (current interface) gathers in the file of foundation automatically.Whereby, the present invention can make the icon of touch terminal gather very easily in file, improves user's experience value.
Description of drawings
Fig. 1 is the structural representation of terminal provided by the invention;
Fig. 2 is the process flow diagram of icon method for congregating one embodiment of the present invention;
Fig. 3 is the process flow diagram of another embodiment of icon method for congregating of the present invention.
Fig. 4 A is the touch reference position schematic diagram of one embodiment of the invention;
Fig. 4 B is the final position schematic diagram after Fig. 4 A illustrated embodiment touch operation.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the invention provides a kind oftouch terminal 100, it comprises at least two touch interfaces, can be mobile phone, PDA (Personal Digital Assistant, personal digital assistant) or palm PC etc.Thisterminal 100 also comprises:
Touchinformation acquisition module 10, be used for obtaining the touch point in quantity and the change in location information of terminal touch interface, change in location information if the quantity of described touch point reaches predetermined number with described each touch point is sent to judgemodule 20, otherwise does not deal with.In one embodiment of the invention, the predetermined number of touch point is made as more than three, if when namely having some touch points on the first touch interface, action to be arranged, just the change in location information of each touch point is sent to judgemodule 20 when the quantity that touchinformation acquisition module 10 detects the touch point is at least three and processes, if the touch point is only for one or two do not deal with.
Judge module 20 is used for judging according to the change in location information of described touch point whether the displacement of each touch point and the distance between any two touch points after movement satisfy pre-conditioned.Concrete pre-conditioned in one embodiment of the invention is: the displacement of each touch point is not less than the first preset value, and the distance between any two the described touch points after mobile is not less than the second preset value.concrete, the change in location information of touch point has comprised the final position coordinate after its reference position coordinate and movement thereof, atfirst judge module 20 can calculate the displacement of each touch point according to these change in location information, if the displacement of each touch point all is not less than the first preset value, final position coordinate Calculation after moving according to each touch point moves the distance between rear any two touch points, if the distance that calculates between any two touch points all is not less than the second preset value, satisfy pre-conditioned, this is satisfied information be sent to icon concentrating module 30, do not satisfy " displacement of each touch point all is not less than the first preset value " if calculate, do not deal with, also need not calculate again the distance between mobile rear any two touch points.
Icon concentrating module 30, be used for the displacement of each touch point and mobile after any two touch points between distance satisfy when pre-conditioned, set up a file on the touch interface ofterminal 100, and the icon on described touch interface is gathered in described file.In practical application,terminal 100 comprises at least two touch interfaces, in the time the icon of the first touch interface need to being assembled, icon concentrating module 30 preferentially is based upon file on the second touch interface adjacent with the first touch interface, user friendly whereby search operation.Be more preferably, in another embodiment of the present invention, when the icon of the first touch interface gathered corresponding file,terminal 100 can deletion the first touch interface.
Terminal 100 of the present invention can make the icon of certain touch interface gather very easily in the identical file folder, such as the user can carry out touch operation with three fingers, only need three fingers are put on touch interface and carry out corresponding slip and can realize easily above function, greatly improve user's experience value.
Fig. 2 is the process flow diagram of the icon method for congregating that provides of one embodiment of the invention, and it realizes byterminal 100 as shown in Figure 1, and the method comprises:
Step S201, touchinformation acquisition module 10 obtain the touch point in quantity and the change in location information of the first touch interface, enter determining step if the quantity of described touch point reaches predetermined number, otherwise do not deal with.In the present invention, preferably the predetermined number with the touch point is made as three, if touch point quantity meets or exceeds three, and the touch point enters step S202 when the first touch interface has action, otherwise do not deal with.
Step S202, judgemodule 20 according to the change in location information of described touch point judge each touch point displacement and mobile after any two touch points between distance whether satisfy pre-conditionedly, if enter the icon agglomeration step, otherwise do not deal with.The change in location information of touch point has comprised the origin coordinates of each touch point and the termination coordinate after movement,judge module 20 can calculate the displacement of each touch point according to these change in location information, if the displacement of each touch point all is not less than the first preset value, calculate again the distance between mobile rear any two touch points, if the distance that calculates between any two touch points all is not less than the second preset value, satisfy pre-conditionedly, enter step S203, otherwise do not deal with.Need to prove, do not satisfy " displacement of each touch point all is not less than the first preset value " if calculate, do not deal with, also need not calculate again the distance between mobile rear any two touch points, directly process ends.
Step S203, the icon concentrating module 30 ofterminal 100 is set up a file on the second touch interface, and the icon on described the first touch interface is gathered in described file, and this document folder preferably is based upon on the adjacent touch interface of the first touch interface.
Fig. 3 is the process flow diagram of the icon method for congregating that provides of another embodiment of the present invention, and in this embodiment, the first preset value is 1.5cm, and the second preset value is 1cm, and the method specifically comprises:
Step S301, the user is by three current launcher pages of finger touch operation, referring to the final position after the finger sliding shown in the initial touch position shown in Fig. 4 A and Fig. 4 B, touchinformation acquisition module 10 obtains the change in location information of each touch point, and this change in location information comprises the reference position coordinate of each touch point and the terminal point coordinate after movement.
Step S302 judges according to the change in location information of touch point whether the displacement of each touch point all is not less than 1.5cm, if so, enters step S303, otherwise process ends.
Step S303 judges according to the change in location information of touch point whether the distance between any two touch points all is not less than 1cm, if so, enters step S304, otherwise process ends.
Step S304 at another launcher page creation one file adjacent with the current launcher page, and gathers the icon of the current launcher page in this document folder, and the current launcher page becomes an empty page.
Step S305 deletes the current launcher page.
In this embodiment; the user only need be by the current launcher page of finger touch of three (or more); and gather the icon that slip can make the launcher page and gather in the identical file folder; saved the operation that drags icon after the new folder; easy to operate, make the user have good experience.
in sum, the present invention realizes icon is gathered in the identical file folder by the operation of a plurality of touch points to touch interface, concrete, at first pass through quantity and the change in location information of detected touch point, if amount detection reaches predetermined value, analyze judgement according to the change in location information of touch point, if the displacement of each touch point is not less than the first preset value, and the distance between any two touch points after mobile is not less than the second preset value, at the second touch interface of terminal folder of creating a file, and each icon of the first touch interface (current interface) gathers in the file of foundation automatically.Whereby, the present invention can make the icon of touch terminal gather very easily in file, improves user's experience value.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.