CN103793137B - A kind of display methods and electronic equipment - Google Patents

A kind of display methods and electronic equipment Download PDF

Info

Publication number
CN103793137B
CN103793137B CN201410031945.XA CN201410031945A CN103793137B CN 103793137 B CN103793137 B CN 103793137B CN 201410031945 A CN201410031945 A CN 201410031945A CN 103793137 B CN103793137 B CN 103793137B
Authority
CN
China
Prior art keywords
interactive object
display location
display
interactive
location
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410031945.XA
Other languages
Chinese (zh)
Other versions
CN103793137A (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 CN201410031945.XA priority Critical patent/CN103793137B/en
Publication of CN103793137A publication Critical patent/CN103793137A/en
Application granted granted Critical
Publication of CN103793137B publication Critical patent/CN103793137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of display methods and electronic equipment, front end shows that interactive object can block other interactive objects in electronic equipment for solving present in prior art, causes for the technical problem that the operation of interactive object can not be responded correctly that is blocked.The display methods is applied to the electronic equipment with display unit, display unit can show the first interface, the first interactive object is shown on first interface, when overlapping with the second interactive object different from the first interactive object, the first interactive object is shown first interactive object in the front end of the second interactive object;This method includes:When electronic equipment shows the first interface, judge whether the display area of the first interactive object viewing area overlapping with the second interactive object and the ratio of the display area of the second interactive object are more than given threshold;If so, then the display location of the first interactive object is adjusted to the second display location different from the first current display location of the first interactive object.

Description

A kind of display methods and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of display methods and electronic equipment.
Background technology
At present, front end is provided with many electronic equipments and shows interactive object, i.e., front end when overlapping with other interactive objects The interactive object of display, such as the free and natural touch-control control in smart mobile phone, it is small that it is shown as a translucent suspension on screen Window, the rapid switches such as screen intensity, WIFI, bluetooth, GPS, mobile data are integrated with, are very easy to the day of user Often use;The and for example flow suspended window on notebook computer, user is allowed to know current data downstream transmission speed immediately Rate.
But in present inventor during the technical scheme of the embodiment of the present application is realized, at least find above-mentioned Following technical problem be present in prior art:
In the prior art, front end, which is shown, may have other interactions at the display location of interactive object on the display screen Object, such as desktop icons, the select button in, and these interactive objects are handed over due to being shown by the front end at same position Mutual object is blocked, and causes the operation for these interactive objects that are blocked correctly to be responded.
The content of the invention
The application provides a kind of display methods and electronic equipment, before solving present in prior art in electronic equipment End shows that interactive object can block other interactive objects, causes what the operation for the interactive object that is blocked can not be responded correctly Technical problem, realize electronic equipment and detecting that front end shows that interactive object blocks other interactive objects, influence for being hidden When the operation of gear interactive object correctly responds, adjust automatically front end interacts interactive object to the display location for meeting sets requirement Technique effect.
On the one hand the application provides a kind of display methods, applied to the electronic equipment with display unit, the display Unit can show the first interface, show the first interactive object on first interface, first interactive object with not Be same as first interactive object the second interactive object it is overlapping when, first interactive object is in second interactive object Front end shows, wherein, first interactive object is visual building block, and the visual building block can control application program to handle Data and interactive operation on the data;Methods described includes:When the electronic equipment shows first interface, Judge that first interactive object interacts with the display area of the overlapping viewing area of second interactive object with described second Whether the ratio of the display area of object is more than given threshold;The given threshold is more than or equal to 0 and less than 1;If so, then by institute The display location for stating the first interactive object is adjusted to second different from the first current display location of first interactive object Display location;Wherein, when first interactive object is shown in second display location, first interactive object with it is described The ratio of the display area of the overlapping viewing area of second interactive object and the display area of second interactive object is not more than The given threshold.
Preferably, the display for judging first interactive object with the overlapping viewing area of second interactive object Whether the ratio of area and the display area of second interactive object is more than given threshold, including:Obtain first interaction Current first display location of object, judges to whether there is second interactive object on first display location;Or Person obtains second interactive object currently the 3rd display location on the display unit, judges the 3rd display location It is upper to whether there is first interactive object;The display location by first interactive object is adjusted to different from described Second display location of the first current display location of one interactive object, including:By the display location of first interactive object Adjust to second display location that there is currently no second interactive object.
Preferably, first interactive object is provided with the first default display location and the second default display location, It is described by described the when in current first display location of first interactive object being first default display location The display location of one interactive object is adjusted to the second display different from the first current display location of first interactive object Position, including:Judge first interactive object when second default display location is shown, first interactive object with The ratio of the display area of the overlapping viewing area of second interactive object and the display area of second interactive object is It is no to be more than the given threshold;If being not more than, the display location of first interactive object is adjusted to the described second acquiescence Display location.
Preferably, when being provided with default display location for first interactive object, methods described also includes:Institute When stating the first interactive object currently without positioned at the default display location, judge that first interactive object is aobvious in the acquiescence When showing position display, the display area of first interactive object and the overlapping viewing area of second interactive object with it is described Whether the ratio of the display area of the second interactive object is more than the given threshold;If being not more than, by the described first interaction pair The display location of elephant is adjusted to the default display location.
On the other hand the embodiment of the present application provides a kind of electronic equipment, the display unit of the electronic equipment can show the One interface, the first interactive object is shown on first interface, first interactive object different from described first with handing over When second interactive object of mutual object is overlapping, first interactive object is shown in the front end of second interactive object, wherein, First interactive object is visual building block, and the visual building block can control the data of application program processing and on institute State the interactive operation of data;The electronic equipment includes:Judging unit, for showing first interface when the electronic equipment When, judge that first interactive object is handed over the display area of the overlapping viewing area of second interactive object with described second Whether the ratio of the display area of mutual object is more than given threshold;The given threshold is more than or equal to 0 and less than 1;Display location Adjustment unit, for when the judged result of the judging unit is is, the display location of first interactive object to be adjusted To the second display location for being different from the first current display location of first interactive object;Wherein, first interaction pair During as being shown in second display location, first interactive object and the overlapping viewing area of second interactive object The ratio of display area and the display area of second interactive object is not more than the given threshold.
Preferably, the judging unit includes:First judge module, the institute current for obtaining first interactive object The first display location is stated, judges to whether there is second interactive object on first display location;Or second judge mould Block, for obtaining threeth display location of second interactive object currently on the display unit, judge that the described 3rd is aobvious Show and whether there is first interactive object on position;The display location adjustment unit is specifically used for judging mould described first The judged result of block or second judge module is when being, the display location of first interactive object is adjusted to currently not Second display location of second interactive object be present.
Preferably, the position adjustment unit adjusts the display location of first interactive object to the described second display During position, if having the 3rd interactive object overlapping with first interactive object and the 3rd interactive object described first interaction The front end of object shows, then the display area of the 3rd interactive object and the overlapping region of first interactive object with it is described The ratio of the display area of first interactive object is not more than the given threshold.
Preferably, the display location adjustment unit includes:3rd judge module, for working as in first interactive object Preceding first display location is first default display location, the judged result of the judging unit is when being, to judge When second default display location is shown, first interactive object interacts pair first interactive object with described second Whether the ratio of the display area of the overlapping viewing area of elephant and the display area of second interactive object is more than the setting Threshold value;First display location adjusting module, for when the judged result of the 3rd judge module is no, described first to be handed over The display location of mutual object is adjusted to second default display location.
Preferably, the display location adjustment unit also includes:4th judge module, for for the described first interaction When object is provided with default display location, first interactive object currently without positioned at the default display location, institute is judged The first interactive object is stated when the default display location is shown, the weight of first interactive object and second interactive object Whether the ratio of the display area and the display area of second interactive object of folded viewing area is more than the given threshold;The Two display location adjusting modules, for the 4th judge module judged result for it is no when, by first interactive object Display location adjust to the default display location.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
Because in the embodiment of the present application, electronic equipment can show that interactive object blocks other interactions pair detecting front end As when influenceing user and being directed to the operation of the interactive object that is blocked, the first interactive object is adjusted to meeting sets requirement automatically The second display location, i.e., when described first interactive object is shown in second display location, first interactive object with The ratio of the display area of the overlapping viewing area of second interactive object and the display area of second interactive object is not More than the given threshold;And then solve present in prior art front end in electronic equipment and show that interactive object can block it His interactive object, cause, for the technical problem that the operation of interactive object can not be responded correctly that is blocked, to realize electronics and set It is standby when detecting that front end shows that interactive object blocks other interactive objects, adjust automatically front end show interactive object to not shadow The technique effect at the display location of his interactive object is rung, improves the usage experience of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the schematic flow sheet of the display methods in the embodiment of the present application 1;
Fig. 2A is the schematic diagram for the display location that the first interactive object is adjusted in the embodiment of the present application 1;
Fig. 2 B are another schematic diagram for the display location that the first interactive object is adjusted in the embodiment of the present application 1;
Fig. 3 is the schematic block diagram of the electronic equipment in the embodiment of the present application 2.
Embodiment
The application provides a kind of display methods and electronic equipment, before solving present in prior art in electronic equipment End shows that interactive object can block other interactive objects, causes what the operation for the interactive object that is blocked can not be responded correctly Technical problem.Technical scheme is described in detail below by accompanying drawing and specific embodiment, it should be understood that this Shen Specific features that please be in embodiment and embodiment are the detailed description to technical scheme, rather than to the application skill The restriction of art scheme, in the case where not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be mutually combined.
Embodiment 1
The embodiment of the present application 1 provides a kind of display methods, applied to the electronic equipment with display unit.Specifically, Electronic equipment can be smart mobile phone, tablet personal computer, notebook computer, intelligent television etc., display unit include LED display, LCD display, LED touch screen, LCD touch screen etc..The display unit can show the first interface, and is shown on the first interface One interactive object, the first interactive object is when overlapping with the second interactive object different from the first interactive object, the first interaction pair As being shown in the front end of second interactive object.
The embodiment of the present application introduces the concept of interactive object, and interactive object is a kind of basic visual building block, is included in In application program, the data that the program is handled and the interactive operation on these data are controlled;Interactive object include button, Slider bar, icon, suspended window etc..In the embodiment of the present application, when the first interactive object is overlapping with other interactive objects, Neng Gouqian Hold the interactive object of display, such as suspended window.That class that second interactive object is shown when being overlapping with other interactive objects in rear end Interactive object.And the first interface is the display interface for showing the first interactive object, the desktop, specific of operating system is specifically included Application Program Interface etc. show the interface that front end shows interactive object.
Fig. 1 is refer to, the display methods includes:
Step 10:When electronic equipment shows the first interface, judge that the first interactive object is overlapping with the second interactive object Whether the ratio of the display area of viewing area and the display area of the second interactive object is more than given threshold;The given threshold is big In equal to 0 and less than 1;If so, then perform step 20.
Step 20:The display location of first interactive object is adjusted to current different from first interactive object Second display location of the first display location;Wherein, it is described when first interactive object is shown in second display location First interactive object and the display area of the overlapping viewing area of second interactive object and showing for second interactive object Show that the ratio of area is not more than the given threshold.
Specifically, when electronic equipment shows the first interface with the first interactive object, the monitoring of electronic equipment connects Mouth can detect the display location for the first interactive object that front end is shown, and then judge whether the first interactive object blocks other interactions Object, influence the operation that user be directed to the user that is blocked;If it is judged that being yes, then the aobvious of the first interactive object is adjusted Show position, other interactive objects can not be user-operably because by the first blocking for interactive object.
The display methods of the embodiment of the present application is explained with instantiation below:
First, electronic equipment, can be by specific when showing the first interactive object that can block other interactive objects Monitor interface detect the first interactive object display location.Specifically include following two detection modes:
First, timing detection display location.That is, electronic equipment by it is corresponding with the first interactive object monitoring interface according to Set the display location of cycle the first interactive object of periodic detection.
Second, electronic equipment is additionally provided with monitoring interface, the change of display unit display content is monitored, is being detected in display When holding change, electronic equipment detects the display location of the first interactive object by monitoring interface corresponding with the first interactive object. In order to reduce system resources consumption, it is preferred that the change of display unit display content further includes desk interface switching, application interface is cut Change, the situation such as desktop icons are deleted, do not include the only situation such as change of display unit display brightness, color.
In a practical situation, the first friendship can be detected with reference to any or combination of the two in above two detection mode The display location of mutual object.
Then, electronic equipment can judge display of first interactive object with the overlapping viewing area of second interactive object Whether the ratio of area and the display area of second interactive object is more than given threshold.Here looked like comprising two layers, first, Whether overlapping with other interactive objects detect the first interactive object;Second, if overlapping, whether the two overlapping degree is beyond default Scope.In a practical situation, the specific implementation procedure of this step depend on " given threshold " specific value be also greater than equal to 0 0。
When the value of " given threshold " is 0, the judgment step in step 10 is exactly to judge that the first interactive object is in fact It is no with other interactive objects (the second interactive object is overlapping), as long as occur it is overlapping be carried out step 20, by the first interactive object Display location is adjusted to display location that will not be overlapping with other interactive objects.
And when working as the value of " given threshold " more than 0, the judgment step in step 10 is to judge the weight of the first interactive object Whether folded degree exceedes preset range, i.e. the display area of the first interactive object viewing area overlapping with the second interactive object with Whether the ratio of the display area of the second interactive object is more than given threshold.Display area only in overlapping viewing area account for by When the ratio of the second interactive object blocked is more than given threshold, the display location of the first interactive object is just adjusted.
Then, will when judged result demonstrates the need for being adjusted the display location of the first interactive object in step 10 The display location of first interactive object adjusts aobvious to second different from the first current display location of first interactive object Show position.
Fig. 2A is refer to, when given threshold is 0, corresponding be moved to the first interactive object there is currently no other friendships Second display location of mutual object (the second interactive object);
Refer to Fig. 2 B, when given threshold be more than 0 when, it is only necessary to by the display location of the first interactive object adjust to its The overlapping degree of his interactive object (the second interactive object) is less than the position of preset range, i.e., the first interactive object is described When second display location is shown, the display area of first interactive object and the overlapping viewing area of second interactive object It is not more than the given threshold with the ratio of the display area of second interactive object.
In actual applications, the operation row of other interactive objects beyond the first interactive object is directed in order to facilitate user For the second display location can be limited to the display location not overlapped, i.e. preferable, step 20 specifically performs:By The display location of one interactive object is adjusted to the second display location that there is currently no the second interactive object.
In the embodiment of the present application, adjusting the mode of the display location of the first interactive object includes:
Mode 1, translation
That is, the display location of the first interactive object is adjusted to the side of the up or down or left or right positioned at the first display location Upward satisfactory second display location.
Specifically, when adjusting the display location of the first interactive object by the way of translation, can preferably consider Carry out position adjustment on one direction, in this direction in the absence of satisfactory second display location when, consider further that another Direction.It whether there is satisfactory second display location on the up/down direction of current first display location as first detected, only When satisfactory second display location being not present in the up/down direction, then translated by left/right and adjust the first interactive object To satisfactory second display location.
In addition, when adjusting the display location of the first interactive object by the way of translation, can also consider simultaneously up and down Left and right four direction, the first interactive object is moved to the first current display location of distance is nearest satisfactory second to be shown Show position.
In a practical situation, satisfactory the is not present in rectilinear direction up and down in current first display location , it is necessary to which the first interactive object is adjusted to the satisfactory second display position of other positions on display unit during two display locations Put, such as move to the first interactive object positioned at the position in the current first display location lower left corner.
Because the interactive object of the central display area of display unit is more, and user is for the operation relatively frequency in the region It is numerous, it is preferred, therefore, that, the display location of the first interactive object is adjusted to satisfactory the of the left and right sides of display unit Two display locations, and then operation false touch of the user for the first interactive object is avoided to other interactive objects.
Mode 2, preferentially adjust to symmetric position
In the embodiment of the present application, the symmetric position of the first display location includes Central Symmetry position and axisymmetric position, i.e., First display location is with the center of display unit Central Symmetry position in a center of symmetry, and with the first display location to show list The central shaft of member is into axisymmetric axisymmetric position.
When adjusting the display location of the first interactive object, pay the utmost attention to be adjusted to pair of current first display location Claim position (Central Symmetry position or axisymmetric position);Satisfactory second display location is not present in above-mentioned symmetric position When, then the first interactive object is adjusted to satisfactory second display location of other positions.
Specifically, adjusting to the method for symmetric position includes:
Judge whether the symmetric position of current first display location meets the requirements, i.e., the first interactive object is in the symmetric position During display, first interactive object is handed over the display area of the overlapping viewing area of second interactive object with described second Whether the ratio of the display area of mutual object is more than the given threshold;
If being not more than, the display location of the first interactive object is adjusted to the symmetric position of the first display location;Otherwise, The display location of first interactive object is adjusted to (the second display position of satisfactory other positions on the display unit Put).
Mode 3, preferentially adjust to secondary default display location
Specifically, the default display location of different priorities is provided with for the first interactive object, it is high in priority When default display location does not meet sets requirement, the first interactive object to the secondary acquiescence for meeting sets requirement is preferentially shown into position Put.
Below to be provided with the first default display location and the second default display location, and first for the first interactive object It is silent to secondary to the first interactive object is adjusted exemplified by the first current display location of interactive object is the first default display location The mode for recognizing display location is explained.
First, shown in the first interactive object on the first default display location being presently in, judge the first interaction Object shows area and the display area of second interactive object with the overlapping viewing area of second interactive object When whether ratio has other interactive objects more than given threshold, judge whether the second default display location meets sets requirement, That is the first interactive object is when the second default display location is shown, the weight of first interactive object and second interactive object Whether the ratio of the display area and the display area of second interactive object of folded viewing area is more than the given threshold;
If being not more than, the display location of the first interactive object is adjusted to the second default display location;Otherwise, by described in The display location of first interactive object is adjusted to satisfactory other positions (the second display location) on the display unit.
To sum up, front end display interaction can detected by the display mode provided in the embodiment of the present application 1, electronic equipment Object blocks other interactive objects, influence user be directed to the interactive object that is blocked operation when, automatically by the first interactive object Adjust to the second display location for meeting sets requirement, i.e., when described first interactive object is shown in second display location, Display area and second interactive object of first interactive object with the overlapping viewing area of second interactive object The ratio of display area be not more than the given threshold;And then solve present in prior art that front end shows in electronic equipment Show that interactive object can block other interactive objects, cause for the technology that the operation of interactive object can not be responded correctly that is blocked Problem, electronic equipment is realized when detecting that front end shows that interactive object blocks other interactive objects, adjust automatically front end shows Show interactive object to the technique effect at the display location for not influenceing his interactive object, improve the usage experience of user.
In a practical situation, when judging whether that interactive object is overlapping, except judging that front end shows interactive object (first Interactive object) with the presence or absence of beyond the second interactive object, the interactive object that can also can be blocked by detecting each is worked as at place Front position shows interactive object with the presence or absence of front end.
I.e.:Current first display location of first interactive object is obtained, is judged on first display location With the presence or absence of second interactive object;Or
Threeth display location of second interactive object currently on the display unit is obtained, judges that the described 3rd is aobvious Show and whether there is first interactive object on position.
It can also be summarized simply as follows:The display location of each interactive object is obtained, and judges that the display location is currently It is no other interactive objects to be present.
A kind of problem being likely to occur in actual applications is:The display location of the first interactive object is adjusted in step 20 Afterwards, the first interactive object is likely located at the lower floor that another front end shows interactive object (the 3rd interactive object), i.e., the first interaction Object is blocked by the 3rd interactive object.In order to avoid in this case, the operation for the first interactive object can not correctly be rung Should, in the better embodiment of the application, to the display location after the first interactive object position adjustment --- the second display Position --- do as defined below:
When first interactive object is shown in second display location, if there is the 3rd interactive object to be handed over described first Mutual object is overlapping and the 3rd interactive object show in the front end of first interactive object, then the 3rd interactive object and The ratio of the display area of the overlapping region of first interactive object and the display area of first interactive object is not more than The given threshold.
In addition, present invention also provides another better embodiment, ensure the first interactive object in default display location In the case of meeting sets requirement, default display location is preferably displaying in, ensures the first interactive object as far as possible desired by user Position display.It is specific as follows:
First interactive object is provided with default display location, first interactive object currently without positioned at During the default display location, first interactive object is judged when the default display location is shown, first interaction Object shows area and the display area of second interactive object with the overlapping viewing area of second interactive object Whether ratio is more than the given threshold;
If being not more than, the display location of first interactive object is adjusted to the default display location.
When being provided with the default display location of multistage for the first interactive object, specific implementation includes:
First, only consider to reset for the position of highest-ranking first default display location.I.e. in the current first display When position is not the first default display location, judge whether meet sets requirement at the first default display location, will if meeting The display location of first interactive object is adjusted to the first default display location;Otherwise, do not adjust;
Second, consider that the position of multistage default display location resets.It is not the first acquiescence i.e. in current first display location During display location, judge whether meet sets requirement at the first default display location, if meeting, by the aobvious of the first interactive object Show position adjustment to the first default display location;If not meeting, judge that whether meeting setting at the second default display location wants Ask, if meeting, the display location of the first interactive object is adjusted to the second default display location;Otherwise, then consider that the 3rd is silent Recognize display location, by that analogy, wanted if all priority do not meet setting higher than the default display location of current display position Ask, then do not adjust the display location of the first interactive object.
Embodiment 2
Corresponding with embodiment 1, the embodiment of the present application 2 provides a kind of electronic equipment, the display unit energy of the electronic equipment Enough show the first interface, show the first interactive object on first interface, first interactive object with different from institute State the first interactive object the second interactive object it is overlapping when, first interactive object shows in the front end of second interactive object Show.Fig. 3 is refer to, electronic equipment includes:
Judging unit 10, for when the electronic equipment shows first interface, judging first interactive object With the ratio of the display area and the display area of second interactive object of the overlapping viewing area of second interactive object Whether given threshold is more than;The given threshold is more than or equal to 0 and less than 1;
Display location adjustment unit 20, for when the judged result of the judging unit is is, described first to be interacted The display location of object is adjusted to the second display location different from the first current display location of first interactive object;Its In, when first interactive object is shown in second display location, first interactive object interacts pair with described second The ratio of the display area of the overlapping viewing area of elephant and the display area of second interactive object is not more than the setting threshold Value.
The electronic equipment provided in the embodiment of the present application can show that interactive object blocks other interactions pair detecting front end As when influenceing user and being directed to the operation of the interactive object that is blocked, the first interactive object is adjusted to meeting sets requirement automatically The second display location, i.e., when described first interactive object is shown in second display location, first interactive object with The ratio of the display area of the overlapping viewing area of second interactive object and the display area of second interactive object is not More than the given threshold;And then solve present in prior art front end in electronic equipment and show that interactive object can block it His interactive object, cause, for the technical problem that the operation of interactive object can not be responded correctly that is blocked, to realize electronics and set It is standby when detecting that front end shows that interactive object blocks other interactive objects, adjust automatically front end show interactive object to not shadow The technique effect at the display location of his interactive object is rung, improves the usage experience of user.
Preferably, in the embodiment of the present application, judging unit 10 includes:
First judge module, first display location current for obtaining first interactive object, described in judgement It whether there is second interactive object on first display location;Or
Second judge module, for obtaining threeth display position of second interactive object currently on the display unit Put, judge to whether there is first interactive object on the 3rd display location;
The display location adjustment unit 20 is specifically used in first judge module or second judge module Judged result is when being, the display location of first interactive object is adjusted to there is currently no second interactive object Second display location.
Preferably, the display location of first interactive object is adjusted to described second and shown by the position adjustment unit 20 When showing position, if having the 3rd interactive object overlapping with first interactive object and the 3rd interactive object described first hand over Mutually the front end of object is shown, then display area and institute of the 3rd interactive object with the overlapping region of first interactive object The ratio for stating the display area of the first interactive object is not more than the given threshold.And then the first interactive object is avoided in display position After putting adjustment, due to being blocked by another interactive object (the 3rd interactive object), can not normal response user operation.
Preferably, the display location adjustment unit 20 includes:
3rd judge module, for silent for described first in current first display location of first interactive object Recognize display location, the judged result of the judging unit shows when being, to judge that first interactive object is given tacit consent to described second When showing position display, the display area of first interactive object and the overlapping viewing area of second interactive object with it is described Whether the ratio of the display area of the second interactive object is more than the given threshold;
First display location adjusting module, for the 3rd judge module judged result for it is no when, by described the The display location of one interactive object is adjusted to second default display location.
Preferably, the display location adjustment unit also includes:
4th judge module, for being provided with default display location, first friendship for first interactive object When mutual object is currently without positioned at the default display location, judge that first interactive object shows in the default display location When showing, first interactive object interacts with the display area of the overlapping viewing area of second interactive object with described second Whether the ratio of the display area of object is more than the given threshold;
Second display location adjusting module, for the 4th judge module judged result for it is no when, by described the The display location of one interactive object is adjusted to the default display location.
And then ensure that the first interactive object in the case where default display location meets sets requirement, is preferably displaying in acquiescence Display location, ensure the first interactive object as far as possible in position display desired by user.
Various display modes and instantiation in display methods in previous embodiment are equally applicable to the present embodiment Electronic equipment, by the foregoing detailed description to display methods, those skilled in the art are clear that in the present embodiment The implementation of electronic equipment, thus it is succinct for specification, it will not be described in detail herein.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
Because in the embodiment of the present application, electronic equipment can show that interactive object blocks other interactions pair detecting front end As when influenceing user and being directed to the operation of the interactive object that is blocked, the first interactive object is adjusted to meeting sets requirement automatically The second display location, i.e., when described first interactive object is shown in second display location, first interactive object with The ratio of the display area of the overlapping viewing area of second interactive object and the display area of second interactive object is not More than the given threshold;And then solve present in prior art front end in electronic equipment and show that interactive object can block it His interactive object, cause, for the technical problem that the operation of interactive object can not be responded correctly that is blocked, to realize electronics and set It is standby when detecting that front end shows that interactive object blocks other interactive objects, adjust automatically front end show interactive object to not shadow The technique effect at the display location of his interactive object is rung, improves the usage experience of user.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Specifically, computer program instructions can be stored in corresponding to the information processing method in the embodiment of the present application In the storage mediums such as CD, hard disk, USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium When one electronic equipment reads or is performed, comprise the following steps:
When the electronic equipment shows first interface, judge that first interactive object interacts pair with described second Whether the ratio of the display area of the overlapping viewing area of elephant and the display area of second interactive object is more than given threshold; The given threshold is more than or equal to 0 and less than 1;
If so, then the display location of first interactive object is adjusted to current different from first interactive object Second display location of the first display location;Wherein, it is described when first interactive object is shown in second display location First interactive object and the display area of the overlapping viewing area of second interactive object and showing for second interactive object Show that the ratio of area is not more than the given threshold.
Optionally, what is stored in the storage medium judges that first interactive object interacts pair with described second with step Whether the ratio of the display area of the overlapping viewing area of elephant and the display area of second interactive object is more than given threshold, Corresponding computer instruction specifically comprises the following steps during specific be performed:
Obtain current first display location of first interactive object, judge on first display location whether Second interactive object be present;Or
Threeth display location of second interactive object currently on the display unit is obtained, judges that the described 3rd is aobvious Show and whether there is first interactive object on position;
What is stored in the storage medium adjusts the display location of first interactive object to different from institute with step The second display location of the first current display location of the first interactive object is stated, corresponding computer instruction was performed specifically Cheng Zhong, specifically comprise the following steps:
The display location of first interactive object is adjusted to there is currently no described the of second interactive object Two display locations.
Optionally, first interactive object is provided with the first default display location and the second default display location, When in current first display location of first interactive object being first default display location, the storage medium Middle storage adjusts the display location of first interactive object to current different from first interactive object with step Second display location of the first display location, corresponding computer instruction specifically include following step during specific be performed Suddenly:
First interactive object is judged when second default display location is shown, first interactive object and institute State the display area of display area and second interactive object of the overlapping viewing area of the second interactive object ratio whether More than the given threshold;
If being not more than, the display location of first interactive object is adjusted to second default display location.
Optionally, when being provided with default display location for first interactive object, when in storage medium with letter When computer program instructions corresponding to breath processing method are read or are performed by an electronic equipment, also comprise the following steps:
When first interactive object is currently without positioned at the default display location, first interactive object is judged When the default display location is shown, first interactive object is aobvious with the overlapping viewing area of second interactive object Show whether the ratio of area and the display area of second interactive object is more than the given threshold;
If being not more than, the display location of first interactive object is adjusted to the default display location.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the application scope.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the application to the application God and scope.So, if these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of display methods, applied to the electronic equipment with display unit, the display unit can show the first interface, Show the first interactive object on first interface, first interactive object with different from first interactive object When second interactive object is overlapping, first interactive object is shown in the front end of second interactive object, wherein, described first Interactive object is visual building block, and the visual building block can control the data of application program processing and on the data Interactive operation;Methods described includes:
When the electronic equipment shows first interface, first interactive object and second interactive object are judged Whether the ratio of the display area of overlapping viewing area and the display area of second interactive object is more than given threshold;It is described Given threshold is more than or equal to 0 and less than 1;
If so, then by the display location of first interactive object adjust to different from first interactive object it is current first Second display location of display location, when first interactive object is shown in second display location, first interaction Object shows area and the display area of second interactive object with the overlapping viewing area of second interactive object Ratio is not more than the given threshold;
Wherein, the default display location of different priorities is provided with for the first interactive object, and first interactive object is worked as The first preceding display location is the first default display location with the first priority, then described by first interactive object Display location, which is adjusted to the second display location different from the first current display location of first interactive object, to be included:By institute The display location for stating the first interactive object is adjusted to the second acquiescence with the second priority by first default display location Display location, first priority are higher than second priority, and second default display location is the described second display Position.
2. the method as described in claim 1, it is characterised in that described to judge that first interactive object interacts with described second Whether the ratio of the display area of the overlapping viewing area of object and the display area of second interactive object is more than setting threshold Value, including:
Current first display location of first interactive object is obtained, judges to whether there is on first display location Second interactive object;Or
Threeth display location of second interactive object currently on the display unit is obtained, judges the 3rd display position Put and whether there is first interactive object;
The display location by first interactive object, which is adjusted to different from first interactive object is current, first to be shown Show the second display location of position, including:
The display location of first interactive object is adjusted to there is currently no second interactive object described second and shown Show position.
3. the method as described in claim 1, it is characterised in that first interactive object is shown in second display location When, if having the 3rd interactive object overlapping with first interactive object and the 3rd interactive object is in first interactive object Front end show, then the display area and described first of the overlapping region of the 3rd interactive object and first interactive object The ratio of the display area of interactive object is not more than the given threshold.
4. the method as described in claim 1,2 or 3, it is characterised in that it is silent that first interactive object is provided with first Recognize display location and the second default display location, be described the in current first display location of first interactive object During one default display location, the display location by first interactive object is adjusted to different from first interactive object Second display location of the first current display location, including:
First interactive object is judged when second default display location is shown, first interactive object and described the Whether the ratio of the display area of the overlapping viewing area of two interactive objects and the display area of second interactive object is more than The given threshold;
If being not more than, the display location of first interactive object is adjusted to second default display location.
5. the method as described in claim 1,2 or 3, it is characterised in that first interactive object is being provided with acquiescence During display location, methods described also includes:
When first interactive object is currently without positioned at the default display location, judge first interactive object in institute When stating default display location display, the display surface of first interactive object and the overlapping viewing area of second interactive object Whether product and the ratio of the display area of second interactive object are more than the given threshold;
If being not more than, the display location of first interactive object is adjusted to the default display location.
6. a kind of electronic equipment, the display unit of the electronic equipment can show the first interface, be shown on first interface There is the first interactive object, first interactive object is overlapping with the second interactive object different from first interactive object When, first interactive object is shown in the front end of second interactive object, wherein, first interactive object is visual structure Part block, the data that the visual building block can control application program to handle and the interactive operation on the data;The electricity Sub- equipment includes:
Judging unit, for when the electronic equipment shows first interface, judge first interactive object with it is described Whether the ratio of the display area of the overlapping viewing area of the second interactive object and the display area of second interactive object is big In given threshold;The given threshold is more than or equal to 0 and less than 1;
Display location adjustment unit, for the judging unit judged result for be when, by first interactive object Display location is adjusted to the second display location different from the first current display location of first interactive object, and described first When interactive object is shown in second display location, the overlapping display of first interactive object and second interactive object The ratio of the display area in region and the display area of second interactive object is not more than the given threshold;Wherein, for First interactive object is provided with the default display location of different priorities, and the first display position that first interactive object is current Be set to the first default display location with the first priority, then the display location by first interactive object adjust to Include different from the second display location of the first current display location of first interactive object:By first interactive object Display location adjusted by first default display location to the second default display location with the second priority, described One priority is higher than second priority, and second default display location is second display location.
7. electronic equipment as claimed in claim 6, it is characterised in that the judging unit includes:
First judge module, first display location current for obtaining first interactive object, judges described first It whether there is second interactive object on display location;Or
Second judge module, for obtaining threeth display location of second interactive object currently on the display unit, Judge to whether there is first interactive object on the 3rd display location;
The display location adjustment unit is specifically used for the judgement knot in first judge module or second judge module Fruit adjusts the display location of first interactive object to there is currently no described the of second interactive object for when being Two display locations.
8. electronic equipment as claimed in claim 6, it is characterised in that the position adjustment unit is by first interactive object Display location when adjusting to second display location, if having the 3rd interactive object overlapping with first interactive object and institute State the 3rd interactive object to show in the front end of first interactive object, then the 3rd interactive object interacts pair with described first The ratio of the display area of the overlapping region of elephant and the display area of first interactive object is not more than the given threshold.
9. the electronic equipment as described in claim 6,7 or 8, it is characterised in that the display location adjustment unit includes:
3rd judge module, for aobvious for the described first acquiescence in current first display location of first interactive object Show position, the judged result of the judging unit shows position when being, to judge that first interactive object is given tacit consent to described second When putting display, the display area and described second of first interactive object and the overlapping viewing area of second interactive object Whether the ratio of the display area of interactive object is more than the given threshold;
First display location adjusting module, for when the judged result of the 3rd judge module is no, described first to be handed over The display location of mutual object is adjusted to second default display location.
10. the electronic equipment as described in claim 6,7 or 8, it is characterised in that the display location adjustment unit also includes:
4th judge module, for being provided with default display location, first interaction pair for first interactive object During as currently without positioned at the default display location, judge that first interactive object is shown in the default display location When, the display area of first interactive object and the overlapping viewing area of second interactive object interacts pair with described second Whether the ratio of the display area of elephant is more than the given threshold;
Second display location adjusting module, for when the judged result of the 4th judge module is no, described first to be handed over The display location of mutual object is adjusted to the default display location.
CN201410031945.XA 2014-01-23 2014-01-23 A kind of display methods and electronic equipment Active CN103793137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410031945.XA CN103793137B (en) 2014-01-23 2014-01-23 A kind of display methods and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410031945.XA CN103793137B (en) 2014-01-23 2014-01-23 A kind of display methods and electronic equipment

Publications (2)

Publication Number Publication Date
CN103793137A CN103793137A (en) 2014-05-14
CN103793137B true CN103793137B (en) 2017-12-29

Family

ID=50668877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410031945.XA Active CN103793137B (en) 2014-01-23 2014-01-23 A kind of display methods and electronic equipment

Country Status (1)

Country Link
CN (1) CN103793137B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461287B (en) * 2014-11-27 2018-06-15 东莞宇龙通信科技有限公司 A kind of processing method of levitated object, device and terminal
KR20160149603A (en) * 2015-06-18 2016-12-28 삼성전자주식회사 Electronic device and notification processing method of electronic device
JP6129261B2 (en) * 2015-09-15 2017-05-17 Line株式会社 Notification control method, user terminal device, and notification control program
CN106527864B (en) * 2016-11-11 2020-01-14 厦门黑镜科技有限公司 Interface display method and device
CN107092434A (en) * 2017-04-19 2017-08-25 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN107102802A (en) * 2017-04-19 2017-08-29 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN107463327B (en) * 2017-07-20 2019-12-17 福建网龙计算机网络信息技术有限公司 method and terminal for acquiring position information of interface control element
CN108304136A (en) * 2018-02-26 2018-07-20 网易(杭州)网络有限公司 The display control method and device of control
CN108595082B (en) * 2018-03-15 2020-05-26 维沃移动通信有限公司 Information prompting method and terminal equipment
CN109814768A (en) * 2018-12-14 2019-05-28 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of the position optimization of suspended frame
CN111625306B (en) * 2019-02-28 2024-06-11 博泰车联网科技(上海)股份有限公司 Display control method and device for suspended icons in vehicle
CN110795194B (en) 2019-10-31 2021-09-07 北京字节跳动网络技术有限公司 Desktop display control method, device, terminal and storage medium
CN111857501A (en) * 2020-07-03 2020-10-30 Oppo广东移动通信有限公司 Information display method and device and storage medium
CN115097980B (en) * 2022-08-24 2022-12-02 成都智暄科技有限责任公司 Small-area overlapping transparent control selection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325054A (en) * 2000-05-16 2001-11-22 Fujitsu Ten Ltd Multi-window display method and window-managing method
CN1499354A (en) * 2002-11-11 2004-05-26 �ձ�������ʽ���� Multi-window displaying appts, and multi-window management method
CN101609387A (en) * 2008-06-20 2009-12-23 宏碁股份有限公司 The method and the computer fetch medium that on screen, show a plurality of windows
CN104238869A (en) * 2013-06-19 2014-12-24 富泰华工业(深圳)有限公司 Floating icon display system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193719A (en) * 2010-03-15 2011-09-21 联想(北京)有限公司 Display method and display terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325054A (en) * 2000-05-16 2001-11-22 Fujitsu Ten Ltd Multi-window display method and window-managing method
CN1499354A (en) * 2002-11-11 2004-05-26 �ձ�������ʽ���� Multi-window displaying appts, and multi-window management method
CN101609387A (en) * 2008-06-20 2009-12-23 宏碁股份有限公司 The method and the computer fetch medium that on screen, show a plurality of windows
CN104238869A (en) * 2013-06-19 2014-12-24 富泰华工业(深圳)有限公司 Floating icon display system and method

Also Published As

Publication number Publication date
CN103793137A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
CN103793137B (en) A kind of display methods and electronic equipment
US11709588B2 (en) Method and apparatus for providing a notification mechanism
CN104090720B (en) A kind of method and device shown based on gesture operation adjustment terminal window
US9720586B2 (en) Apparatus and method for providing for interaction with content within a digital bezel
EP2666079B1 (en) Method and apparatus for providing a multi-stage device transition mechanism initiated based on a touch gesture
EP2710455B1 (en) Method and apparatus for providing quick access to device functionality
KR101972924B1 (en) Method and apparatus for designating enire area using partial area touch in a portable equipment
AU2013278136B2 (en) Information display apparatus and method of user device
US10146329B2 (en) Method and apparatus for providing different user interface effects for different motion gestures and motion properties
EP2650768A1 (en) Apparatus and method for providing a digital bezel
CN107613094A (en) Method for operating mobile terminal by one hand and mobile terminal
KR20130011437A (en) Method and apparatus for managing icon in portable terminal
TW201331825A (en) Apparatus and method for providing a visual transition between screens
US10409446B2 (en) Information processing apparatus and method for manipulating display position of a three-dimensional image
US20140059478A1 (en) Apparatus and method for providing a digital bezel without occluding interactive content
CN104461105B (en) The method and electronic equipment of a kind of control electronics
US20110187657A1 (en) Touch sensitive screen for scrolling through sets of data
US9377944B2 (en) Information processing device, information processing method, and information processing program
CN106708357A (en) Screen brightness regulating method and electronic device
CN104808906A (en) Electronic equipment with touch display screen and touch display screen control method
CN105094586B (en) A kind of adjusting method and electronic equipment of display window
CN104346095B (en) A kind of information processing method and electronic equipment
CN104049867B (en) A kind of information processing method and electronic equipment
CN106371629A (en) Operation method and device for mobile terminal and mobile terminal
WO2015111321A1 (en) Display control device, display control method and computer program

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