Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of in display interface method and the device of selected object, to improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment.Technical scheme is as follows:
First aspect, the embodiment of the present invention provide a kind of in display interface the method for selected object, be applicable in touch-screen type electronic equipment, described method comprises:
In comprising the display interface of a plurality of objects, recognize the first touch track in described display interface;
Judge whether described the first touch track is the curvilinear path for selected object of presetting;
When judging described the first touch track for the default curvilinear path for selected object, determine at least two objects that described the first touch track is associated;
At least two associated objects of described the first touch track are set to selected state.
Preferably, the described default curvilinear path for selected object is straight path;
Described definite at least two associated objects of described the first touch track, comprising:
Determine at least two objects of described straight path process.
Preferably, judge that whether described the first touch track is straight path, comprising:
Judge described the first touch track abscissa value or the ordinate value of a plurality of coordinate points of process whether all identical, or, described the first touch track from origin coordinates, put end coordinate point in a plurality of coordinate points of process abscissa value whether be linear growth or reduce, or, described the first touch track from origin coordinates, put end coordinate point in a plurality of coordinate points of process ordinate value whether be linear growth or reduce, when existing one to judgment result is that while being, show that described the first touch track is straight path.
Preferably, determine the mode of the object of described straight path process, comprising:
By in viewing area, place, exist belong to described straight path the object of at least one coordinate points in a plurality of coordinate points of process be defined as the object of described straight path process.
Preferably, the described default curvilinear path for selected object is to have radian and not closed curvilinear path;
Described definite at least two associated objects of described the first touch track, comprising:
At least two objects described in determining with radian and not closed curvilinear path process.
Preferably, judge that whether described the first touch track is to have radian and not closed curvilinear path, comprising:
Judge described the first touch track whether there is the coordinate points that ordinate value is not identical in a plurality of coordinate points of process, and whether there is the coordinate points that abscissa value is not identical, and whether the abscissa value of putting end coordinate point from origin coordinates is not linear growth or reduces, and whether the ordinate value of putting end coordinate point from origin coordinates is not linear growth or reduces, and whether not successively through same coordinate points, when judged result is while being, show that this first touch track is to have radian and not closed curvilinear path.
Preferably, described in determining, there is the mode of the object of radian and not closed curvilinear path process, comprising:
By in viewing area, place, exist belong to have radian and not closed curvilinear path the object of at least one coordinate points in a plurality of coordinate points of process be defined as having the object of radian and not closed curvilinear path process.
Preferably, the described default curvilinear path for selected object is closed type curvilinear path;
Described definite at least two associated objects of described the first touch track, comprising:
Determine that described closed type curvilinear path forms at least two objects shown in region.
Preferably, judge that whether described the first touch track meets closed type curvilinear path, comprising:
Judge that described the first touch track, whether successively through same coordinate points, is to show that this first touch track is closed type curvilinear path when judgment result is that.
Preferably, determine that described closed type curvilinear path forms the mode of object shown in region, comprising:
By existing in viewing area, place, belong to object that described closed type curvilinear path forms at least one coordinate points in a plurality of coordinate points in region and be defined as described closed type curvilinear path and form object shown in region.
Preferably, described object comprises: file object, application icon object or shortcut icon object.
Preferably, described file object comprises: slide file, photo files, word document or txt document.
Preferably, at least two objects associated in described the first touch track are set to after selected state, and described method also comprises:
Recognize the second touch track in described display interface;
When judging described the second touch track, meet defaultly when cancelling the curvilinear path of choosing, at least two the associated objects of described the first touch track that are set to selected state are reverted to non-selected state.
Second aspect, the embodiment of the present invention provide a kind of in display interface the device of selected object, be applicable in touch-screen type electronic equipment, described device comprises:
Track identification module, for comprising the display interface of a plurality of objects, recognizes the first touch track in described display interface;
Judge module, for judging whether described the first touch track is the curvilinear path for selected object of presetting;
Object determination module, for when judging described the first touch track for the default curvilinear path for selected object, determines at least two objects that described the first touch track is associated;
Object selected module, at least two objects associated for described the first touch track are set to selected state.
Preferably, described judge module, comprising:
The first judging unit, for judging whether described the first touch track is straight path;
Described object determination module, comprising:
The first object determining unit, for when judging described the first touch track and be straight path, determines at least two objects of described straight path process.
Preferably, described judge module, comprising:
The second judging unit, for judging whether described the first touch track is to have radian and not closed curvilinear path;
Described object determination module, comprising:
Second object determining unit, for being while having radian and not closed curvilinear path when judging described the first touch track, has at least two objects of radian and not closed curvilinear path process described in determining.
Preferably, described judge module, comprising:
The 3rd judging unit, for judging whether described the first touch track is closed type curvilinear path;
Described object determination module, comprising:
The 3rd object determining unit, for when judging described the first touch track and be closed type curvilinear path, determines that described closed type curvilinear path forms at least two objects shown in region.
Preferably, the device of selected object in display interface that the embodiment of the present invention provides also comprises:
The second touch track identification module, for recognizing the second touch track at described display interface;
The second touch track processing module, for meeting defaultly when cancelling the curvilinear path of choosing when judging described the second touch track, reverts to non-selected state by least two the associated objects of described the first touch track that are set to selected state.
In the embodiment of the present invention, during the first touch track in recognizing the display interface that is comprising a plurality of objects, judge whether this first touch track is the curvilinear path for selected object of presetting, and judgment result is that be in the situation that, determine at least two objects that this first touch track is associated, and then at least two associated objects of this first touch track are set to selected state.Visible, in this programme, user can choose by input qualified curvilinear path in touch-screen type electronic equipment at least two objects that are associated with curvilinear path, therefore, can improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, improve user's experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In order to improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, the embodiment of the present invention provide a kind of in display interface method and the device of selected object.
First the embodiment of the present invention is provided below a kind of in display interface the method for selected object be introduced.
It should be noted that, the embodiment of the present invention provide a kind of in display interface the method for selected object be applicable in touch-screen type electronic equipment.Wherein, in actual applications, this touch-screen type electronic equipment can be: touch-screen type mobile phone, panel computer etc.
As shown in Figure 1, a kind of in display interface the method for selected object, can comprise:
S101, in comprising the display interface of a plurality of objects, recognizes the first touch track in this display interface;
In comprising the display interface of a plurality of objects, when user wishes to choose at least two objects that are arranged in this display interface, can on touch-screen, input the first touch track that meets the default curvilinear path for selected object, and this electronic equipment can recognize the first touch track in this display interface, and then carry out follow-up processing.It should be noted that, this display interface that comprises a plurality of objects can be the display interface at a plurality of objects place, can certainly be selected object or the required display interface entering of edit object, and this is all rational.
Wherein, this object can comprise: file object, application icon object or shortcut icon object, be not limited to this certainly; And this document object can comprise: slide file, photo files, word document or txt document, be not limited to this certainly.
S102, judges whether this first touch track is the curvilinear path for selected object of presetting, if so, and execution step S103; Otherwise, do not deal with;
When this electronic equipment recognizes the first touch track in this display interface, can judge whether this first touch track is the curvilinear path for selected object of presetting, and carry out different operations according to different judged results.Wherein, when judging this first touch track for the default curvilinear path for selected object, show that user wishes to choose at least two objects in this display interface, therefore, can perform step S103; And when judging this first touch track for the default curvilinear path for selected object, show that user does not wish to choose at least two objects in this display interface, therefore, can not deal with, can certainly carry out other operations corresponding to this first touch track.
Wherein, the default curvilinear path for selected object at least can comprise straight path, have radian and not closed curvilinear path or closed type curvilinear path, and this is all rational.Wherein, judge that the mode whether this first touch track meets the default curvilinear path for selected object can adopt existing mode.
S103, determines at least two objects that this first touch track is associated;
When judging this first touch track and meet the default curvilinear path for selected object, and then can determine at least two objects that this first touch track is associated.
It should be noted that, when the default curvilinear path for selected object is straight path, determine at least two objects that this first touch track is associated, can comprise: at least two objects determining this straight path process; When the default curvilinear path for selected object is while having radian and not closed curvilinear path, determine at least two objects that this first touch track is associated, can comprise: determine that this has at least two objects of radian and not closed curvilinear path process; And when the default curvilinear path for selected object is closed type curvilinear path, determine at least two objects that this first touch track is associated, can comprise: determine that this closed type curvilinear path forms at least two objects shown in region.
S104, at least two associated objects of this first touch track are set to selected state.
Wherein, after determining at least two associated objects of this first touch track, can be set to selected state by least two associated objects of this first touch track, thereby choose fast at least two objects in display interface.
Further, can carry out selected operation to being set at least two associated objects of this first touch track of selected state, such as: deletion action, replicate run etc.Certainly, the corresponding selected operation of different types of object can be different.
Further, at least two objects associated in this first touch track are set to after selected state, and described method can also comprise:
Recognize the second touch track in this display interface;
When judging this second touch track, meet defaultly when cancelling the curvilinear path of choosing, at least two the associated objects of this first touch track that are set to selected state are reverted to non-selected state.Wherein, this second touch track is different from this first touch track, thus corresponding different operations.
In the embodiment of the present invention, during the first touch track in recognizing the display interface that is comprising a plurality of objects, judge whether this first touch track is the curvilinear path for selected object of presetting, and judgment result is that be in the situation that, determine at least two objects that this first touch track is associated, and then at least two associated objects of this first touch track are set to selected state.Visible, in this programme, user can choose by input qualified curvilinear path in touch-screen type electronic equipment at least two objects that are associated with curvilinear path, therefore, can improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, thereby improve user's experience.
Take below the curvilinear path for selected object preset as straight path be example, to the embodiment of the present invention provide a kind of in display interface the method for selected object be introduced.
It should be noted that, the embodiment of the present invention provide a kind of in display interface the method for selected object be applicable in touch-screen type electronic equipment.Wherein, in actual applications, this touch-screen type electronic equipment can be: touch-screen type mobile phone, panel computer etc.
As shown in Figure 2, a kind of in display interface the method for selected object, can comprise:
S201, in comprising the display interface of a plurality of objects, recognizes the first touch track in this display interface;
In comprising the display interface of a plurality of objects, when user wishes to choose at least two objects that are arranged in this display interface, can on touch-screen, input the first touch track conforming to a predetermined condition, and this electronic equipment can recognize the first touch track in this display interface, and then carry out follow-up processing.It should be noted that, this display interface that comprises a plurality of objects can be the display interface at a plurality of objects place, can certainly be selected object or the required display interface entering of edit object, and this is all rational.
Wherein, this object can comprise: file object, application icon object or shortcut icon object, be not limited to this, wherein certainly, this document object can comprise: slide file, photo files, word document or txt document, be not limited to this certainly.
S202, judges whether this first touch track is straight path, if so, and execution step S203; Otherwise, do not deal with;
When this electronic equipment recognizes the first touch track in this display interface, can judge whether this first touch track is straight path, and carry out different operations according to different judged results.Wherein, when judging this first touch track and be straight path, show that user wishes to choose at least two objects in this display interface, therefore, can perform step S203; And when judging this first touch track not for straight path, show that user does not wish to choose at least two objects in this display interface, and therefore, can not deal with, can certainly carry out other operations corresponding to this first touch track.
Wherein, judge that whether this first touch track is straight path, can comprise:
Judge this first touch track abscissa value or the ordinate value of a plurality of coordinate points of process whether all identical, or, this the first touch track from origin coordinates, put end coordinate point in a plurality of coordinate points of process abscissa value whether be linear growth or reduce, or, this the first touch track from origin coordinates, put end coordinate point in a plurality of coordinate points of process ordinate value whether be linear growth or reduce, when existing one to judgment result is that while being, show that this first touch track is straight path.
S203, determines at least two objects of this straight path process;
Wherein, when determining this first touch track and be straight path, can by viewing area, place, exist belong to this straight path the object of at least one coordinate points in a plurality of coordinate points of process be defined as the object of this straight path process.
S204, at least two determined objects are set to selected state.
Wherein, determine this straight path through at least two objects after, at least two objects that can be determined are set to selected state, thereby choose fast at least two objects in display interface.
For example, as shown in Figure 3, in display interface, there are object 1-object 14 these 14 objects, when user wishes selected object 3, object 6 and object 9, user can input the straight path through object 3, object 8 and object 9 on touch-screen, now, this electronic equipment, after recognizing this straight path, can be set to selected state by object 3, object 8 and object 9.
Visible, in this programme, user can choose at least two objects of this straight path process by input straight path in touch-screen type electronic equipment, therefore, can improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, thereby improve user's experience.
The curvilinear path for selected object preset take below as thering is radian and not closed curvilinear path is example, to the embodiment of the present invention provide a kind of in display interface the method for selected object be introduced.
It should be noted that, the embodiment of the present invention provide a kind of in display interface the method for selected object be applicable in touch-screen type electronic equipment.Wherein, in actual applications, this touch-screen type electronic equipment can be: touch-screen type mobile phone, panel computer etc.
As shown in Figure 4, a kind of in display interface the method for selected object, can comprise:
S301, in comprising the display interface of a plurality of objects, recognizes the first touch track in this display interface;
In comprising the display interface of a plurality of objects, when user wishes to choose at least two objects that are arranged in this display interface, can on touch-screen, input the first touch track conforming to a predetermined condition, and this electronic equipment can recognize the first touch track in this display interface, and then carry out follow-up processing.It should be noted that, this display interface that comprises a plurality of objects can be the display interface at a plurality of objects place, can certainly be selected object or the required display interface entering of edit object, and this is all rational.
Wherein, this object can comprise: file object, application icon object or shortcut icon object, be not limited to this, wherein certainly, this document object can comprise: slide file, photo files, word document or txt document, be not limited to this certainly.
S302, judges whether this first touch track is to have radian and not closed curvilinear path, if so, and execution step S303; Otherwise, do not deal with;
When this electronic equipment recognizes the first touch track in this display interface, can judge that whether this first touch track is to have radian and not closed curvilinear path, and carry out different operations according to different judged results.Wherein, when judging this first touch track, be, while thering is radian and not closed curvilinear path, to show that user wishes to choose at least two objects in this display interface, therefore, can perform step S303; And when judging this first touch track when thering is radian and not closed curvilinear path, show that user does not wish to choose at least two objects in this display interface, therefore, can not deal with, can certainly carry out other operations corresponding to this first touch track.
Wherein, judge that whether this first touch track is to have radian and not closed curvilinear path, can comprise:
Judge this first touch track whether there is the coordinate points that ordinate value is not identical in a plurality of coordinate points of process, and whether there is the coordinate points that abscissa value is not identical, and whether the abscissa value of putting end coordinate point from origin coordinates is not linear growth or reduces, and whether the ordinate value of putting end coordinate point from origin coordinates is not linear growth or reduces, and whether not successively through same coordinate points, when judged result is while being, show that this first touch track is to have radian and not closed curvilinear path.
S303, determines at least two objects with radian and not closed curvilinear path process;
Wherein, determining this first touch track, be while thering is radian and not closed curvilinear path, can by viewing area, place, exist belong to have radian and not closed curvilinear path the object of at least one coordinate points in a plurality of coordinate points of process be defined as having the object of radian and not closed curvilinear path process.
S304, at least two determined objects are set to selected state.
Wherein, determine have radian and not closed curvilinear path through at least two objects after, at least two objects that can be determined are set to selected state, thereby choose fast at least two objects in display interface.
For example, as shown in Figure 5, in display interface, there are object 1-object 14 these 14 objects, when user wishes selected object 9, object 10 and object 11, user can input on touch-screen has radian and a not closed curvilinear path through object 9, object 10 and object 11, now, this electronic equipment has after radian and not closed curvilinear path recognizing this, object 9, object 10 and object 11 can be set to selected state.
Visible, in this programme, user has radian and not closed curvilinear path by input in touch-screen type electronic equipment and can choose this to have at least two objects of radian and not closed curvilinear path process, therefore, can improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, thereby improve user's experience.
Take below the curvilinear path for selected object preset as closed type curvilinear path be example, to the embodiment of the present invention provide a kind of in display interface the method for selected object be introduced.
It should be noted that, the embodiment of the present invention provide a kind of in display interface the method for selected object be applicable in touch-screen type electronic equipment.Wherein, in actual applications, this touch-screen type electronic equipment can be: touch-screen type mobile phone, panel computer etc.
As shown in Figure 6, a kind of in display interface the method for selected object, can comprise:
S401, in comprising the display interface of a plurality of objects, recognizes the first touch track in this display interface;
In comprising the display interface of a plurality of objects, when user wishes to choose at least two objects that are arranged in this display interface, can on touch-screen, input the first touch track conforming to a predetermined condition, and this electronic equipment can recognize the first touch track in this display interface, and then carry out follow-up processing.It should be noted that, this display interface that comprises a plurality of objects can be the display interface at a plurality of objects place, can certainly be selected object or the required display interface entering of edit object, and this is all rational.
Wherein, this object can comprise: file object, application icon object or shortcut icon object, certainly be not limited to this wherein, this document object can comprise: slide file, photo files, word document or txt document, be not limited to this certainly.
S402, judges whether this first touch track is closed type curvilinear path, if so, and execution step S403; Otherwise, do not deal with;
When this electronic equipment recognizes the first touch track in this display interface, can judge whether this first touch track is closed type curvilinear path, and carry out different operations according to different judged results.Wherein, when judging this first touch track and be closed type curvilinear path, show that user wishes to choose at least two objects in this display interface, therefore, can perform step S403; And when judging this first touch track not for closed type curvilinear path, show that user does not wish to choose at least two objects in this display interface, and therefore, can not deal with, can certainly carry out other operations corresponding to this first touch track.
Wherein, judge that whether this first touch track meets closed type curvilinear path, can comprise:
Judge this first touch track a plurality of coordinate points of process whether successively through same coordinate points, when judgment result is that, be to show that this first touch track is closed type curvilinear path.
S403, determines that this closed type curvilinear path forms at least two objects shown in region;
When judging this first touch track and be closed type curvilinear path, can belong to object that this closed type curvilinear path forms at least one coordinate points in a plurality of coordinate points in region and be defined as this closed type curvilinear path and form object shown in region existing in viewing area, place.
S404, at least two determined objects are set to selected state.
Wherein, determining this closed type curvilinear path in forming region after shown at least two objects, at least two objects that can be determined are set to selected state, thereby choose fast at least two objects in display interface.
For example, as shown in Figure 7, in display interface, there are object 1-object 14 these 14 objects, when user wishes selected object 6, object 7, object 10 and object 11, user can input the form closed type curvilinear path that region comprises shown object 6, object 7, object 10 and object 11 on touch-screen, now, this electronic equipment, after recognizing this closed type curvilinear path, can be set to selected state by object 6, object 7, object 10 and object 11.
Visible, in this programme, user by touch-screen type electronic equipment, input closed type curvilinear path can choose this closed type curvilinear path form region at least two shown objects, therefore, can improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, thereby improve user's experience.
Corresponding to said method embodiment, the embodiment of the present invention also provide a kind of in display interface the device of selected object, be applicable in touch-screen type electronic equipment, as shown in Figure 8, described device can comprise:
Track identification module 810, for comprising the display interface of a plurality of objects, recognizes the first touch track in described display interface;
Judge module 820, for judging whether described the first touch track is the curvilinear path for selected object of presetting;
Object determination module 830, for when judging described the first touch track for the default curvilinear path for selected object, determines at least two objects that described the first touch track is associated;
Object selected module 840, at least two objects associated for described the first touch track are set to selected state.
In the embodiment of the present invention, during the first touch track in recognizing the display interface that is comprising a plurality of objects, judge whether this first touch track is the curvilinear path for selected object of presetting, and judgment result is that be in the situation that, determine at least two objects that this first touch track is associated, and then at least two associated objects of this first touch track are set to selected state.Visible, in this programme, user can choose by input qualified curvilinear path in touch-screen type electronic equipment at least two objects that are associated with curvilinear path, therefore, can improve the efficiency of choosing at least two objects in display interface in touch-screen type electronic equipment, thereby improve user's experience.
Wherein, described judge module 820, can comprise:
The first judging unit, for judging whether described the first touch track is straight path;
Described object determination module 830, can comprise:
The first object determining unit, for when judging described the first touch track and be straight path, determines at least two objects of described straight path process.
Wherein, described judge module 820, can comprise:
The second judging unit, for judging whether described the first touch track is to have radian and not closed curvilinear path;
Described object determination module 830, can comprise:
Second object determining unit, for being while having radian and not closed curvilinear path when judging described the first touch track, has at least two objects of radian and not closed curvilinear path process described in determining.
Wherein, described judge module 820, can comprise:
The 3rd judging unit, for judging whether described the first touch track is closed type curvilinear path;
Described object determination module 830, can comprise:
The 3rd object determining unit, for when judging described the first touch track and be closed type curvilinear path, determines that described closed type curvilinear path forms at least two objects shown in region.
Further, described in display interface the device of selected object can also comprise:
The second touch track identification module, for recognizing the second touch track at described display interface;
The second touch track processing module, for meeting defaultly when cancelling the curvilinear path of choosing when judging described the second touch track, reverts to non-selected state by least two the associated objects of described the first touch track that are set to selected state.
For system embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.