CN106980498A - Window management method and device - Google Patents
Window management method and device Download PDFInfo
- Publication number
- CN106980498A CN106980498A CN201710081733.6A CN201710081733A CN106980498A CN 106980498 A CN106980498 A CN 106980498A CN 201710081733 A CN201710081733 A CN 201710081733A CN 106980498 A CN106980498 A CN 106980498A
- Authority
- CN
- China
- Prior art keywords
- window
- pop
- display
- affiliated application
- pattern
- 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
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of window management method and device, belong to field of terminal technology.Methods described includes:Obtain the pattern open instruction for corresponding to the first window currently shown;According to pattern open instruction, control first window, which enters, prevents pop-up pattern;Wherein, after first window enters prevention pop-up pattern, the display level of first window is arranged to be consistently higher than the display level of the window of the other application in addition to the affiliated application of first window;When getting for asking the pop-up request by the second window pop-up display, the affiliated application of the second window is obtained;Detect whether the affiliated application of the second window is identical with the affiliated application of first window;If both are different, forbid the second window pop-up display in the upper strata of first window.The embodiment of the present invention allows the window pop-up display due to that need not decide whether according to the feature of window, therefore, it is possible to overcome problems of the prior art, more efficient, comprehensively intercept pop-up.
Description
Technical field
The present embodiments relate to field of terminal technology, more particularly to a kind of window management method and device.
Background technology
At present, can such as be installed in the terminal device of mobile phone, tablet personal computer etc types of applications (application,
APP), to expand the function of terminal device.Some applications can eject various windows (such as advertisement windows, message window) on backstage,
The normal of window of the current display of terminal device is checked or used so as to have influence on user.
Usually, pop-up is installed in terminal device and intercepts software, pop-up intercepts software and possesses the function of intercepting pop-up.Bullet
Window intercepts software and has monitored whether window request pop-up display in real time, when having monitored window request pop-up display, and detection should
Whether window belongs to preset the need for the window (be blacklist window) that intercepts, if the window belongs to blacklist window
Mouthful, then forbid the window pop-up display;Otherwise the window pop-up display is allowed.Pop-up, which intercepts software, can extract the spy of window
Levy, the feature and the feature of blacklist window of the window of pop-up display will be asked to be compared, determined to ask according to comparison result
Whether the window of ejection belongs to blacklist window.
The content of the invention
The embodiments of the invention provide a kind of window management method and device.
First aspect includes there is provided a kind of window management method, methods described:
Obtain the pattern open instruction for corresponding to the first window currently shown;
According to the pattern open instruction, control the first window to enter and prevent pop-up pattern;Wherein, described first
Window enters after the prevention pop-up pattern, and the display level of the first window is arranged to be consistently higher than except described first
The display level of the window of other application outside the affiliated application of window;
When getting for asking the pop-up request by the second window pop-up display, the affiliated of second window is obtained
Using;
Detect whether the affiliated application of second window is identical with the affiliated application of the first window;
If the affiliated application of second window is different from the affiliated application of the first window, forbid second window
Mouth pop-up display is in the upper strata of the first window.
In a possible design, the affiliated application of the detection second window with belonging to the first window
After whether identical, in addition to:
If the affiliated application of second window is identical with the affiliated application of the first window, by second window
Pop-up display is in the upper strata of the first window.
Alternatively, methods described also includes:
Second window is controlled to enter the prevention pop-up pattern.
In a possible design, it is described forbid the second window pop-up display in the upper strata of the first window it
Before, in addition to:
Whether the affiliated application for detecting second window is operating system;
If the affiliated application of second window is different from the affiliated application of the first window, and second window
Affiliated application is not the operating system, then forbids the second window pop-up display in the upper of the first window described in execution
The step of layer.
In a possible design, it is described forbid the second window pop-up display in the upper strata of the first window it
Afterwards, in addition to:
Close the window for being located at the window lower floor that the superiors show.
Alternatively, the window for closing the window lower floor shown positioned at the superiors, including:
For any one window of the window lower floor shown positioned at the superiors, when the window exceed preset duration not by
When switching to the superiors' display, the window is closed;
And/or,
When the number of windows of the window lower floor shown positioned at the superiors is more than predetermined number, closes at least one and be located at most
The window for the window lower floor that upper strata is shown.
It is described according to the pattern open instruction in a possible design, control the first window to enter and prevent
After pop-up pattern, in addition to:
The pattern obtained corresponding to the first window, which is closed, to be indicated;
Closed and indicated according to the pattern, control the first window to exit the prevention pop-up pattern.
Alternatively, described closed according to the pattern indicates, controls the first window to exit the prevention pop-up pattern
Afterwards, in addition to:
The display level of the first window is set to original hierarchical, the original hierarchical refers to enter the prevention bullet
The display level of display level or default setting before window pattern.
In a possible design, methods described also includes:
The corresponding functional switch of display window management function;Wherein, the window management function refers to that control window enters
The function of the prevention pop-up pattern;
When getting the open instruction corresponding to the functional switch, the window management function is opened;
When getting the closing instruction corresponding to the functional switch, the window management function is closed.
Second aspect includes there is provided a kind of counter management apparatus, described device:
First acquisition module, the pattern open instruction of the first window currently shown is corresponded to for obtaining;
First control module, pop-up mould is prevented for according to the pattern open instruction, controlling the first window to enter
Formula;Wherein, after the first window enters the prevention pop-up pattern, the display level of the first window is arranged to
The display level of the window for the other application being consistently higher than in addition to the affiliated application of the first window;
Second acquisition module, for when getting for asking the pop-up request by the second window pop-up display, obtaining
The affiliated application of second window;
First detection module, be for detecting the affiliated application of second window with the affiliated application of the first window
It is no identical;
Disabled module, if different for the affiliated application of second window and the affiliated application of the first window,
Forbid the second window pop-up display in the upper strata of the first window.
In a possible design, described device also includes:
Display module, if identical for the affiliated application of second window and the affiliated application of the first window,
By the second window pop-up display in the upper strata of the first window.
Alternatively, described device also includes:
Second control module, for controlling second window to enter the prevention pop-up pattern.
In a possible design, described device also includes:
Second detection module, for detecting whether the affiliated application of second window is operating system;
The disabled module, if being additionally operable to the affiliated application of the affiliated application of second window and the first window not
Together, and the affiliated application of second window is not the operating system, then the second window pop-up display is forbidden in described
The upper strata of first window.
In a possible design, described device also includes:
Closedown module, the window for the window lower floor that the superiors show is located at for closing.
Alternatively, the closedown module, is used for:
For any one window of the window lower floor shown positioned at the superiors, when the window exceed preset duration not by
When switching to the superiors' display, the window is closed;
And/or,
When the number of windows of the window lower floor shown positioned at the superiors is more than predetermined number, closes at least one and be located at most
The window for the window lower floor that upper strata is shown.
In a possible design, described device also includes:
3rd acquisition module, the pattern for obtaining corresponding to the first window, which is closed, to be indicated;
3rd control module, is indicated for being closed according to the pattern, controls the first window to exit the prevention bullet
Window pattern.
Alternatively, described device also includes:
Setup module, for the display level of the first window to be set into original hierarchical, the original hierarchical refers to
The display level of display level or default setting before into the prevention pop-up pattern.
In a possible design, described device also includes:
Display module is switched, for the corresponding functional switch of display window management function;Wherein, the window management function
Refer to the function of controlling window to enter the prevention pop-up pattern;
Function opening module, for when getting the open instruction corresponding to the functional switch, opening the window
Management function;
Function closedown module, for when getting the closing instruction corresponding to the functional switch, closing the window
Management function.
Brief description of the drawings
Fig. 1 is the flow chart for the window management method that one embodiment of the invention is provided;
Fig. 2 is the flow chart for the window management method that another embodiment of the present invention is provided;
Fig. 3 is the block diagram for the counter management apparatus that one embodiment of the invention is provided;
Fig. 4 is the block diagram for the counter management apparatus that another embodiment of the present invention is provided;
Fig. 5 is the structural representation for the terminal device that one embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
In embodiments of the present invention, indicate that control window enters a kind of AD HOC according to user, the AD HOC can claim
To prevent pop-up pattern, after a certain window, which enters, prevents pop-up pattern, the display level of the window is arranged to high all the time
In the display level of the window of the other application in addition to being applied belonging to the window.That is, preventing pop-up when a certain window enters
After pattern, the window is shown positioned at top layer, and the window of the other application in addition to being applied belonging to the window can not eject aobvious
The upper strata of the window is shown in, so as to reach the purpose for intercepting pop-up.Also, due to that need not be decided whether according to the feature of window
Allow the window pop-up display, it is more efficient, comprehensively intercept pop-up therefore, it is possible to overcome problems of the prior art.
By taking Android (Android) system as an example, there are a window management service, referred to as window in android system
Manager service, window management service is used for the window of management system and application, including various window informations, Window layer
Secondary, window drafting, window animation, whether visible window, window transparency, window are shown etc..In android system, often
One window corresponds to an activity component.By changing the window management service of android system, in window management clothes
Increase windowing system provided in an embodiment of the present invention in business, so as to be realized in android system more efficient, comprehensive
Pop-up intercepts function.
Method provided in an embodiment of the present invention, the executive agent of each step can be terminal device, such as mobile phone, flat board electricity
Brain, E-book reader, multimedia play equipment, PDA (Personal Digital Assistant, personal digital assistant),
Wearable device, PC (Personal Computer, personal computer) etc..Alternatively, when the operating system of terminal device is
During android system, the executive agent of following each steps can be the window management service in android system.
It is further detailed to the embodiment of the present invention in terms of the general character being related to below based on invention described above embodiment
Describe in detail bright.
Fig. 1 is refer to, the flow chart of the window management method provided it illustrates one embodiment of the invention.This method can
With including following several steps.
Step 101, the pattern open instruction for corresponding to the first window currently shown is obtained.
The first window that terminal device is currently shown can be application widget or system windows.Application widget is
Refer to the window that the application installed in terminal device is provided.The application installed in terminal device can be system application, can also
It is third-party application.System application refers to the application that terminal device has been installed when dispatching from the factory, and third-party application refers to by user
The application of installation is downloaded in terminal device.By taking Video Applications as an example, the window that Video Applications are provided includes video menu window
Mouth, video search window, video playback window etc..System windows refer to the window that the operating system of terminal device is provided,
System windows include desktop window, informing window, systemic-function menu window etc..
Pattern open instruction is used to indicate to open to prevent pop-up pattern.Pattern open instruction passes through predefined by user
One operation triggering, predefined first operation can be preset by system, can also be set by User Defined.For example,
Predefined first operation can be click on operation, slide or pressing operation etc..In view of such as clicking, along straight path
Slide this kind of conventional operation and be used in some functions that triggering window is provided, thus be accordingly used in the first of triggering pattern open instruction
Operation can select non-conventional operation, and such as double click operation, three hit operation, the slide along a certain particular track, weight behaviour
Make etc., so as to help avoid maloperation.In addition, above only exemplified by triggering pattern open instruction by touch control operation,
In other possible ways of realization, can also by voice, gesture etc. trigger pattern open instruction, the embodiment of the present invention to this not
It is construed as limiting.
In an example it is assumed that predefined first operation is double click operation, the first window currently shown is video
The video playback window of application, user performs double click operation triggering pattern open instruction in the optional position of video playback window,
Correspondingly, terminal device obtains the pattern open instruction for corresponding to the video playback window currently shown.
Step 102, according to pattern open instruction, control first window, which enters, prevents pop-up pattern.
Terminal device is after the pattern open instruction corresponding to first window is got, and control first window, which enters, to be prevented
Pop-up pattern.After first window enters prevention pop-up pattern, the display level of first window, which is arranged to be consistently higher than, to be removed
The display level of the window of other application outside the affiliated application of first window.That is, preventing pop-up when first window enters
After pattern, the first window is shown positioned at top layer, and the window of the other application in addition to being applied belonging to first window can not bullet
Go out to be shown in the upper strata for the first window that the top layer is shown.
If first window is application widget, application belonging to first window is the application installed in terminal device, is such as
System application or third-party application.If first window is system windows, the affiliated application of first window is operating system,
First window enter prevent pop-up pattern after, the first window is shown positioned at top layer, the window that division operation system is provided it
The window of outer other application can not pop-up display in the upper strata of the first window.
By taking android system as an example, windows detecting function, the windows detecting function can be increased in window management service
The affiliated application of each window is can recognize that, the windows detecting function can also identify whole windows of each application, behaviour
Make whole windows of system.So, after a certain window, which enters, prevents pop-up pattern, window management service shows the window
Show that level is set to highest level, also will the window bring to Front display, even if there is the window request bullet for being not belonging to the application
Go out display, also can not pop-up display in the upper strata of the window, can only be shown in the lower floor of the window so that user can't see
It is not belonging to the window of the application, it is to avoid have influence on user and the normal of window currently shown is checked and used.
Step 103, when getting for asking the pop-up request by the second window pop-up display, the second window is obtained
Affiliated application.
Terminal device obtains second window when getting for asking the pop-up request by the second window pop-up display
Affiliated application bag name.Window management services the bag name according to the affiliated application of the second window, you can determine the second window
Affiliated application.
Step 104, whether the affiliated application of the second window of detection is identical with the affiliated application of first window.If it is not, then holding
Row following step 105;If so, then performing following step 106.
Alternatively, terminal device detects the bag name of the affiliated application of the Bao Mingyu first windows of the affiliated application of the second window
It is whether identical.
Step 105, the second window pop-up display is forbidden in the upper strata of first window.
Alternatively, the lower floor for the first window that terminal device shows the second window pop-up display in current top layer, or
Person does not show second window.
Step 106, by the second window pop-up display in the upper strata of first window, and the second window is controlled to enter prevention pop-up
Pattern.
When the second window is identical with the affiliated application of first window, terminal device allow the second window pop-up display in
The upper strata for the first window that current top layer is shown.Also, terminal device controls the second window to enter and prevents pop-up pattern.Second
Window enters prevent pop-up pattern after, the display level of the second window is arranged to be consistently higher than except being answered belonging to the second window
The display level of the window of other application outside.
For example, first window is the video playback window of Video Applications, user is regarded by the predefined first operation triggering
Frequency broadcast window, which enters, prevents pop-up pattern, and now video playback window is shown positioned at top layer.When terminal device gets second
During window request pop-up display, detect whether second window belongs to the window of the Video Applications;If second window belongs to
The window of the Video Applications, then allow the upper strata for the video playback window that the second window pop-up display shows in current top layer;
If second window is not belonging to the window of the Video Applications, forbid what the second window pop-up display was shown in current top layer
The upper strata of video playback window, the lower floor for the video playback window for for example showing the second window pop-up display in current top layer
Or do not show second window.
Alternatively, also comprise the following steps before above-mentioned steps 105:Whether the affiliated application for detecting the second window is operation
System.If the affiliated application of the second window is different from the affiliated application of first window, and the affiliated application of the second window is not behaviour
Make system, then terminal device forbids the second window pop-up display in the upper strata of first window.
In the examples described above, it is allowed to the upper strata for the first window that system windows pop-up display is shown in top layer, system windows
Refer to the window that pop-up display is asked by operating system.Sent by the above-mentioned means, user can be avoided to omit some systems
Documentary whip, alarm or PUSH message.
In a kind of possible embodiment, terminal device first detects the affiliated application of the second window and the institute of first window
Whether category application is identical;If identical, by the second window pop-up display in the upper strata of first window, and the second window is controlled to enter
Prevent pop-up pattern;If differing, whether the affiliated application for detecting the second window is operating system;If the second window is affiliated
Using being operating system, then by the second window pop-up display in the upper strata of first window;If the affiliated application of the second window is not
Operating system, then forbid the second window pop-up display in the upper strata of first window.
In alternatively possible embodiment, terminal device first detects whether the affiliated application of the second window is operation system
System;If the affiliated application of the second window is operating system, by the second window pop-up display in the upper strata of first window;If second
The affiliated application of window is not operating system, then detect the affiliated application of the second window and first window affiliated application whether phase
Together;If identical, by the second window pop-up display in the upper strata of first window, and the second window is controlled to enter prevention pop-up mould
Formula;If it is different, then forbidding the second window pop-up display in the upper strata of first window.
In addition, in the above-described embodiments, after first window enters prevention pop-up pattern, it is allowed to which pop-up display is in first
The window on window upper strata is whole windows of the affiliated application of first window.In other possible ways of realization, in the first window
Mouthful enter after preventing pop-up pattern, it is allowed to which window of the pop-up display in first window upper strata can also be belonging to first window
The Partial Window of application, such as Partial Window are whole subwindows of first window, or Partial Window is first window
Whole subwindows of whole parent windows and first window, the embodiment of the present invention is not construed as limiting to this.
Alternatively, terminal device forbids the second window pop-up display after the upper strata of first window, in addition to following step
Suddenly:Terminal device closes the window for being located at the window lower floor that the superiors show.It is whole for either window in android system
End equipment can be realized by closing the corresponding activity components of the window and close the window.By the above-mentioned means, realizing to non-
The window that top layer is shown is cleared up automatically, it is to avoid user clears up manually.
In a kind of possible embodiment, terminal device periodically closes the window for being located at the window lower floor that the superiors show
Mouthful.For any one window of the window lower floor shown positioned at the superiors, when the window is not switched to more than preset duration
When the superiors' (namely top layer) show, terminal device closes the window.Above-mentioned preset duration can be by default, can also be by
User Defined is set, and such as preset duration is 1 minute.
In alternatively possible embodiment, preset when the number of windows of the window lower floor shown positioned at the superiors is more than
During quantity, terminal device closes the window of at least one window lower floor shown positioned at the superiors.Above-mentioned predetermined number can be by
Default, can also be set by User Defined, and such as predetermined number is 5.Exemplarily, when showing positioned at the superiors
When the number of windows of window lower floor is more than predetermined number, terminal device closes the window ejected earliest.
It should be noted that the window that the window that terminal device is closed automatically, which is automatic spring, to be shown, for being touched by user
Hair is shown but switches to the window that non-top layer is shown by user, and terminal device can not automatically be closed to it, it is to avoid influence
Called to the switching of user subsequently.
Alternatively, as shown in Fig. 2 also comprising the following steps after above-mentioned steps 102:
Step 107, the pattern obtained corresponding to first window, which is closed, to be indicated.
Pattern, which is closed, to be indicated to be used to indicate to close to prevent pop-up pattern.Pattern, which is closed, to be indicated by user by predefined the
Two operation triggerings, predefined second operation can be preset by system, can also be set by User Defined.This makes a reservation for
Second operation of justice can be identical with predefined first operation, can also be different.When the predefined second operation is with predefining
The first operation it is identical when, opened and closed by same operation triggering and prevent pop-up pattern, the operation of user is required to reduce.
Step 108, closed and indicated according to pattern, control first window exits prevention pop-up pattern.
Terminal device is after the pattern closing instruction corresponding to first window is got, and control first window exits prevention
Pop-up pattern.
Alternatively, also comprise the following steps after above-mentioned steps 102:When terminal device is detected except belonging to first window
When other windows beyond are switched to top layer display, terminal device control first window exits prevention pop-up pattern.It is logical
Aforesaid way is crossed, realization automatically exits from preventing pop-up pattern, simplifies user's operation.
Alternatively, 109 are also comprised the following steps after above-mentioned steps 108:
Step 109, the display level of first window is set to original hierarchical.
Original hierarchical refers to enter the display level for preventing display level or default setting before pop-up pattern.
When one window enters prevention pop-up pattern, first window can entered the display layer before preventing pop-up pattern by terminal device
Level is preserved, when first window exits prevention pop-up pattern, the display level that terminal device is preserved before, by first window
Display level be set to enter prevent pop-up pattern before display level.Entering if terminal device does not preserve first window
Enter to prevent the display level before pop-up pattern, then when first window exits prevention pop-up pattern, terminal device is by the first window
The display level of mouth is set to the display level of default setting, and the display level of the default setting can be applied or system default
The display level of setting.
Alternatively, the method that the present embodiment is provided also comprises the following steps:Terminal device display window management function correspondence
Functional switch, window management function refers to control window to enter the function of preventing pop-up pattern, namely function described above;
Terminal device is opened window management function, opened in window management function when getting the open instruction corresponding to functional switch
After opening, terminal device can be managed by window management function described above to window;Terminal device is being got pair
Window management function should be closed when the closing of functional switch is indicated.It is selectively opened by the above-mentioned means, realizing user
Or window management function is closed, preferably meet user's actual need.
In summary, method provided in an embodiment of the present invention, pop-up is prevented by indicating that control window enters according to user
Pattern, after window, which enters, prevents pop-up pattern, the window is shown positioned at top layer, other in addition to being applied belonging to the window
The window of application can not pop-up display in the upper strata of the window so that reach intercept pop-up purpose.Also, due to not needing
Decided whether to allow the window pop-up display according to the feature of window, therefore, it is possible to overcome problems of the prior art, more
Added with effect, comprehensively intercept pop-up.
In addition, when the second window of request pop-up display is identical with the affiliated application of first window, automatically controlling second
Window, which enters, prevents pop-up pattern so that between the different windows of same application during switching display, can prevent all the time
The window pop-up display of other application is in the window upper strata of the application currently shown, it is ensured that user is in the process using same application
In do not disturbed by pop-up, fully improve user usage experience.
In addition, being also located at the window for the window lower floor that the superiors show by closing, the window shown to non-top layer is realized
Automatically cleared up, it is to avoid user clears up manually.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention
The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 3 is refer to, the block diagram of the counter management apparatus provided it illustrates one embodiment of the invention.The device has
The function of above method example is realized, the function can be realized by hardware, corresponding software can also be performed by hardware and is realized.
The device can include:First acquisition module 310, the first control module 320, the second acquisition module 330, first detection module
340 and disabled module 350.
First acquisition module 310, the pattern open instruction of the first window currently shown is corresponded to for obtaining.
First control module 320, pop-up is prevented for according to the pattern open instruction, controlling the first window to enter
Pattern;Wherein, after the first window enters the prevention pop-up pattern, the display level of the first window is set
For the display level for the window of other application being consistently higher than in addition to the affiliated application of the first window.
Second acquisition module 330, for when getting for asking the pop-up request by the second window pop-up display, obtaining
Take the affiliated application of second window.
First detection module 340, for detecting the affiliated application of second window with being answered belonging to the first window
With whether identical.
Disabled module 350, if different for the affiliated application of second window and the affiliated application of the first window,
Then forbid the second window pop-up display in the upper strata of the first window.
In summary, the device that the present embodiment is provided, pop-up pattern is prevented by indicating that control window enters according to user,
After window, which enters, prevents pop-up pattern, the window is shown positioned at top layer, the other application in addition to being applied belonging to the window
Window can not pop-up display in the upper strata of the window so that reach intercept pop-up purpose.Also, due to need not basis
The feature of window decides whether to allow the window pop-up display, therefore, it is possible to overcome problems of the prior art, more added with
Imitate, comprehensively intercept pop-up.
In the alternative embodiment provided based on embodiment illustrated in fig. 3, as shown in figure 4, described device also includes:It is aobvious
Show module 360.
Display module 360, if identical for the affiliated application of second window and the affiliated application of the first window,
Then by the second window pop-up display in the upper strata of the first window.
Alternatively, described device also includes:Second control module 370.
Second control module 370, for controlling second window to enter the prevention pop-up pattern.
In another alternative embodiment provided based on embodiment illustrated in fig. 3, described device also includes:Second detection mould
Block.
Second detection module, for detecting whether the affiliated application of second window is operating system.
The disabled module, if being additionally operable to the affiliated application of the affiliated application of second window and the first window not
Together, and the affiliated application of second window is not the operating system, then the second window pop-up display is forbidden in described
The upper strata of first window.
In another alternative embodiment provided based on embodiment illustrated in fig. 3, described device also includes:Closedown module.
Closedown module, the window for the window lower floor that the superiors show is located at for closing.
Alternatively, the closedown module, is used for:
For any one window of the window lower floor shown positioned at the superiors, when the window exceed preset duration not by
When switching to the superiors' display, the window is closed;
And/or,
When the number of windows of the window lower floor shown positioned at the superiors is more than predetermined number, closes at least one and be located at most
The window for the window lower floor that upper strata is shown.
In another alternative embodiment provided based on embodiment illustrated in fig. 3, described device also includes:3rd acquisition module
With the 3rd control module.
3rd acquisition module, the pattern for obtaining corresponding to the first window, which is closed, to be indicated.
3rd control module, is indicated for being closed according to the pattern, controls the first window to exit the prevention bullet
Window pattern.
Alternatively, described device also includes:Setup module.
Setup module, for the display level of the first window to be set into original hierarchical, the original hierarchical refers to
The display level of display level or default setting before into the prevention pop-up pattern.
In another alternative embodiment provided based on embodiment illustrated in fig. 3, described device also includes:Switch shows mould
Block, function opening module and function closedown module.
Display module is switched, for the corresponding functional switch of display window management function;Wherein, the window management function
Refer to the function of controlling window to enter the prevention pop-up pattern.
Function opening module, for when getting the open instruction corresponding to the functional switch, opening the window
Management function.
Function closedown module, for when getting the closing instruction corresponding to the functional switch, closing the window
Management function.
It should be noted that:The device that above-described embodiment is provided is when realizing its function, only with above-mentioned each functional module
Progress is divided for example, in practical application, can as needed and by above-mentioned functions distribute and be completed by different functional modules,
The internal structure of equipment is divided into different functional modules, to complete all or part of function described above.In addition,
The apparatus and method embodiment that above-described embodiment is provided belongs to same design, and it implements process and refers to embodiment of the method, this
In repeat no more.
Fig. 5 is refer to, the structural representation of the terminal device provided it illustrates one embodiment of the invention.The terminal is set
It is ready for use on the window management method for implementing to be provided in above-described embodiment.Specifically:
Terminal device 500 can include RF (Radio Frequency, radio frequency) circuit 510, include one or one with
Memory 520, input block 530, display unit 540, sensor 550, the voicefrequency circuit of upper computer-readable recording medium
560th, WiFi (wireless fidelity, Wireless Fidelity) module 570, include one or more than one processing core
The part such as processor 580 and power supply 590.It will be understood by those skilled in the art that the terminal device structure shown in Fig. 5 is simultaneously
The restriction to terminal device is not constituted, can be included than illustrating more or less parts, either combines some parts or not
Same part arrangement.Wherein:
RF circuits 510 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, transfer to one or more than one processor 580 is handled;In addition, being sent to up data are related to
Base station.Generally, RF circuits 510 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 510 can also be communicated by radio communication with network and other equipment.The radio communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short
Messaging Service, Short Message Service) etc..
Memory 520 can be used for storage software program and module, and processor 580 is stored in memory 520 by operation
Software program and module, so as to perform various function application and data processing.Memory 520 can mainly include storage journey
Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored to be created according to using for terminal device 500
Data (such as voice data, phone directory etc.) etc..In addition, memory 520 can include high-speed random access memory, may be used also
With including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states
Part.Correspondingly, memory 520 can also include Memory Controller, to provide processor 580 and input block 530 pairs of storages
The access of device 520.
Input block 530 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 530 may include figure
As input equipment 531 and other input equipments 532.Image input device 531 can be camera or optoelectronic scanning
Equipment.Except image input device 531, input block 530 can also include other input equipments 532.Specifically, other are inputted
Equipment 532 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One or more in mark, action bars etc..
Display unit 540 can be used for the information and terminal device for showing the information inputted by user or being supplied to user
500 various graphical user interface, these graphical user interface can by figure, text, icon, video and its any combination Lai
Constitute.Display unit 540 may include display panel 541, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 541.
Terminal device 500 may also include at least one sensor 550, such as optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 541, proximity transducer can when terminal device 500 is moved in one's ear,
Close display panel 541 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity, available for identification mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes
Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for can also configure as terminal device 500 etc. other
Sensor, will not be repeated here.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the COBBAIF between user and terminal device 500.
Electric signal after the voice data received conversion can be transferred to loudspeaker 561, is changed by loudspeaker 561 by voicefrequency circuit 560
Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, is connect by voicefrequency circuit 560
Be converted to voice data after receipts, then after voice data output processor 580 is handled, it is such as another to be sent to through RF circuits 510
One terminal device, or voice data is exported to memory 520 so as to further processing.Voicefrequency circuit 560 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 500.
WiFi belongs to short range wireless transmission technology, and terminal device 500 can help user to receive and dispatch by WiFi module 570
Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5
WiFi module 570 is shown, but it is understood that, it is simultaneously not belonging to must be configured into for terminal device 500, completely can root
Omitted according to needs in the essential scope for do not change invention.
Processor 580 is the control centre of terminal device 500, utilizes each of various interfaces and connection whole mobile phone
Part, by operation or performs and is stored in software program and/or module in memory 520, and calls and be stored in memory
Data in 520, perform the various functions and processing data of terminal device 500, so as to carry out integral monitoring to mobile phone.It is optional
, processor 580 may include one or more processing cores;It is preferred that, processor 580 can integrated application processor and modulatedemodulate
Processor is adjusted, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor
Main processing radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Terminal device 500 also includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can lead to
Cross power-supply management system and processor 580 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 590 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 500 can also will not be repeated here including bluetooth module etc..
Specifically in the present embodiment, terminal device 500 also includes memory, and one or more than one journey
Sequence, one of them or more than one program storage is configured to by one or more than one processor in memory
Perform.Said one or more than one program bag contain the instruction for being used for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory of instruction, above-mentioned instruction can be completed each in above method embodiment by the computing device of server
Step.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM,
Tape, floppy disk and optical data storage devices etc..
It should be appreciated that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object, expression may have three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A
And B, individualism B these three situations.It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.Term " the
One " and " second " etc. are to be used to distinguish different objects, rather than for describing particular order.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The exemplary embodiment of the present invention is the foregoing is only, is not intended to limit the invention, all spirit in the present invention
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (12)
1. a kind of window management method, it is characterised in that methods described includes:
Obtain the pattern open instruction for corresponding to the first window currently shown;
According to the pattern open instruction, control the first window to enter and prevent pop-up pattern;Wherein, in the first window
Into after the prevention pop-up pattern, the display level of the first window is arranged to be consistently higher than except the first window
Affiliated application outside other application window display level;
When getting for asking the pop-up request by the second window pop-up display, obtaining the affiliated of second window should
With;
Detect whether the affiliated application of second window is identical with the affiliated application of the first window;
If the affiliated application of second window is different from the affiliated application of the first window, forbid the second window bullet
Go out the upper strata for being shown in the first window.
2. according to the method described in claim 1, it is characterised in that the affiliated application of detection second window with it is described
After whether the affiliated application of first window is identical, in addition to:
If the affiliated application of second window is identical with the affiliated application of the first window, second window is ejected
It is shown in the upper strata of the first window.
3. method according to claim 2, it is characterised in that methods described also includes:
Second window is controlled to enter the prevention pop-up pattern.
4. according to the method described in claim 1, it is characterised in that described to forbid the second window pop-up display in described
Before the upper strata of one window, in addition to:
Whether the affiliated application for detecting second window is operating system;
If the affiliated application of second window is different from the affiliated application of the first window, and second window is affiliated
Using not being the operating system, then forbid the second window pop-up display in the upper strata of the first window described in execution
Step.
5. the method according to any one of Claims 1-4, it is characterised in that described to forbid the second window ejection aobvious
After the upper strata for being shown in the first window, in addition to:
Close the window for being located at the window lower floor that the superiors show.
6. method according to claim 5, it is characterised in that the closing is located at the window for the window lower floor that the superiors show
Mouthful, including:
For any one window of the window lower floor shown positioned at the superiors, when the window is not switched more than preset duration
When being shown to the superiors, the window is closed;
And/or,
When the number of windows of the window lower floor shown positioned at the superiors is more than predetermined number, at least one is closed positioned at the superiors
The window of the window lower floor of display.
7. a kind of counter management apparatus, it is characterised in that described device includes:
First acquisition module, the pattern open instruction of the first window currently shown is corresponded to for obtaining;
First control module, pop-up pattern is prevented for according to the pattern open instruction, controlling the first window to enter;Its
In, after the first window enters the prevention pop-up pattern, the display level of the first window is arranged to all the time
Higher than the display level of the window of the other application in addition to the affiliated application of the first window;
Second acquisition module, for when getting for asking the pop-up request by the second window pop-up display, obtaining described
The affiliated application of second window;
First detection module, for detect the affiliated application of second window and the first window affiliated application whether phase
Together;
Disabled module, if different for the affiliated application of second window and the affiliated application of the first window, forbids
The second window pop-up display is in the upper strata of the first window.
8. device according to claim 7, it is characterised in that described device also includes:
Display module, if identical for the affiliated application of second window and the affiliated application of the first window, by institute
The second window pop-up display is stated in the upper strata of the first window.
9. device according to claim 8, it is characterised in that described device also includes:
Second control module, for controlling second window to enter the prevention pop-up pattern.
10. device according to claim 7, it is characterised in that described device also includes:
Second detection module, for detecting whether the affiliated application of second window is operating system;
The disabled module, if the affiliated application for being additionally operable to second window is different from the affiliated application of the first window,
And the affiliated application of second window is not the operating system, then forbid the second window pop-up display in described first
The upper strata of window.
11. the device according to any one of claim 7 to 10, it is characterised in that described device also includes:
Closedown module, the window for the window lower floor that the superiors show is located at for closing.
12. device according to claim 11, it is characterised in that the closedown module, is used for:
For any one window of the window lower floor shown positioned at the superiors, when the window is not switched more than preset duration
When being shown to the superiors, the window is closed;
And/or,
When the number of windows of the window lower floor shown positioned at the superiors is more than predetermined number, at least one is closed positioned at the superiors
The window of the window lower floor of display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710081733.6A CN106980498B (en) | 2017-02-15 | 2017-02-15 | Window management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710081733.6A CN106980498B (en) | 2017-02-15 | 2017-02-15 | Window management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106980498A true CN106980498A (en) | 2017-07-25 |
CN106980498B CN106980498B (en) | 2023-06-27 |
Family
ID=59338638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710081733.6A Active CN106980498B (en) | 2017-02-15 | 2017-02-15 | Window management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106980498B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143019A (en) * | 2019-12-31 | 2020-05-12 | 中国银行股份有限公司 | Control method and system for pop-up window of mobile terminal |
CN111212313A (en) * | 2019-12-13 | 2020-05-29 | 珠海格力电器股份有限公司 | Advertisement display method, device, storage medium and computer equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040189712A1 (en) * | 2003-03-27 | 2004-09-30 | International Business Machines Corporation | Method and apparatus for managing windows |
US20070192734A1 (en) * | 2006-02-16 | 2007-08-16 | Viktors Berstis | Methods and arrangements to control pop-up windows |
CN102880450A (en) * | 2011-07-15 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method and equipment for managing instant messaging window |
CN102902515A (en) * | 2011-07-25 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Software window processing method and device |
CN103514019A (en) * | 2013-10-09 | 2014-01-15 | 北京奇虎科技有限公司 | Method and device for processing pop-up window |
US8667417B1 (en) * | 2008-09-01 | 2014-03-04 | Google Inc. | Methods and systems for pop-up suppression |
CN104035683A (en) * | 2014-05-14 | 2014-09-10 | 张智锋 | Split-screen multitask interaction method for communication terminal |
CN104571781A (en) * | 2013-10-18 | 2015-04-29 | 北大方正集团有限公司 | Multi-application window display method and window management device in Android system |
CN104636120A (en) * | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Multi-window display method and device of browser |
CN104714744A (en) * | 2013-12-12 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Information display method, device and terminal equipment based on window |
CN104881601A (en) * | 2015-06-17 | 2015-09-02 | 北京奇虎科技有限公司 | Floating window display setup, control method and device |
CN105094499A (en) * | 2014-04-24 | 2015-11-25 | 青岛海信移动通信技术股份有限公司 | Intelligent mobile terminal and processing method for application windows thereof |
CN105117643A (en) * | 2015-09-23 | 2015-12-02 | 北京金山安全软件有限公司 | Method and device for processing popup |
CN106126562A (en) * | 2016-06-15 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of pop-up hold-up interception method and terminal |
-
2017
- 2017-02-15 CN CN201710081733.6A patent/CN106980498B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040189712A1 (en) * | 2003-03-27 | 2004-09-30 | International Business Machines Corporation | Method and apparatus for managing windows |
US20070192734A1 (en) * | 2006-02-16 | 2007-08-16 | Viktors Berstis | Methods and arrangements to control pop-up windows |
US8667417B1 (en) * | 2008-09-01 | 2014-03-04 | Google Inc. | Methods and systems for pop-up suppression |
CN102880450A (en) * | 2011-07-15 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method and equipment for managing instant messaging window |
CN102902515A (en) * | 2011-07-25 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Software window processing method and device |
CN103514019A (en) * | 2013-10-09 | 2014-01-15 | 北京奇虎科技有限公司 | Method and device for processing pop-up window |
CN104571781A (en) * | 2013-10-18 | 2015-04-29 | 北大方正集团有限公司 | Multi-application window display method and window management device in Android system |
CN104636120A (en) * | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Multi-window display method and device of browser |
CN104714744A (en) * | 2013-12-12 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Information display method, device and terminal equipment based on window |
CN105094499A (en) * | 2014-04-24 | 2015-11-25 | 青岛海信移动通信技术股份有限公司 | Intelligent mobile terminal and processing method for application windows thereof |
CN104035683A (en) * | 2014-05-14 | 2014-09-10 | 张智锋 | Split-screen multitask interaction method for communication terminal |
CN104881601A (en) * | 2015-06-17 | 2015-09-02 | 北京奇虎科技有限公司 | Floating window display setup, control method and device |
CN105117643A (en) * | 2015-09-23 | 2015-12-02 | 北京金山安全软件有限公司 | Method and device for processing popup |
CN106126562A (en) * | 2016-06-15 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of pop-up hold-up interception method and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111212313A (en) * | 2019-12-13 | 2020-05-29 | 珠海格力电器股份有限公司 | Advertisement display method, device, storage medium and computer equipment |
CN111143019A (en) * | 2019-12-31 | 2020-05-12 | 中国银行股份有限公司 | Control method and system for pop-up window of mobile terminal |
CN111143019B (en) * | 2019-12-31 | 2023-05-23 | 中国银行股份有限公司 | Control method and system for popup window of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106980498B (en) | 2023-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11188197B2 (en) | Side menu displaying method and apparatus and terminal | |
US9794206B2 (en) | Method and apparatus for managing the display of messages of a group chat | |
CN105739699B (en) | A kind of control method and terminal device of message notifying | |
CN103310004A (en) | Method, device and equipment for displaying number of unread messages | |
CN105227890B (en) | Video call method and device | |
CN108205408B (en) | Message display method and device | |
CN104965843A (en) | Method and apparatus for acquiring comment information | |
CN105930049A (en) | Method for avoiding incorrect operation, and terminal | |
CN104899080A (en) | Method and apparatus for switching real-time image in instant messaging | |
CN106506321A (en) | One population message treatment method and terminal device | |
CN104238893A (en) | Video preview image displaying method and device | |
CN104618223A (en) | Information recommendation management method, device and system | |
CN107566255A (en) | Unread message abstraction generating method and device | |
CN106714278A (en) | Method and device for connecting wireless hotspot | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN104199596A (en) | Scene interface switching method and device | |
CN104991699A (en) | Video display control method and apparatus | |
CN104820546A (en) | Functional information exhibition method and apparatus | |
WO2020015571A1 (en) | Mobile terminal, method for running application in background, and device | |
CN105653112A (en) | Method and device for displaying floating layer | |
CN106980498A (en) | Window management method and device | |
CN109062643A (en) | A kind of display interface method of adjustment, device and terminal | |
CN108628534A (en) | A kind of character methods of exhibiting and mobile terminal | |
CN109728918A (en) | Virtual objects sending method, virtual objects method of reseptance, device and storage medium | |
CN106909295A (en) | The processing method and terminal of application program |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |