CN104516723A - Widget processing method and device - Google Patents

Widget processing method and device Download PDF

Info

Publication number
CN104516723A
CN104516723A CN201310445514.3A CN201310445514A CN104516723A CN 104516723 A CN104516723 A CN 104516723A CN 201310445514 A CN201310445514 A CN 201310445514A CN 104516723 A CN104516723 A CN 104516723A
Authority
CN
China
Prior art keywords
display
window
window parts
parts
class name
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.)
Granted
Application number
CN201310445514.3A
Other languages
Chinese (zh)
Other versions
CN104516723B (en
Inventor
张博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310445514.3A priority Critical patent/CN104516723B/en
Publication of CN104516723A publication Critical patent/CN104516723A/en
Application granted granted Critical
Publication of CN104516723B publication Critical patent/CN104516723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a widget processing method and device, and belongs to the field of terminal equipment. The method comprises the following steps: acquiring a movement track of a first widget when a movement instruction of the first widget is detected; acquiring a display item of the first widget and a display item of a second widget when determining the overlapping area of the first widget and the second widget is greater than a preset threshold value according to the movement track and display parameters of the first widget and display parameters of the second widget; generating a third widget according to the display item of the first widget and the display item of the second widget, wherein the display item of the third widget comprises the display item of the first widget and the display item of the second widget; displaying the third widget. Through overlapping of the widgets, the operation of a user is facilitated, and the practicability of a mobile terminal is improved.

Description

Window member disposal route and device
Technical field
The present invention relates to field of terminal equipment, particularly a kind of window member disposal route and device.
Background technology
Along with the development of mobile terminal, the operating system be applied on mobile terminal is also thereupon fast-developing, and the display of the multipad of operating system and window also more and more gets more and more people's extensive concerning, especially the application of window member, be not only user and provide more function, but also add a lot of enjoyment for user.
For desktop, the display space of desktop is limited, and window member area occupied is usually comparatively large, therefore, on same desktop, and can only the limited window member of layout.And if desktop has been covered with window member, and when there is no unnecessary display space, if user also wants to add window member, then cannot realize, if deleted mounted window member, then will give up some functions, reduce the practicality of mobile terminal, the dirigibility of desktop layouts is lower.
Summary of the invention
In order to improve the dirigibility of desktop layouts, embodiments provide a kind of window member disposal route and device.Described technical scheme is as follows:
First aspect, provide a kind of window member disposal route, described method comprises:
When the move of first window parts being detected, obtain the motion track of described first window parts;
When according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the display items display of described first window parts and the display items display of described Second Window parts, the display items display of described first window parts is mapped in the first business interface, and the display items display of described Second Window parts is mapped in the second business interface;
According to the display items display of described first window parts and the display items display of described Second Window parts, generate the 3rd window member, the display items display of described 3rd window member comprises the display items display of described first window parts and the display items display of described Second Window parts;
Show described 3rd window member.
Alternatively, before obtaining the display items display of described first window parts and the display items display of described Second Window parts, described method also comprises:
When according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the class name of described first window parts and the class name of described Second Window parts;
Judge that whether the class name of described first window parts is identical with the class name of Second Window parts;
When the class name of described first window parts is not identical with the class name of Second Window parts, judge whether the class name of described first window parts and the class name of Second Window parts meet preset rules;
Correspondingly, the display items display of the display items display and described Second Window parts that obtain described first window parts comprises:
When the class name of described first window parts and the class name of Second Window parts meet preset rules, obtain the display items display of described first window parts and the display items display of described Second Window parts.
Alternatively, described method also comprises:
Delete described first window parts and described Second Window parts.
Alternatively, described method also comprises:
When the class name of described first window parts is identical with the class name of Second Window parts, display error message, described error message can not superpose for pointing out described first window parts and Second Window parts.
Alternatively, when the prefix of the prefix of the class name of described first window parts or suffix and the class name of Second Window parts or suffix identical time, then the class name of described first window parts and the class name of Second Window parts meet described preset rules.
Alternatively, described method also comprises:
When detecting that two contact points carry out slide round about on the 4th window member, obtain the display items display of described window member;
According to the business interface that the display items display of described 4th window member maps, display items display identical or similar for business interface is split out, obtains organizing display items display more;
According to often organizing display items, generating a window member, obtaining multiple window member;
Show described multiple window member.
Alternatively, described method also comprises:
Delete described 4th window member.
Alternatively, described method also comprises:
When desktop does not have room, display reminding information, the window member in desktop superposes for pointing out user by described information.
Second aspect, provides a kind of window member treating apparatus, and described application of installation is in an electronic equipment, and described device comprises:
Motion track acquisition module, for when the move of first window parts being detected, obtains the motion track of described first window parts;
Display items display acquisition module, for working as according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the display items display of described first window parts and the display items display of described Second Window parts, the display items display of described first window parts is mapped in the first business interface, and the display items display of described Second Window parts is mapped in the second business interface;
Window member generation module, for according to the display items display of described first window parts and the display items display of described Second Window parts, generate the 3rd window member, the display items display of described 3rd window member comprises the display items display of described first window parts and the display items display of described Second Window parts;
Display module, for showing described 3rd window member.
Alternatively, described device also comprises:
Class name acquisition module, for working as according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the class name of described first window parts and the class name of described Second Window parts;
First judge module, whether the class name for the class name with Second Window parts that judge described first window parts is identical;
Second judge module, also for when the class name of described first window parts is not identical with the class name of Second Window parts, judges whether the class name of described first window parts and the class name of Second Window parts meet preset rules;
Correspondingly, described display items display acquisition module, also for meeting preset rules when the class name of described first window parts and the class name of Second Window parts, obtains the display items display of described first window parts and the display items display of described Second Window parts.
Alternatively, described device also comprises:
Removing module, for deleting described first window parts and described Second Window parts.
Alternatively, described display module, also for when the class name of described first window parts is identical with the class name of Second Window parts, display error message, described error message can not superpose for pointing out described first window parts and Second Window parts.
Alternatively, described second judge module, also for the prefix of the prefix of the class name when described first window parts or suffix and the class name of Second Window parts or suffix identical time, then the class name of described first window parts and the class name of Second Window parts meet described preset rules.
Alternatively, described display items display acquisition module, also for when detecting that two contact points carry out slide round about on the 4th window member, obtains the display items display of described window member;
Described device also comprises: display items display splits module, for the business interface mapped according to the display items display of described 4th window member, splits out, obtain organizing display items display more by display items display identical or similar for business interface;
Described window member generation module, also for according to often organizing display items, generating a window member, obtaining multiple window member;
Described display module, also for showing described multiple window member.
Alternatively, described removing module, also for deleting described 4th window member.
Alternatively, described display module, also for when desktop does not have room, display reminding information, the window member in desktop superposes for pointing out user by described information.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Detect that first window parts move by working as, and the overlapping area determining between these first window parts and Second Window parts is when being greater than predetermined threshold value, obtain the display items display of these first window parts and the display items display of these Second Window parts, electronic equipment is according to the display items display of two window members, generate the 3rd window member, and delete first window parts and Second Window parts, to obtain more desktop display space, simultaneously the method only needs user to move on a window member to another window member just can to realize the change of viewing area and the change of concrete function, thus improve the practicality of mobile terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of window member process flow figure that the embodiment of the present invention provides;
Fig. 2 is a kind of window member process flow figure that the embodiment of the present invention provides;
Fig. 3 a is a kind of window member display schematic diagram;
Fig. 3 b is a kind of window member display schematic diagram;
Fig. 4 is a kind of window member process flow figure that the embodiment of the present invention provides;
Fig. 5 is a kind of window member treating apparatus structural representation that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is a kind of window member process flow figure that the embodiment of the present invention provides.See Fig. 1, the executive agent of this embodiment is electronic equipment, and the method comprises:
101, when the move of first window parts being detected, the motion track of these first window parts is obtained;
102, when according to the motion track of these first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between these first window parts and this Second Window parts is greater than predetermined threshold value, obtain the display items display of these first window parts and the display items display of these Second Window parts, the display items display of these first window parts is mapped in the first business interface, and the display items display of these Second Window parts is mapped in the second business interface;
103, according to the display items display of these first window parts and the display items display of these Second Window parts, generate the 3rd window member, the display items display of the 3rd window member comprises the display items display of these first window parts and the display items display of these Second Window parts;
104, the 3rd window member is shown.
The method that the embodiment of the present invention provides, detect that first window parts move by working as, and the overlapping area determining between these first window parts and Second Window parts is when being greater than predetermined threshold value, obtain the display items display of these first window parts and the display items display of these Second Window parts, electronic equipment is according to the display items display of two window members, generate the 3rd window member, thus improve the practicality of mobile terminal.Simultaneously the method only needs user to move on a window member to another window member just the function of window member to be combined, and changes the display of window, improves the dirigibility of desktop layouts.
Fig. 2 is a kind of window member process flow figure that the embodiment of the present invention provides.See Fig. 2, the executive agent of this embodiment is electronic equipment, and the method flow process comprises:
201, when electronic equipment detects the move of first window parts, the motion track of these first window parts is obtained;
Particularly, when according to the inductor of himself, electronic equipment detects that first window parts move, electronic equipment, according to this move, gets the motion track of these first window parts.
This moves the length can pointed on the touch-screen of electronic equipment by user and triggers by operation and drag operation, this motion track namely refer to finger on the touchscreen pull track, electronic equipment can pull track along what point, draw this first window parts, to present the effect of these first window parts along with the action movement on the touchscreen of finger.
202, when electronic equipment is according to the display parameter of the motion track of these first window parts and display parameter and Second Window parts, when the overlapping area determining between these first window parts and this Second Window parts is greater than predetermined threshold value, obtain the class name of these first window parts and the class name of these Second Window parts;
Wherein, the display parameter of Second Window parts can be known in advance by electronic equipment, and each window member all has display parameter, can determine this window member display position on the touchscreen by these display parameter.
Such represents the applicating category belonging to this window member.This applicating category can comprise multiple, and as weather class, time class, the contact mankind etc., and each classification can include and belongs to such other multiple application, as weather class can comprise multiple application of weather.
Whether electronic equipment is according to the display parameter of the motion track of these first window parts and these first window parts, and the display parameter of Second Window parts, judge to have between these first window parts with these Second Window parts overlapping.Have overlapping between these first window parts with these Second Window parts, and when this overlapping area is greater than predetermined threshold value, electronic equipment obtain the class name of these first window parts and the class name of these Second Window parts.Do not have overlapping between these first window parts with these Second Window parts or have overlapping between these first window parts with these Second Window parts, but when this overlapping area is less than this predetermined threshold value, these first window parts are maybe moved to the final position of this motion track by these first window parts position returned before these first window parts do not move.
It should be noted that, this predetermined threshold value can be arrange in exploitation by technician, and also can be user adjusts in the process used, and the size of the embodiment of the present invention to this predetermined threshold value does not limit.This predetermined threshold value can be specifically first window parts display area half, also can be Second Window parts display area three/second-class.
203, electronic equipment judges that whether the class name of these first window parts is identical with the class name of Second Window parts;
If so, step 208 is performed;
If not, step 204 is performed.
Due to the embodiment of the present invention be in order to by two functions to some extent difference window member combination, with the combination of practical function, therefore, in embodiments of the present invention, when class name is identical, the function class of these two window members realizations is described seemingly, therefore these two window members can not be superimposed as a window member, then perform step 208.And in another embodiment provided by the invention, can also be when class name is identical, think that two window members can superpose, to avoid occurring desktop there are two functionally similar window members, by by these two window member superpositions, the waste to desk-top space can be avoided.
204, when the class name of these first window parts is not identical with the class name of Second Window parts, electronic equipment judges whether the class name of these first window parts and the class name of Second Window parts meet preset rules;
If so, step 205 is performed;
If not, step 208 is performed.
The class name of window member comprises prefix and suffix, by first window parts and the class name prefix of Second Window parts or the judgement of suffix, can know whether the class name of these first window parts and the class name of Second Window parts meet preset rules.Particularly, when the class name prefix of first window parts and Second Window parts or suffix identical time, determine that the class name of these first window parts and the class name of Second Window parts meet preset rules; When the class name prefix of first window parts and Second Window parts or suffix not identical time, determine that the class name of these first window parts and the class name of Second Window parts do not meet preset rules.
It should be noted that, this preset rules can also have other forms, and the combination according to the field in class name or prefix suffix judges, the embodiment of the present invention does not do concrete restriction to this.
205, when the class name of these first window parts and the class name of Second Window parts meet preset rules, electronic equipment obtains the display items display of these first window parts and the display items display of these Second Window parts, the display items display of these first window parts is mapped in the first business interface, and the display items display of these Second Window parts is mapped in the second business interface;
Particularly, when electronic equipment judges according to the class name of preset rules to the class name of these first window parts and Second Window parts, determine the prefix of the prefix of the class name of these first window parts or suffix and the class name of Second Window parts or suffix identical time, electronic equipment obtains the display items display of these first window parts and the display items display of these Second Window parts.
Wherein, first business interface and the second business interface are the interface of the server mapped mutually with first window parts and Second Window parts respectively, even first window parts are weather class window member, the display items display of these first window parts can comprise weather temperature, current weather conditions, current geographic position etc., and namely the first business interface that these first window parts are corresponding can be the interface that these first window parts are connected with weather server.Electronic equipment is communicated with weather server by this interface, so that upgrade the display items display of window member corresponding to this interface.
It should be noted that, this display items display can comprise project corresponding with the class name of window member, as window member belong to time class time, the display items display of this window member can comprise current time, current time zone, current geographic position etc.
206, electronic equipment is according to the display items display of the display items display of these first window parts and these Second Window parts, generate the 3rd window member, the display items display of the 3rd window member comprises the display items display of these first window parts and the display items display of these Second Window parts;
Particularly, after electronic equipment gets the display items display of first window parts and the display items display of these Second Window parts, according to the display items display of these two window members, these first window parts and this Second Window parts can be superposed, obtain the 3rd window member.Wherein, the display items display of the 3rd window member comprises the display items display of these first window parts and the display items display of these Second Window parts, and the area that the 3rd window member takies desktop display space is not more than the area sum that first window parts and Second Window parts take desktop display space.
207, electronic equipment shows the 3rd window member, terminates;
Particularly, when electronic equipment superposes first window parts and Second Window parts, when generating the 3rd window member, electronic equipment by the 3rd window member display on the table.
It should be noted that, electronic equipment, while display the 3rd window member, can delete these first window parts and these Second Window parts, to save the display space of electronic equipment.Certainly, electronic equipment is when showing the 3rd window member, can also continue to show these first window parts and Second Window parts, namely show first window parts, Second Window parts and the 3rd window member on an electronic device, the embodiment of the present invention whether shows first window parts on the table to electronic equipment after window superposition and Second Window parts do not limit simultaneously.
With electronic equipment while display the 3rd window member, deleting these first window parts with these Second Window parts is that example is illustrated.Such as Fig. 3 a and Fig. 3 b are a kind of window member display schematic diagram.See Fig. 3 a and Fig. 3 b, when first window parts are weather class window member, when Second Window parts are time class window member, as shown in Figure 3 a, two window members generate the 3rd window member can think weather and time window parts, now electronic equipment deletes weather class window member and time class window member, shows weather and time window parts on the table, as shown in Figure 3 b simultaneously.
208, electronic equipment display error message, this error message can not superpose for pointing out these first window parts and Second Window parts.
Particularly, when electronic equipment determines that the class name of these first window parts is identical with the class name of Second Window parts, the display items display comprised due to other window member of same class is identical or similar, for this kind of situation, consider practical significance when two other window members of same class superpose and necessity, the embodiment of the present invention is not being undertaken superposing processing by these first window parts and Second Window parts, and namely output error message points out these first window parts of user and Second Window parts not to superpose by electronic equipment.
Certainly, for the situation that the class name of these first window parts is identical with the class name of Second Window parts, electronic equipment also can superpose two window members, generates new window member, namely as the process of step 206.
It should be noted that, first window parts in step 201-step 208 and Second Window parts may not be single window member, also the window member after superposition can be through, be through weather class window member as first window parts and time class window member superposes the weather and time window parts that obtain, and Second Window parts are contact mankind window members.
Above step 201-step 208 is that user moves the process of first window parts to Second Window parts carrying out two window superpositions, but, when desktop comprising a window member, when user adds new window member to desktop again, whether the window member that electronic equipment also can point out user newly to add superposes with the window member on desktop, if user wants to superpose two window members, then electronic equipment obtains the class name of two window members, performs the process of step 203-step 208.
When user is adding new window member to desktop, when desktop does not but have a room, electronic equipment display reminding information, window member in desktop superposes for pointing out user by this information, reduce the display space shared by window member on current desktop, so that add new window member.
Step 201-step 208 is processes that user superposes two window members, but, when electronic equipment detects that two contact points carry out slide round about on window member, the process that electronic equipment will perform as step 401-step 404:
401, when electronic equipment detects that two contact points carry out slide round about on the 4th window member, the display items display of this window member is obtained;
Particularly, when the inductor of electronic equipment has detected that two contact points are positioned on the 4th window member, and when the distance that these two contact points slide in the opposite direction is greater than predetermined threshold value, electronic equipment obtains the display items display of the 4th window member.
Wherein, two contact points slide in the opposite direction and refer to that in two contact points, a contact point slides left, and another contact point slides to the right simultaneously; Or two contact points slide in the opposite direction and refer to a contact point upward sliding in two contact points, another contact point slide downward etc. simultaneously.
It should be noted that, this predetermined threshold value can be arranged when developing by technician, and also can be adjusted in the process used by user, this predetermined threshold value is specifically as follows 2 centimetres, 15 millimeters etc., and the setting of the embodiment of the present invention to predetermined threshold value does not limit.
402, the business interface that maps according to the display items display of the 4th window member of electronic equipment, splits out by display items display identical or similar for business interface, obtains organizing display items display more;
Particularly, after electronic equipment obtains the display items display of the 4th window member, according to the business interface that the display items display of this window member maps, 4th window member is split, display items display identical or similar for business interface is split out from the display items display of the 4th window member, thus obtains organizing display items display more.
Such as, when the display items display of the 4th window member comprises current time, date, current temperature, weather conditions, during current geographic position etc., the business interface mapped from display items display splits the 4th window member, namely when display items display is current time and date etc., the business interface that this display items display maps is the interface that time server is corresponding, display items display is current temperature, weather conditions, during current geographic position etc., the business interface that this display items display maps is the interface that weather server is corresponding, according to business interface, the display items display of the 4th window member is split, obtain display items display and the current temperature of current time and date composition, weather conditions, the display items display of current geographic position composition.
403, electronic equipment is according to often organizing display items display, generates a window member, obtains multiple window member;
Particularly, electronic equipment is according to the many groups display items display obtained, search in electronic equipment the class name of the window member comprising display items display, to often organize the class name of the corresponding window member of display items display, in the classification of corresponding window member, according to often organizing display items display, obtain the window member comprising this display items display.
Based on the example of step 402, when electronic equipment obtain current time and the date composition display items display and current temperature, weather conditions, current geographic position composition display items display time, electronic equipment can determine that the display items display of current time and date composition belongs to the display items display that time class window member comprises, the display items display that current temperature, weather conditions, current geographic position form belongs to the display items display that weather class window member comprises, therefore, electronic equipment obtains time class window member and weather class window member.
404, electronic equipment shows the plurality of window member.
Particularly, after electronic equipment gets multiple window member, the multiple window members got are shown on the table by the display space that electronic equipment is vacant according to current desktop.
It should be noted that, electronic equipment obtains the plurality of window member, and when showing the plurality of window member on the table, electronic equipment can delete the 4th window member, also can the 4th window member be retained on desktop, namely electronic equipment shows the plurality of window member and the 4th window member on the table simultaneously, after the embodiment of the present invention splits window member, whether desktop shows the 4th window member and does not limit.
The plurality of window member is shown on the table to electronic equipment, and delete the situation of the 4th window member, based on the example of step 403, when electronic equipment obtains time class window member and weather class window member, delete the 4th window member, and show the time class window member and weather class window member that obtain on the table; And concerning electronic equipment shows the situation of the plurality of window member and the 4th window member on the table simultaneously, based on the example of step 403, when electronic equipment obtains time class window member and weather class window member, electronic equipment shows the time class window member and weather class window member that obtain on the table, shows the 4th window member simultaneously.
The method that the embodiment of the present invention provides, detect that first window parts move by working as, and the overlapping area determining between these first window parts and Second Window parts is when being greater than predetermined threshold value, obtain the display items display of these first window parts and the display items display of these Second Window parts, electronic equipment is according to the display items display of two window members, generate the 3rd window member, thus improve the practicality of mobile terminal.Simultaneously the method only needs user to move on a window member to another window member just the function of window member to be combined, and changes the display of window, improves the dirigibility of desktop layouts.Further, if desktop has been covered with window member, and when there is no unnecessary display space, if when user also wants to add window member, user by these first window parts and these Second Window parts, can generate the 3rd window member, make user can continue to add new window parts, also do not need to add new window parts by deleting the mode of window member, the aspect operation of user, improves the practicality of mobile terminal and the dirigibility of desktop layouts.Meanwhile, when electronic equipment detects that two contact points be positioned on window member slide round about, electronic equipment carries out fractured operation to this window member, thus makes the layout of desktop more flexible.
Fig. 5 is a kind of window member treating apparatus structural representation that the embodiment of the present invention provides.See Fig. 3, this application of installation is in an electronic equipment, and this device comprises: motion track acquisition module 501, display items display acquisition module 502, window member generation module 503 and display module 504.Wherein, motion track acquisition module 501, for when the move of first window parts being detected, obtains the motion track of these first window parts, motion track acquisition module 501 is connected with display items display acquisition module 502, display items display acquisition module 502, for working as according to the motion track of these first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between these first window parts and this Second Window parts is greater than predetermined threshold value, obtain the display items display of these first window parts and the display items display of these Second Window parts, the display items display of these first window parts is mapped in the first business interface, the display items display of these Second Window parts is mapped in the second business interface, display items display acquisition module 502 is connected with window member generation module 503, window member generation module 503, for according to the display items display of these first window parts and the display items display of these Second Window parts, generate the 3rd window member, the display items display of the 3rd window member comprises the display items display of these first window parts and the display items display of these Second Window parts, window member generation module 503 is connected with display module 504, display module 504, for showing the 3rd window member.
Alternatively, this device also comprises:
Class name acquisition module, for working as according to the motion track of these first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between these first window parts and this Second Window parts is greater than predetermined threshold value, obtain the class name of these first window parts and the class name of these Second Window parts;
First judge module, for judging that whether the class name of these first window parts is identical with the class name of Second Window parts;
Second judge module, also for when the class name of these first window parts is not identical with the class name of Second Window parts, judges whether the class name of these first window parts and the class name of Second Window parts meet preset rules;
Correspondingly, this display items display acquisition module 502, also for meeting preset rules when the class name of these first window parts and the class name of Second Window parts, obtains the display items display of these first window parts and the display items display of these Second Window parts.
Alternatively, this device also comprises:
Removing module, for deleting these first window parts and these Second Window parts.
Alternatively, this display module 504, also for when the class name of these first window parts is identical with the class name of Second Window parts, display error message, this error message can not superpose for pointing out these first window parts and Second Window parts.
Alternatively, this second judge module, also for the prefix of the prefix of the class name when these first window parts or suffix and the class name of Second Window parts or suffix identical time, then the class name of these first window parts and the class name of Second Window parts meet this preset rules.
Alternatively, this display items display acquisition module 502, also for when detecting that two contact points carry out slide round about on the 4th window member, obtains the display items display of this window member;
This device also comprises: display items display splits module, for the business interface mapped according to the display items display of the 4th window member, splits out by display items display identical or similar for business interface, obtains organizing display items display more;
This window member generation module 503, also for according to often organizing display items, generating a window member, obtaining multiple window member;
This display module 504, also for showing the plurality of window member.
Alternatively, this removing module, also for deleting the 4th window member.
Alternatively, this display module 504, also for when desktop does not have room, display reminding information, the window member in desktop superposes for pointing out user by this information.
In sum, by working as, the embodiment of the present invention detects that first window parts move, and the overlapping area determining between these first window parts and Second Window parts is when being greater than predetermined threshold value, obtain the display items display of these first window parts and the display items display of these Second Window parts, electronic equipment is according to the display items display of two window members, generate the 3rd window member, thus improve the practicality of mobile terminal.Simultaneously the method only needs user to move on a window member to another window member just the function of window member to be combined, and changes the display of window, improves the dirigibility of desktop layouts.
It should be noted that: the window member treating apparatus that above-described embodiment provides is when carrying out the process of window member, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by electronic equipment is divided into different functional modules, to complete all or part of function described above.In addition, the window member treating apparatus that above-described embodiment provides and window member disposal route embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. a window member disposal route, is applied to an electronic equipment, it is characterized in that, described method comprises:
When the move of first window parts being detected, obtain the motion track of described first window parts;
When according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the display items display of described first window parts and the display items display of described Second Window parts, the display items display of described first window parts is mapped in the first business interface, and the display items display of described Second Window parts is mapped in the second business interface;
According to the display items display of described first window parts and the display items display of described Second Window parts, generate the 3rd window member, the display items display of described 3rd window member comprises the display items display of described first window parts and the display items display of described Second Window parts;
Show described 3rd window member.
2. method according to claim 1, is characterized in that, before obtaining the display items display of described first window parts and the display items display of described Second Window parts, described method also comprises:
When according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the class name of described first window parts and the class name of described Second Window parts;
Judge that whether the class name of described first window parts is identical with the class name of Second Window parts;
When the class name of described first window parts is not identical with the class name of Second Window parts, judge whether the class name of described first window parts and the class name of Second Window parts meet preset rules;
Correspondingly, the display items display of the display items display and described Second Window parts that obtain described first window parts comprises:
When the class name of described first window parts and the class name of Second Window parts meet preset rules, obtain the display items display of described first window parts and the display items display of described Second Window parts.
3. method according to claim 2, is characterized in that, described method also comprises:
When the class name of described first window parts is identical with the class name of Second Window parts, display error message, described error message can not superpose for pointing out described first window parts and Second Window parts.
4. method according to claim 2, it is characterized in that, when the prefix of the prefix of the class name of described first window parts or suffix and the class name of Second Window parts or suffix identical time, then the class name of described first window parts and the class name of Second Window parts meet described preset rules.
5. method according to claim 1, is characterized in that, described method also comprises:
Delete described first window parts and described Second Window parts.
6. method according to claim 1, is characterized in that, described method also comprises:
When detecting that two contact points carry out slide round about on the 4th window member, obtain the display items display of described window member;
According to the business interface that the display items display of described 4th window member maps, display items display identical or similar for business interface is split out, obtains organizing display items display more;
According to often organizing display items, generating a window member, obtaining multiple window member;
Show described multiple window member.
7. method according to claim 6, is characterized in that, described method also comprises:
Delete described 4th window member.
8. method according to claim 1, is characterized in that, described method also comprises:
When desktop does not have room, display reminding information, the window member in desktop superposes for pointing out user by described information.
9. a window member treating apparatus, described application of installation, in an electronic equipment, is characterized in that, described device comprises:
Motion track acquisition module, for when the move of first window parts being detected, obtains the motion track of described first window parts;
Display items display acquisition module, for working as according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the display items display of described first window parts and the display items display of described Second Window parts, the display items display of described first window parts is mapped in the first business interface, and the display items display of described Second Window parts is mapped in the second business interface;
Window member generation module, for according to the display items display of described first window parts and the display items display of described Second Window parts, generate the 3rd window member, the display items display of described 3rd window member comprises the display items display of described first window parts and the display items display of described Second Window parts;
Display module, for showing described 3rd window member.
10. device according to claim 9, is characterized in that, described device also comprises:
Class name acquisition module, for working as according to the motion track of described first window parts and the display parameter of display parameter and Second Window parts, when the overlapping area determining between described first window parts and described Second Window parts is greater than predetermined threshold value, obtain the class name of described first window parts and the class name of described Second Window parts;
First judge module, whether the class name for the class name with Second Window parts that judge described first window parts is identical;
Second judge module, also for when the class name of described first window parts is not identical with the class name of Second Window parts, judges whether the class name of described first window parts and the class name of Second Window parts meet preset rules;
Correspondingly, described display items display acquisition module, also for meeting preset rules when the class name of described first window parts and the class name of Second Window parts, obtains the display items display of described first window parts and the display items display of described Second Window parts.
11. devices according to claim 10, it is characterized in that, described display module, also for when the class name of described first window parts is identical with the class name of Second Window parts, display error message, described error message can not superpose for pointing out described first window parts and Second Window parts.
12. devices according to claim 10, it is characterized in that, described second judge module, also for the prefix of the prefix of the class name when described first window parts or suffix and the class name of Second Window parts or suffix identical time, then the class name of described first window parts and the class name of Second Window parts meet described preset rules.
13. devices according to claim 9, is characterized in that, described device also comprises:
Removing module, for deleting described first window parts and described Second Window parts.
14. devices according to claim 9, is characterized in that, described display items display acquisition module, also for when detecting that two contact points carry out slide round about on the 4th window member, obtain the display items display of described window member;
Described device also comprises: display items display splits module, for the business interface mapped according to the display items display of described 4th window member, splits out, obtain organizing display items display more by display items display identical or similar for business interface;
Described window member generation module, also for according to often organizing display items, generating a window member, obtaining multiple window member;
Described display module, also for showing described multiple window member.
15. devices according to claim 14, is characterized in that, described removing module, also for deleting described 4th window member.
16. devices according to claim 9, is characterized in that, described display module, and also for when desktop does not have room, display reminding information, the window member in desktop superposes for pointing out user by described information.
CN201310445514.3A 2013-09-26 2013-09-26 Window member processing method and processing device Active CN104516723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310445514.3A CN104516723B (en) 2013-09-26 2013-09-26 Window member processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310445514.3A CN104516723B (en) 2013-09-26 2013-09-26 Window member processing method and processing device

Publications (2)

Publication Number Publication Date
CN104516723A true CN104516723A (en) 2015-04-15
CN104516723B CN104516723B (en) 2018-11-09

Family

ID=52792091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310445514.3A Active CN104516723B (en) 2013-09-26 2013-09-26 Window member processing method and processing device

Country Status (1)

Country Link
CN (1) CN104516723B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016201929A1 (en) * 2015-06-19 2016-12-22 中兴通讯股份有限公司 Widget processing method and apparatus
CN108255560A (en) * 2018-01-12 2018-07-06 北京金堤科技有限公司 A kind of layout method of message box, device and user terminal
CN109669754A (en) * 2018-12-25 2019-04-23 苏州思必驰信息科技有限公司 The dynamic display method of interactive voice window, voice interactive method and device with telescopic interactive window

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017498A (en) * 2006-02-10 2007-08-15 三星电子株式会社 Method and apparatus for merging data objects
US20080163230A1 (en) * 2006-12-29 2008-07-03 Fernando Latorre Method and apparatus for selection among multiple execution threads
CN101344848A (en) * 2007-07-12 2009-01-14 辉达公司 Management of icons in a display interface
CN101739196A (en) * 2008-11-25 2010-06-16 富士施乐株式会社 Working space management method and working space management system
CN103064683A (en) * 2013-02-19 2013-04-24 福建榕基软件股份有限公司 Method and device for custom layout of multiple tabs under WEB environment
CN103116456A (en) * 2013-01-31 2013-05-22 北京奇虎科技有限公司 Device and method for achieving folder merging and intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017498A (en) * 2006-02-10 2007-08-15 三星电子株式会社 Method and apparatus for merging data objects
US20080163230A1 (en) * 2006-12-29 2008-07-03 Fernando Latorre Method and apparatus for selection among multiple execution threads
CN101344848A (en) * 2007-07-12 2009-01-14 辉达公司 Management of icons in a display interface
CN101739196A (en) * 2008-11-25 2010-06-16 富士施乐株式会社 Working space management method and working space management system
CN103116456A (en) * 2013-01-31 2013-05-22 北京奇虎科技有限公司 Device and method for achieving folder merging and intelligent terminal
CN103064683A (en) * 2013-02-19 2013-04-24 福建榕基软件股份有限公司 Method and device for custom layout of multiple tabs under WEB environment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016201929A1 (en) * 2015-06-19 2016-12-22 中兴通讯股份有限公司 Widget processing method and apparatus
CN106325836A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Window widget processing method and device
CN106325836B (en) * 2015-06-19 2020-09-15 中兴通讯股份有限公司 Window part processing method and device
CN108255560A (en) * 2018-01-12 2018-07-06 北京金堤科技有限公司 A kind of layout method of message box, device and user terminal
CN108255560B (en) * 2018-01-12 2021-06-22 北京金堤科技有限公司 Layout method and device of information frame and user terminal
CN109669754A (en) * 2018-12-25 2019-04-23 苏州思必驰信息科技有限公司 The dynamic display method of interactive voice window, voice interactive method and device with telescopic interactive window

Also Published As

Publication number Publication date
CN104516723B (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN104238877B (en) Control figure calibration method and terminal
US20150213145A1 (en) Web content management driven collaborative activities system and method
CN105518609A (en) Method and apparatus for providing multiple applications
CN106030487A (en) For controlling method and the electronic equipment thereof of the composition of screen
JP6265451B2 (en) Object management device, thinking support device, object management method, and program
CN104424359A (en) Electronic device and method for providing content according to field attribute
CN104951497A (en) Method and apparatus for constructing documents
CN107368511A (en) A kind of information displaying method and device
CN103235692A (en) Touch-screen device and method for touch-screen device to select target objects
WO2017172847A1 (en) Techniques to control notifications for content items in a collaboration platform
CN105700773A (en) Terminal device application icon moving method and apparatus
CN104932807A (en) Cursor positioning method and touch screen device
CN103605464A (en) Desktop application icon across-screen combination method
JP2016170613A (en) Conference support device, conference support system, conference support program and conference support method
CN105068777A (en) Display control method and electronic equipment
CN104461892A (en) User-defined control acquiring method and device
CN104516723A (en) Widget processing method and device
CN105843497A (en) Method for batch processing of desktop icons and mobile terminal
CN113126838A (en) Application icon sorting method and device and electronic equipment
CN105426055A (en) Moving method and device of terminal device application icons
CN105094653B (en) A kind of localization method and device of content of pages
CN103488424A (en) Method and device for displaying information
CN104731439A (en) Gesture packaging and task executing method and device
CN105892794A (en) Browser interface display method and device
CN107632748A (en) A kind of information processing method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant