CN107908446A - Window display method, device and computer-readable recording medium - Google Patents
Window display method, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107908446A CN107908446A CN201711029442.9A CN201711029442A CN107908446A CN 107908446 A CN107908446 A CN 107908446A CN 201711029442 A CN201711029442 A CN 201711029442A CN 107908446 A CN107908446 A CN 107908446A
- Authority
- CN
- China
- Prior art keywords
- window
- display
- display window
- application
- enabled instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Abstract
The invention discloses a kind of application widget display methods, device and computer-readable recording medium, the application widget display methods includes:Enabled instruction is applied in reception, obtains the transparency using the corresponding window to be shown of enabled instruction, and whether the transparency for detecting the window to be shown is more than predetermined threshold value;If the transparency of the window to be shown is more than predetermined threshold value, detection is currently with the presence or absence of display window;If there is currently display window, display window disappears described in control, shows the window to be shown.Pass through the present invention, when that the window to be shown with certain transparency need to be superimposed upon simultaneous display on display window, display window disappears for control, only shows window to be shown, avoid the overlapping display of application widget and influence display effect, lift user's visual experience.
Description
Technical field
The present invention relates to electronic technology field, more particularly to application widget display methods, device and computer-readable storage
Medium.
Background technology
With the development of electronic technology, the progress of network technology, the application program that can be carried on electronic product
(application, APP) is more and more.At present, when electronic product shows application widget 1, if desired application window is shown at the same time
Mouth 2, such as application widget 2 is superimposed upon in application widget 1 in translucent fashion, it can realize and not interrupt application widget 1
In the case of at the same time show application widget 2.In this display mode, if application widget 1 show content it is relatively more (such as answer
Content is all show with the various pieces of window 1), and these contents be largely word, and the content of the display of application widget 2
Also relatively more (for example most contents are also all words in application widget 2), then can cause content and the application of application widget 1
The content mix of window 2 is shown, causes display effect poor, influences user's viewing experience.
The content of the invention
It is a primary object of the present invention to provide a kind of application widget display methods, device and computer-readable storage medium
Matter, it is intended to when solving windows overlay display in the prior art, the poor technical problem of display effect.
To achieve the above object, the present invention provides a kind of application widget display methods, the application widget display methods bag
Include:
Enabled instruction is applied in reception, obtains the transparency using the corresponding window to be shown of enabled instruction, detects institute
Whether the transparency for stating window to be shown is more than predetermined threshold value;
If the transparency of the window to be shown is more than predetermined threshold value, detection is currently with the presence or absence of display window;
If there is currently display window, display window disappears described in control, shows the window to be shown.
Preferably, if described there is currently display window, the control disappearance of display window, waits to show described in display
Show that window includes:
If there is currently display window, the corresponding disappearance event of the application enabled instruction is sent respectively and starts thing
Part is treated to the display window and window to be shown so that the display window disappears according to the disappearance event with described
Display window is shown according to the startup event.
Preferably, if described there is currently display window, the control disappearance of display window, waits to show described in display
Show that window further includes:
If there is currently display window, detection described in display window whether corresponded to the window to be shown it is same
Using enabled instruction;
If the display window does not correspond to same application enabled instruction with the window to be shown, shown described in detection
Show that the display location of window whether there is overlapping region with the display location of the window to be shown;
If there are the overlapping region, display window disappears described in control, shows the window to be shown.
Preferably, if described there is currently display window, the detection display window and the window to be shown
Whether correspond to same application enabled instruction includes afterwards:
If the display window same application enabled instruction corresponding with the window to be shown, shown described in control
Window disappears, and does not show the window to be shown.
Preferably, if the display window does not correspond to same application enabled instruction with the window to be shown,
The display location of display window and the display location of the window to be shown are wrapped with the presence or absence of after overlapping region described in detection
Include:
If there are overlapping region, the display location of display window and the display position of the window to be shown described in adjustment
Put, for the display window display not overlapping with the window to be shown.
Preferably, if the display window does not correspond to same application enabled instruction with the window to be shown,
The display location of display window and the display location of the window to be shown are gone back with the presence or absence of after overlapping region described in detection
Including:
If there are overlapping region, the transparency of the window to be shown is adjusted, shows what the transparency was adjusted
Window to be shown.
Preferably, if described there is currently display window, described in detection the display location of display window with it is described
The display location of window to be shown includes afterwards with the presence or absence of overlapping region:
If the overlapping region is not present, the window to be shown is shown.
In addition, to achieve the above object, the present invention also provides a kind of application widget display device, the application widget is shown
Device includes:Memory, processor and it is stored in the application widget that can be run on the memory and on the processor and shows
Show program, the application widget is shown realizes application widget display methods as described above when program is performed by the processor
Step.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, it is characterised in that institute
State and application widget display program is stored with computer-readable recording medium, the application widget shows that program is executed by processor
The step of Shi Shixian application widget display methods as described above.
In the present invention, when receive apply enabled instruction when, if detecting, this applies the corresponding window to be shown of enabled instruction
Mouth is translucent window, then further detects whether there is display window, if in the presence of display window, control display window
Mouth disappears, and shows window to be shown.By the present invention, shown when the window to be shown with certain transparency need to be superimposed upon
On window during simultaneous display, control display window disappear, only show window to be shown, avoid application widget it is overlapping display and
Display effect is influenced, lifts user's visual experience.
Brief description of the drawings
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of application widget display methods first embodiment of the present invention;
Fig. 3 is the flow diagram of application widget display methods second embodiment of the present invention;
Fig. 4 is the schematic diagram of a scenario that the present invention shows one embodiment of display window and window to be shown on the screen.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, the apparatus structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Application widget of embodiment of the present invention display device can be TV, PC or smart mobile phone, tablet computer etc.
Equipment with display function.
As shown in Figure 1, application widget display device can include:Processor 1001, such as CPU, network interface 1004, shows
Display screen 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used for realization the connection between these components
Communication.Network interface 1004 can optionally include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory
1005 can be high-speed RAM memory or the memory (non-volatile memory) of stabilization, such as disk are deposited
Reservoir.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that the application widget display device structure shown in Fig. 1 is not formed to application
The restriction of window display, can include than illustrating more or fewer components, either combine some components or different
Component is arranged.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe that module, Subscriber Interface Module SIM and application widget show program.
In the application widget display device shown in Fig. 1, processor 1001 can be used for calling to be stored in memory 1005
Application widget show program, and perform following operation:
Enabled instruction is applied in reception, obtains the transparency using the corresponding window to be shown of enabled instruction, detects institute
Whether the transparency for stating window to be shown is more than predetermined threshold value;
If the transparency of the window to be shown is more than predetermined threshold value, detection is currently with the presence or absence of display window;
If there is currently display window, display window disappears described in control, shows the window to be shown.
Further, processor 1001 can call the application widget stored in memory 1005 to show program, also perform
Operate below:
If there is currently display window, the corresponding disappearance event of the application enabled instruction is sent respectively and starts thing
Part is treated to the display window and window to be shown so that the display window disappears according to the disappearance event with described
Display window is shown according to the startup event.
Further, processor 1001 can call the application widget stored in memory 1005 to show program, also perform
Operate below:
If there is currently display window, detection described in display window whether corresponded to the window to be shown it is same
Using enabled instruction;
If the display window does not correspond to same application enabled instruction with the window to be shown, shown described in detection
Show that the display location of window whether there is overlapping region with the display location of the window to be shown;
If there are the overlapping region, display window disappears described in control, shows the window to be shown.
Further, processor 1001 can call the application widget stored in memory 1005 to show program, also perform
Operate below:
If the display window same application enabled instruction corresponding with the window to be shown, shown described in control
Window disappears, and does not show the window to be shown.
Further, processor 1001 can call the application widget stored in memory 1005 to show program, also perform
Operate below:
If there are overlapping region, the display location of display window and the display position of the window to be shown described in adjustment
Put, for the display window display not overlapping with the window to be shown.
Further, processor 1001 can call the application widget stored in memory 1005 to show program, also perform
Operate below:
If there are overlapping region, the transparency of the window to be shown is adjusted, shows what the transparency was adjusted
Window to be shown.
Further, processor 1001 can call the application widget stored in memory 1005 to show program, also perform
Operate below:
If the overlapping region is not present, the window to be shown is shown.
With reference to Fig. 2, Fig. 2 is the flow diagram of application widget display methods first embodiment of the present invention.
In one embodiment, application widget display methods includes:
Enabled instruction is applied in step S10, reception, is obtained described using the transparent of the corresponding window to be shown of enabled instruction
Whether degree, the transparency for detecting the window to be shown are more than predetermined threshold value;
Step S20, if the transparency of the window to be shown is more than predetermined threshold value, detection, which currently whether there is, have been shown
Window;
Step S30, if there is currently display window, display window disappears described in control, and display is described to be shown
Window.
In the present embodiment, taking a smart TV as an example, certain the present invention program is not restricted to smart television, can be according to reality
Need to be applied on the electronic products such as computer, mobile phone.
Current TV, since input is inconvenient, in order to facilitate the use of user, many television manufacturers are on a remote control all
There is provided shortcut, i.e. a key goes directly function.User can quickly open application by the function, for example, user is by pressing key
1, application widget 1 is opened, user presses key 2 again at this time, then can open application widget 2, if application widget 2 is translucent window
(in the present embodiment, translucent window refers to the window with certain transparency to mouth, is shown if translucent window is covered on a certain window
Show, then beneath window can be observed by the translucent window, i.e. transparency is more than the window of predetermined threshold value, and predetermined threshold value can
It is configured according to actual conditions, such as 30%, i.e. window of the transparency more than 30% is translucent window), application widget 2 is folded
Add and be shown in application widget 1, if application widget 1 show content it is relatively more (such as the various pieces of application widget 1 all show
Show content), and these contents be largely word, and the content that shows of application widget 2 also relatively more (such as application widgets
Most contents are also all words in 2), then the content of application widget 1 and the content mix of application widget 2 can be caused to show
Come, cause display effect poor, influence user's viewing experience.
In an alternate embodiment of the present invention, when user is by pressing the shortcut 1 on remote controler, application program 1 to be started,
Except of course that starting application program in a manner of pressing shortcut can also be realized by other modes, such as sound control etc., herein
It is not limited.Television reception includes the identity of application program 1, according to this to the enabled instruction of application program 1 in the instruction
Identity, determines program to be launched, then further detects whether the corresponding window to be shown of program to be launched is translucent
Window.Can be that the transparence information of the corresponding display window of each application program is stored in TV in advance in the present embodiment
In memory, for example, the identity of each program is being stored with the transparency associated storage of corresponding program display window
In device, stipulated that the window that transparency is more than 45% (value can be adjusted according to actual needs, and this is not restricted) is half
Transparent window.For example, receiving at this time using enabled instruction, the identity of the application program included using enabled instruction is 1,
It is 55% to obtain corresponding display window transparence information in memory according to the identity, then judges that application starts at this time
It is translucent window to instruct corresponding window to be shown.
When judge window to be shown for translucent window after, then further detection is currently with the presence or absence of display window, i.e.,
Detect on current screen either with or without display system window or the window of application program.Such as search whether exist in system process
The corresponding process of window, if in the presence of illustrating there is currently display window.
Be not in the situation generation that windows overlay display influences display effect if there is currently no display window,
Then directly display window to be shown.
If display window is there is currently, and window to be shown is translucent window, may if showing window to be shown
Show the content of display window and the content mix of window to be shown, cause display effect poor, influence user
Viewing experience.Then needing control, display window disappears, shows window to be shown.
In an alternate embodiment of the present invention, as shown in figure 3, Fig. 3 is application widget display methods second embodiment of the present invention
Flow diagram.Display window disappears for control, shows that window to be shown can be:
When there is currently display window, and when window to be shown is translucent window, system (such as Android system) basis
Using enabled instruction, issue disappearance event and start event (disappearance event and the body that program to be launched is included in startup event
Part mark).The corresponding application program of display window receives disappearance event, judges in the identity of itself and disappearance event
Comprising program to be launched identity it is whether consistent, if unanimously, without any processing, if inconsistent, terminating to transport
OK, that is, control the window shown to disappear, can also be the window packed up and shown certainly, do not terminate to run, only make just
Do not shown on the screen in the window of display;Meanwhile the corresponding program to be launched of identity of the program to be launched is received and opened
Dynamic event, judges whether the display window of itself is showing, if being in dispaly state, cancels display, that is, disappears (for example, should
Show that user triggers the enabled instruction of application program A again on the screen with the window of program A, then cancelled application program A
Window show on the screen), if being not at dispaly state, show the display window of itself.
In another alternative embodiment of the present invention, display window disappears for control, shows that window to be shown can also be:
When there is currently display window, and when window to be shown is translucent window, detect first display window with
Whether window to be shown corresponds to same application enabled instruction, that is, detects the corresponding application identity mark of display window with treating
The corresponding application identity of display window identifies whether unanimously, if unanimously, controlling display window disappearance, and do not show and treat
Display window.For example, the window of application program A is shown on the screen, the startup that user triggers application program A again refers to
Order, then cancel the display of display window, and do not show the corresponding window of this enabled instruction.If inconsistent, detect and shown
Show that the display location of window whether there is overlapping region with the display location of window to be shown, if detecting the presence of overlapping region,
Then cancel the display of display window, show window to be shown.For example, the coordinate set of the display location of display window is A,
The coordinate set of the display location of window to be shown is that whether there is same seat in B, detection coordinates set A and coordinate set B
Punctuate, if in the presence of illustrating that the display location of the display location of display window and window to be shown there are overlapping region, then exists
The process that display window corresponds to application program is killed in system process, for cancelling the display of display window, may be used also certainly
To be to pack up the window shown, do not terminate the operation of application program, only make display window do not show on the screen, then
Start application program to be launched, show window to be shown.Further, when detect in coordinate set A and coordinate set B exist it is same
During the coordinate points of sample, the position of display window and window to be shown can also be adjusted so that having shown after position adjustment
Show the coordinate set of the display location of the coordinate set A' of the display location of window and the window to be shown after position adjustment
Same coordinate points are not present in B'.Further, when detecting that there are same coordinate points in coordinate set A and coordinate set B
When, the transparency of window to be shown can also be adjusted, such as window area to be shown is tended to opaque state.
In the present invention, when receive apply enabled instruction when, if detecting, this applies the corresponding window to be shown of enabled instruction
Mouth is translucent window, then further detects whether there is display window, if in the presence of display window, control display window
Mouth disappears, and shows window to be shown.By the present invention, when translucent window to be shown need to be superimposed upon on display window it is same
During step display, display window disappears for control, only shows translucent window, avoids the overlapping display of application widget and influences display
Effect, lifts user's visual experience.
Further, in one embodiment of application widget display methods of the present invention, step S30 includes:
If there is currently display window, the corresponding disappearance event of the application enabled instruction is sent respectively and starts thing
Part is treated to the display window and window to be shown so that the display window disappears according to the disappearance event with described
Display window is shown according to the startup event.
In an alternate embodiment of the present invention, as shown in figure 3, Fig. 3 is application widget display methods second embodiment of the present invention
Flow diagram.
When there is currently display window, and when window to be shown is translucent window, system (such as Android system) basis
Using enabled instruction, issue disappearance event and start event (disappearance event and the body that program to be launched is included in startup event
Part mark).The corresponding application program of display window receives disappearance event, judges in the identity of itself and disappearance event
Comprising program to be launched identity it is whether consistent, if unanimously, without any processing, if inconsistent, terminating to transport
OK, that is, control the window shown to disappear, can also be the window packed up and shown certainly, do not terminate to run, only make just
Do not shown on the screen in the window of display;Meanwhile the corresponding program to be launched of identity of the program to be launched is received and opened
Dynamic event, judges whether the display window of itself is showing, if being in dispaly state, cancels display, that is, disappears (for example, should
Show that user triggers the enabled instruction of application program A again on the screen with the window of program A, then cancelled application program A
Window show on the screen), if being not at dispaly state, show the display window of itself.
In one embodiment of the invention, after the enabled instruction for receiving application program A, detect and there is currently display window
1, and window to be shown 2 (the corresponding display serial ports of application program A) is translucent window, then system issue disappearance event and startup
Event (identity that application program A is included in disappearance event and startup event).2 corresponding application program of display window
Receive disappearance event, judge the identity of program to be launched that is included in the identity of itself and disappearance event whether one
Cause, if unanimously, without any processing, if inconsistent, packing up display window 2, while application program A receives startup
Event, judges whether the display window of itself is showing, if being in dispaly state, cancels display, that is, disappear (for example, using
The window of program A shows that user triggers the enabled instruction of application program A again on the screen, then cancels application program A's
Window is shown on the screen), if being not at dispaly state, show the display window of itself.
It is wide by system when there is currently display window, and when window to be shown is translucent window in the present embodiment
Disappearance event and startup event are broadcast, if the identification information of the corresponding application program of display window and disappearance event have included
Identification information is inconsistent, then cancels the display of display window, shows, shows if window to be shown is not currently on screen
Show the window to be shown.Through this embodiment, synchronously shown on display window when translucent window to be shown need to be superimposed upon
When showing, display window disappears for control, only shows translucent window, avoids the overlapping display of application widget and influences display effect
Fruit, lifts user's visual experience.
Further, in one embodiment of application widget display methods of the present invention, step S30 is further included:
If there is currently display window, detection described in display window whether corresponded to the window to be shown it is same
Using enabled instruction;
If the display window does not correspond to same application enabled instruction with the window to be shown, shown described in detection
Show that the display location of window whether there is overlapping region with the display location of the window to be shown;
If there are the overlapping region, display window disappears described in control, shows the window to be shown.
In the present embodiment, if display window is there is currently, and interface to be shown is semi-transparent interfaces, and detect and shown
Show that window does not correspond to same application enabled instruction with window to be shown, i.e., display window is not belonging to same window with window to be shown
During mouth, then detect the display location of display window and the display location of window to be shown whether there is overlapping region, if detection
To there are overlapping region, then cancel the display of display window, show window to be shown.For example, the display position of display window
The coordinate set put is A, and the coordinate set of the display location of window to be shown is B, in detection coordinates set A and coordinate set B
With the presence or absence of same coordinate points, if in the presence of illustrating the display location of the display location of display window and window to be shown
There are overlapping region, then the process that display window corresponds to application program is killed in system process, for cancelling display window
Mouthful display, can also be the window packed up and shown certainly, do not terminate the operation of application program, only make that display window is not
Show on the screen, then start application program to be launched, show window to be shown.Further, when detect coordinate set A and
There are during same coordinate points in coordinate set B, the position of display window and window to be shown can also be adjusted so that pass through
The coordinate set A' of the display location of display window after position adjustment and the window to be shown after position adjustment it is aobvious
Show and same coordinate points are not present in the coordinate set B' of position.Further, when detecting in coordinate set A and coordinate set B
There are during same coordinate points, the transparency of window to be shown can also be adjusted, such as window area to be shown is tended to be impermeable
Bright state.Further, when detecting in coordinate set A and coordinate set B there are during same coordinate points, it can also be system
(such as Android system) according to using enabled instruction, (disappearance event in startup event with wrapping for issue disappearance event and startup event
Identity containing program to be launched).The corresponding application program of display window receives disappearance event, judges the identity of itself
Whether consistent identify the identity of the program to be launched with being included in disappearance event, if unanimously, without any processing, if
It is inconsistent, then terminate to run, that is, control the window shown to disappear, can also be the window packed up and shown certainly, no
Terminate operation, the window for only making showing is not shown on the screen;Meanwhile the identity of the program to be launched corresponding is treated
Startup program receives startup event, then shows the display window of itself.
In the present embodiment, when there is currently display window, and interface to be shown is semi-transparent interfaces, and detects and shown
When showing that window does not correspond to same application enabled instruction with window to be shown, display window disappears for control, shows window to be shown.
By the present invention, when that translucent window to be shown need to be superimposed upon simultaneous display on display window, display window is controlled
Mouth disappears, and only shows translucent window, avoids the overlapping display of application widget and influences display effect, rises user's visual experience.
Further, in one embodiment of application widget display methods of the present invention, if there is currently display window, detect
The display window includes after whether corresponding to same application enabled instruction with the window to be shown:
If the display window same application enabled instruction corresponding with the window to be shown, shown described in control
Window disappears, and does not show the window to be shown.
In an alternate embodiment of the present invention, if display window is there is currently, and interface to be shown is semi-transparent interfaces, inspection
Survey whether display window corresponds to same application enabled instruction with window to be shown, that is, detect that display window is corresponding to apply journey
Sequence identity application identity corresponding with window to be shown identifies whether unanimously, if unanimously, controlling display window
Disappear, and do not show window to be shown.For example, the window of application program A shows that user triggers application again on the screen
The enabled instruction of program A, then cancel the display of display window, and does not show the corresponding window of this enabled instruction.
In another alternative embodiment of the present invention, if display window is there is currently, and interface to be shown is semi-transparent interfaces,
System (such as Android system) issues disappearance event and starts event (in disappearance event and startup event according to using enabled instruction
Include the identity of program to be launched).The corresponding program to be launched of identity of the program to be launched, which receives, starts thing
Part, judges whether the display window of itself is showing, if being in dispaly state, cancels display, that is, disappears (for example, using journey
The window of sequence A shows that user triggers the enabled instruction of application program A again on the screen, then cancels the window of application program A
Mouth is shown on the screen), if being not at dispaly state, show the display window of itself.
In the present embodiment, when window to be shown is for translucent window and when there is currently display window, first determine whether
Whether display window corresponds to same application enabled instruction with window to be shown, that is, judge display window and window to be shown whether
For the same window, if so, then cancelling the display of display window, and the operation for showing window to be shown is not performed.Enrich this
Embodiment scheme application scenarios.I.e. if user need to cancel the display of display window, it is only necessary to trigger display window pair again
Answer the enabled instruction of application program.
Further, in one embodiment of application widget display methods of the present invention, if the display window with it is described
Window to be shown does not correspond to same application enabled instruction, then the detection display location of display window and the window to be shown
The display location of mouth includes afterwards with the presence or absence of overlapping region:
If there are overlapping region, the display location of display window and the display position of the window to be shown described in adjustment
Put, for the display window display not overlapping with the window to be shown.
In the present embodiment, when detecting in coordinate set A and coordinate set B there are during same coordinate points, if continuing to show
Show window to be shown, inevitably result in display window and windows overlay to be shown, since window to be shown is translucent window,
It can make it that display effect is poor.At this time, the display location to display window and the display location of window to be shown are adjusted
It is whole, for display window display not overlapping with window to be shown, shown as shown in figure 4, Fig. 4 is shown on the screen for the present invention
Show the schematic diagram of a scenario of one embodiment of window and window to be shown.In the present embodiment, when display window and window to be shown
When original size is larger, both can not be shown on the screen with not overlap mode, can also be by display window and window to be shown
Original size turn down so that both show on the screen with not overlap mode.
In the present embodiment, when there is currently display window, and interface to be shown is semi-transparent interfaces, and detects and shown
When showing that window does not correspond to same application enabled instruction with window to be shown, display location and window to be shown to display window
Display location be adjusted, for display window display not overlapping with window to be shown, it is overlapping aobvious to avoid application widget
Show and influence display effect, lift user's visual experience.
Further, in one embodiment of application widget display methods of the present invention, if the display window with it is described
Window to be shown does not correspond to same application enabled instruction, then the detection display location of display window and the window to be shown
The display location of mouth further includes afterwards with the presence or absence of overlapping region:
If there are overlapping region, the transparency of the window to be shown is adjusted, shows what the transparency was adjusted
Window to be shown.
In the present embodiment, when detecting in coordinate set A and coordinate set B there are during same coordinate points, if continuing to show
Show window to be shown, inevitably result in display window and windows overlay to be shown, since window to be shown is translucent window,
It can make it that display effect is poor.At this time, the transparency for treating display window is adjusted, if for example, the original of window to be shown
Beginning transparency is 55%, if display window and windows overlay to be shown shows, after display window to be shown, through waiting to show
Show that display window can be seen in window, cause display effect bad, reduce the transparency of window to be shown first at this time, such as adjust
Whole is 5% so that the opaque state of window area to be shown after adjustment, even if at this time by display window and window to be shown
Salty folded display, can not also pass through window to be shown and see the content of display window, avoid the overlapping display of application widget and
Display effect is influenced, lifts user's visual experience.
Further, in one embodiment of application widget display methods of the present invention, if there is currently display window, detect
The display location of the display window and the display location of the window to be shown include afterwards with the presence or absence of overlapping region:
If the overlapping region is not present, the window to be shown is shown.
In the present embodiment, if display window is there is currently, and interface to be shown is semi-transparent interfaces, and detect and shown
Show that window does not correspond to same application enabled instruction with window to be shown, i.e., display window is not belonging to same window with window to be shown
During mouth, if further detecting, overlapping region is not present in the display location of display window and the display location of window to be shown,
Window to be shown can be then directly displayed, display effect will not be influenced there is a situation where the overlapping display of application widget.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium
On be stored with application widget and show program, the application widget, which is shown, realizes application as described above when program is executed by processor
The step of window display method.
The specific embodiment of computer-readable recording medium of the present invention and each implementation of above application window display method
Example is essentially identical, and this will not be repeated here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of application widget display methods, it is characterised in that the application widget display methods includes:
Enabled instruction is applied in reception, is obtained the transparency using the corresponding window to be shown of enabled instruction, is treated described in detection
Whether the transparency of display window is more than predetermined threshold value;
If the transparency of the window to be shown is more than predetermined threshold value, detection is currently with the presence or absence of display window;
If there is currently display window, display window disappears described in control, shows the window to be shown.
2. application widget display methods as claimed in claim 1, it is characterised in that if described there is currently display window,
Then display window disappears described in control, shows that the window to be shown includes:
If there is currently display window, the corresponding disappearance event of the application enabled instruction is sent respectively and starts event extremely
The display window and window to be shown so that the display window according to the disappearance event disappear and it is described to be shown
Window is shown according to the startup event.
3. application widget display methods as claimed in claim 1, it is characterised in that if described there is currently display window,
Then display window disappears described in control, shows that the window to be shown further includes:
If there is currently display window, whether display window corresponds to same application with the window to be shown described in detection
Enabled instruction;
If the display window and the window to be shown do not correspond to same application enabled instruction, display window described in detection
The display location of mouth whether there is overlapping region with the display location of the window to be shown;
If there are the overlapping region, display window disappears described in control, shows the window to be shown.
4. application widget display methods as claimed in claim 3, it is characterised in that if described there is currently display window,
Then display window includes after whether corresponding to same application enabled instruction with the window to be shown described in detection:
If the display window same application enabled instruction corresponding with the window to be shown, display window described in control
Disappear, and do not show the window to be shown.
5. application widget display methods as claimed in claim 3, it is characterised in that if the display window with it is described
Window to be shown does not correspond to same application enabled instruction, then the detection display location of display window and the window to be shown
The display location of mouth includes afterwards with the presence or absence of overlapping region:
If there are overlapping region, the display location of display window and the display location of the window to be shown described in adjustment,
For the display window display not overlapping with the window to be shown.
6. application widget display methods as claimed in claim 3, it is characterised in that if the display window with it is described
Window to be shown does not correspond to same application enabled instruction, then the detection display location of display window and the window to be shown
The display location of mouth further includes afterwards with the presence or absence of overlapping region:
If there are overlapping region, the transparency of the window to be shown is adjusted, shows that what the transparency was adjusted waits to show
Show window.
7. application widget display methods as claimed in claim 3, it is characterised in that if described there is currently display window,
Then the detection display location of display window with the display location of the window to be shown with the presence or absence of after overlapping region
Including:
If the overlapping region is not present, the window to be shown is shown.
8. a kind of application widget display device, it is characterised in that the application widget display device includes:Memory, processor
And be stored in the application widget that can be run on the memory and on the processor and show program, the application widget is shown
Program realizes following steps when being performed by the processor:
Enabled instruction is applied in reception, is obtained the transparency using the corresponding window to be shown of enabled instruction, is treated described in detection
Whether the transparency of display window is more than predetermined threshold value;
If the transparency of the window to be shown is more than predetermined threshold value, detection is currently with the presence or absence of display window;
If there is currently display window, display window disappears described in control, shows the window to be shown.
9. application widget display device as claimed in claim 8, it is characterised in that the application widget shows that program is described
Processor also realizes following steps when performing:
If there is currently display window, the corresponding disappearance event of the application enabled instruction is sent respectively and starts event extremely
The display window and window to be shown so that the display window according to the disappearance event disappear and it is described to be shown
Window is shown according to the startup event.
10. a kind of computer-readable recording medium, it is characterised in that be stored with application window on the computer-readable recording medium
Mouth shows program, and the application widget shows and realized when program is executed by processor as any one of claim 1 to 7
The step of application widget display methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711029442.9A CN107908446B (en) | 2017-10-27 | 2017-10-27 | Window display method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711029442.9A CN107908446B (en) | 2017-10-27 | 2017-10-27 | Window display method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107908446A true CN107908446A (en) | 2018-04-13 |
CN107908446B CN107908446B (en) | 2022-01-04 |
Family
ID=61841893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711029442.9A Active CN107908446B (en) | 2017-10-27 | 2017-10-27 | Window display method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107908446B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114661387A (en) * | 2020-12-23 | 2022-06-24 | 深圳融昕医疗科技有限公司 | Window display method and computer equipment |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848966A (en) * | 2006-04-10 | 2006-10-18 | 高盟 | Small-window stereo-image producing and displaying method |
CN101055520A (en) * | 2006-04-14 | 2007-10-17 | 国际商业机器公司 | System and method of windows management |
CN101268437A (en) * | 2005-11-02 | 2008-09-17 | 松下电器产业株式会社 | Display-object penetrating apparatus |
CN101443730A (en) * | 2006-05-11 | 2009-05-27 | 松下电器产业株式会社 | Display object layout changing device |
US20100202077A1 (en) * | 2009-02-09 | 2010-08-12 | Samsung Electronics Co., Ltd. | Flat panel display device and method for producing the same |
CN102594723A (en) * | 2012-03-31 | 2012-07-18 | 上海量明科技发展有限公司 | Instant communication message window separation method and system |
CN102737615A (en) * | 2011-03-31 | 2012-10-17 | 索尼公司 | Display control device, display control method, and program |
CN102841804A (en) * | 2012-06-27 | 2012-12-26 | 北京三星通信技术研究有限公司 | Method and device for processing multiple foreground tasks on screen |
CN102981704A (en) * | 2012-11-09 | 2013-03-20 | 广东欧珀移动通信有限公司 | Icon placement method and mobile terminal of display interface |
US20130300987A1 (en) * | 2012-05-10 | 2013-11-14 | Ming-Chan Ho | Eye-friendly calculator |
CN104219376A (en) * | 2013-05-31 | 2014-12-17 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
US20150046834A1 (en) * | 2013-08-09 | 2015-02-12 | Lenovo (Beijing) Co., Ltd. | Information processing apparatus and information processing method |
CN104461220A (en) * | 2013-09-13 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104580980A (en) * | 2013-10-22 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104615764A (en) * | 2015-02-13 | 2015-05-13 | 北京搜狗科技发展有限公司 | Display method and electronic equipment |
CN104769546A (en) * | 2012-09-26 | 2015-07-08 | 谷歌公司 | Intelligent window placement |
CN105556451A (en) * | 2013-06-07 | 2016-05-04 | 苹果公司 | User interfaces for multiple displays |
CN105677166A (en) * | 2014-11-19 | 2016-06-15 | 阿里巴巴集团控股有限公司 | Adjusting method and device for input method window |
CN106325836A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | Window widget processing method and device |
CN106681583A (en) * | 2016-12-02 | 2017-05-17 | 广东威创视讯科技股份有限公司 | Method and system for processing displayed content in overlapping windows |
CN107203305A (en) * | 2017-05-03 | 2017-09-26 | 努比亚技术有限公司 | It is switched fast method, mobile terminal and the computer-readable recording medium of application |
-
2017
- 2017-10-27 CN CN201711029442.9A patent/CN107908446B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101268437A (en) * | 2005-11-02 | 2008-09-17 | 松下电器产业株式会社 | Display-object penetrating apparatus |
CN1848966A (en) * | 2006-04-10 | 2006-10-18 | 高盟 | Small-window stereo-image producing and displaying method |
CN101055520A (en) * | 2006-04-14 | 2007-10-17 | 国际商业机器公司 | System and method of windows management |
CN101443730A (en) * | 2006-05-11 | 2009-05-27 | 松下电器产业株式会社 | Display object layout changing device |
US20100202077A1 (en) * | 2009-02-09 | 2010-08-12 | Samsung Electronics Co., Ltd. | Flat panel display device and method for producing the same |
CN102737615A (en) * | 2011-03-31 | 2012-10-17 | 索尼公司 | Display control device, display control method, and program |
CN102594723A (en) * | 2012-03-31 | 2012-07-18 | 上海量明科技发展有限公司 | Instant communication message window separation method and system |
US20130300987A1 (en) * | 2012-05-10 | 2013-11-14 | Ming-Chan Ho | Eye-friendly calculator |
CN102841804A (en) * | 2012-06-27 | 2012-12-26 | 北京三星通信技术研究有限公司 | Method and device for processing multiple foreground tasks on screen |
CN104769546A (en) * | 2012-09-26 | 2015-07-08 | 谷歌公司 | Intelligent window placement |
CN102981704A (en) * | 2012-11-09 | 2013-03-20 | 广东欧珀移动通信有限公司 | Icon placement method and mobile terminal of display interface |
CN104219376A (en) * | 2013-05-31 | 2014-12-17 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN105556451A (en) * | 2013-06-07 | 2016-05-04 | 苹果公司 | User interfaces for multiple displays |
US20150046834A1 (en) * | 2013-08-09 | 2015-02-12 | Lenovo (Beijing) Co., Ltd. | Information processing apparatus and information processing method |
CN104461220A (en) * | 2013-09-13 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104580980A (en) * | 2013-10-22 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105677166A (en) * | 2014-11-19 | 2016-06-15 | 阿里巴巴集团控股有限公司 | Adjusting method and device for input method window |
CN104615764A (en) * | 2015-02-13 | 2015-05-13 | 北京搜狗科技发展有限公司 | Display method and electronic equipment |
CN106325836A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | Window widget processing method and device |
CN106681583A (en) * | 2016-12-02 | 2017-05-17 | 广东威创视讯科技股份有限公司 | Method and system for processing displayed content in overlapping windows |
CN107203305A (en) * | 2017-05-03 | 2017-09-26 | 努比亚技术有限公司 | It is switched fast method, mobile terminal and the computer-readable recording medium of application |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114661387A (en) * | 2020-12-23 | 2022-06-24 | 深圳融昕医疗科技有限公司 | Window display method and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107908446B (en) | 2022-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2891966B1 (en) | Electronic glasses and method for correcting color blindness | |
US9905201B2 (en) | Display control method and device for application program interface | |
US10884605B2 (en) | Methods and systems for displaying hidden information on a web page | |
JP5531160B2 (en) | Appearance processing method and appearance processing apparatus of widget system | |
CN107544730B (en) | Picture display method and device and readable storage medium | |
US20150261319A1 (en) | Display control method and user equipment | |
CN108304205A (en) | A kind of update method of application program, terminal and computer readable storage medium | |
CN108881616B (en) | Display control method and device, storage medium and terminal | |
CN106331178A (en) | Information sharing method and mobile terminal | |
CN113190803B (en) | Processing method, apparatus and storage medium | |
CN104808959B (en) | Information processing method and electronic equipment | |
CN105955802A (en) | Application operation method for mobile terminal, and mobile terminal | |
US20170075553A1 (en) | Method of controlling indication, user terminal device, and indication control program | |
CN107908446A (en) | Window display method, device and computer-readable recording medium | |
CN107992262A (en) | Split screen display available interface control method, mobile terminal and computer-readable recording medium | |
JP6564859B2 (en) | Color gamut mapping method and apparatus | |
US20150234576A1 (en) | Method and apparatus for displaying information and electronic device adapted to the method | |
US20170039733A1 (en) | Gui display method and apparatus, and terminal device | |
CN108600498B (en) | Information prompting method and device | |
US9524703B2 (en) | Method of operating an electronic device providing a bioeffect image | |
CN106201255A (en) | A kind of information processing method and electronic equipment | |
CN107491353A (en) | Method for recovering internal storage, device and computer-readable recording medium | |
CN104572271B (en) | Multi-tag page browsing device prevents seemingly-dead method and system | |
CN108132716B (en) | Adjustment method and device of browsing page and computer readable storage medium | |
CN104516696A (en) | Information processing method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |