CN104714725B - A kind of display methods and device of suspended window - Google Patents
A kind of display methods and device of suspended window Download PDFInfo
- Publication number
- CN104714725B CN104714725B CN201510146251.5A CN201510146251A CN104714725B CN 104714725 B CN104714725 B CN 104714725B CN 201510146251 A CN201510146251 A CN 201510146251A CN 104714725 B CN104714725 B CN 104714725B
- Authority
- CN
- China
- Prior art keywords
- main screen
- program
- present procedure
- desktop main
- system desktop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 159
- 238000009434 installation Methods 0.000 claims description 35
- 230000008569 process Effects 0.000 claims description 29
- 238000004140 cleaning Methods 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 6
- 230000006870 function Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
This application provides a kind of display methods of suspended window and devices.The method includes:Obtain the relevant information of the present procedure shown on mobile terminal screen;Judge whether the present procedure is system desktop main screen program by the relevant information;If so, display target suspended window on the screen;If it is not, then not display target suspended window on the screen.When the application can be such that third party's nonsystematic desktop main screen program starts, suspended window is hidden automatically, will not interfere the operation of user.
Description
Technical field
This application involves mobile communication fields, the display methods more particularly to a kind of suspended window and a kind of suspended window
Display device.
Background technology
Currently, part cell phone software can generate corresponding suspended window on mobile phone screen, the effect of these suspended windows is,
When the window of main program is in minimum, user can also be prompted to see the operating status of the program, and can be by clicking this
A little wickets quickly open the window of main program.
For example, 360 mobile security guards provide a suspended window, may be displayed on mobile phone screen, suspended window is shown
Mobile phone used EMS memory occupation amount, there are one the buttons operated for the suspended window, and clicking button can start in cleaning immediately
The action deposited.No matter screens switch can all be located at top to any sub- view.
The above problems of the prior art are that, when user opens third party's nonsystematic desktop main screen program, this is outstanding
Floating window still can be shown in screen top, affect the operation that user carries out third equation.
Therefore, the technical problem that those skilled in the art solve is needed just to be to provide a kind of life of suspended window at present
At method, when third party's nonsystematic desktop main screen program being made to start, suspended window can be hidden automatically, will not interfere the behaviour of user
Make.
Invention content
The application provides a kind of display methods of suspended window, and when the non-desktop main screen program of third party being made to start, suspended window can
To hide automatically, the operation of user will not be interfered.
Present invention also provides a kind of display device of suspended window, to ensure above method application in practice and reality
It is existing.
To solve the above-mentioned problems, this application discloses a kind of display methods of suspended window, including:
Obtain the relevant information of the present procedure shown on mobile terminal screen;
Judge whether the present procedure is system desktop main screen program by the relevant information;
If so, display target suspended window on the screen;If it is not, then not display target suspended window on the screen.
Preferably, the method is repeated according to predeterminated frequency.
Preferably, obtain mobile terminal screen on show present procedure relevant information the step of before, further include:
The screen state information sent by the operating system of mobile terminal installation, judges whether current screen is opened, if so,
The step of then executing judgement.
Preferably, the relevant information is package name, described to obtain the present procedure shown on mobile terminal screen
Relevant information the step of include:
The application programming interfaces API for accessing the operating system of mobile terminal installation, obtains current process name list;
First item process title in the current process name list is extracted, what is as shown on mobile terminal screen is current
The package name of program.
Preferably, described to judge that the step of whether present procedure is system desktop main screen program is wrapped by relevant information
It includes:
Judge in preset system desktop main screen program listing, if include the package name of the present procedure;
If so, the present procedure is system desktop main screen program, if it is not, then the present procedure is not system desktop
Main screen program.
Preferably, described to judge that the step of whether present procedure is system desktop main screen program is wrapped by relevant information
It includes:
The application programming interfaces API for accessing the operating system of mobile terminal installation, by the program-package name of the present procedure
Claim, extracts the attribute information of the present procedure;
In the attribute information for judging the present procedure, if include two attributes of CATEGORY_HOME and DEFAULT;
If so, the present procedure is system desktop main screen program, if it is not, then the present procedure is not system desktop
Main screen program.
Preferably, the system desktop main screen program listing includes the program bag of one or more system desktop main screen programs
Title passes through the preset system desktop main screen program listing of following steps:
The application programming interfaces API for accessing the operating system of mobile terminal installation, obtains all installations of the mobile terminal
The attribute information of program;
In the attribute information for judging each installation procedure, if include two attributes of CATEGORY_HOME and DEFAULT;
If so, judging the program for system desktop main screen program, and the package name of the program is added to system
Desktop main screen program listing.
Preferably, the target suspended window includes one in the target suspended window for showing mobile terminal performance parameter
A default entrance for starting cleaning internal memory operation.
Preferably, on the screen display target suspended window the step of after, the method further includes:
By perhaps carrying out predetermined registration operation in the default entrance access preset of the target suspended window.
Present invention also provides a kind of display devices of suspended window, including:
Relevant information acquisition module, the relevant information for obtaining the present procedure shown on mobile terminal screen.
Program judgment module, for judging whether the present procedure is system desktop main screen journey by the relevant information
Sequence, if so, display module is executed, if it is not, then executing hidden module;
Display module, for display target suspended window on the screen;
Hidden module is used on the screen not display target suspended window.
Preferably, the modules of described device are repeated according to predeterminated frequency.
Preferably, before relevant information acquisition module, further include:
Screen state judgment module, the screen state information that the operating system for being installed by mobile terminal is sent, judges
Whether current screen is opened, if so, executing program judgment module.
Preferably, the relevant information is package name, and the relevant information acquisition module includes:
Process name list acquisition submodule, the application programming interfaces of the operating system for accessing mobile terminal installation
API obtains current process name list;
Package name extracting sub-module, for extracting first item process title in the current process name list, i.e.,
Package name for the present procedure shown on mobile terminal screen.
Preferably, the relevant information judgment module includes:
Package name judging submodule, for judging in preset system desktop main screen program listing, if including institute
The package name of present procedure is stated, if so, the present procedure is system desktop main screen program, if it is not, then described current
Program is not system desktop main screen program.
Preferably, the relevant information judgment module includes:
First attribute information acquisition submodule, the application programming interfaces of the operating system for accessing mobile terminal installation
API extracts the attribute information of the present procedure by the package name of the present procedure;
First attribute information judging submodule, in the attribute information for judging the present procedure, if include
Two attributes of CATEGORY_HOME and DEFAULT, if so, the present procedure is system desktop main screen program, if it is not, then
The present procedure is not system desktop main screen program.
Preferably, the system desktop main screen program listing includes the program bag of one or more system desktop main screen programs
Title passes through the preset system desktop main screen program listing of following submodule:
Second attribute information acquisition submodule, the application programming interfaces of the operating system for accessing mobile terminal installation
API obtains the attribute information of all installation procedures of the mobile terminal;
Second attribute information judging submodule, in the attribute information for judging each installation procedure, if include
Two attributes of CATEGORY_HOME and DEFAULT, if so, judge the program for system desktop main screen program, and by the program
Title be added to system desktop main screen program listing.
Preferably, the target suspended window includes one in the target suspended window for showing mobile terminal performance parameter
A default entrance for starting cleaning internal memory operation.
Preferably, after display module, described device further includes:
Target suspended window operation module, for perhaps being carried out in the default entrance access preset by the target suspended window
Predetermined registration operation.
Compared with prior art, the application has the following advantages:
According to the application, judge whether the present procedure shown on mobile terminal screen is system desktop main screen program, if
It is no, then do not show suspended window, when to make third party's nonsystematic desktop main screen program start, suspended window can be hidden automatically, no
The operation of user can be interfered.
Secondly, the screen state information that the application is also sent by receiving system, confirms whether current screen is opened, if screen
Curtain closes the operation for just stopping judging, achieving the purpose that will not additional waste electric power.
Description of the drawings
Fig. 1 is a kind of flow chart of the display methods embodiment 1 of suspended window of the application;
Fig. 2 is a kind of flow chart of the display methods embodiment 2 of suspended window of the application;
Fig. 3 is a kind of structure diagram of the display device embodiment 1 of suspended window of the application;
Fig. 4 is a kind of structure diagram of the display device embodiment 2 of suspended window of the application.
Specific implementation mode
In order to make the above objects, features, and advantages of the present application more apparent, below in conjunction with the accompanying drawings and it is specific real
Applying mode, the present application will be further described in detail.
Part cell phone software can generate corresponding suspended window on mobile phone screen.When user opens third party's nonsystematic table
When the main screen program of face, which still can be shown in screen top, affect the operation that user carries out third equation.
One of core idea of the application is, judges whether the present procedure shown on mobile terminal screen is system table
Face main screen program, if it is not, not showing suspended window then, when to make the non-Desk system face main screen program of third party start, suspended window can
To hide automatically, the operation of user will not be interfered.
With reference to figure 1, it illustrates a kind of flow charts of the display methods embodiment 1 of suspended window of the application, specifically can be with
Include the following steps:
Step 101, the relevant information for obtaining the present procedure shown on mobile terminal screen;
Whether the present procedure that mobile terminal screen is shown is that system desktop main screen program can be by the phase of present procedure
It closes information to be judged, in a preferred embodiment of the present application, the relevant information can be package name, that is, install
The packet name of program, such as the package name of program " angry bird " is com.angrybird.Preferably, the step 101
May include:
Sub-step S11, the application programming interfaces API for accessing the operating system that mobile terminal is installed obtain current process name
Claim list;
First item process title in sub-step S12, the extraction current process name list, as on mobile terminal screen
The package name of the present procedure of display.
The application programming interfaces API of operating system is the interface of application program and operating system traffic, is that system provides
Well known service includes multiple functions called, calls corresponding function that can obtain the various information of mobile terminal.Example
Such as, function getRunningAppProcesses () is obtained here by calling process list, so that it may obtain system current process
Name list, includes the package name for all programs being currently running in system in current process name list, in table
Therefore first item, which is program shown on current screen, can be referred to as first item process name the program bag of present procedure
Title.
Step 102 is judged whether the present procedure is system desktop main screen program by the relevant information, if so,
Step 103 is executed, if it is not, thening follow the steps 104.
In a kind of example of a preferred embodiment of the present application, the step 102 may include:
Sub-step S21, judge in preset system desktop main screen program listing, if include the program of the present procedure
Packet title, if so, the present procedure is system desktop main screen program, if it is not, then the present procedure is not system desktop
Main screen program.
After the package name for obtaining present procedure, it can judge whether present procedure is system according to package name
Desktop main screen program can be with preset system desktop main screen program listing, the system desktop in a kind of example of the present embodiment
Main screen program listing can include the package name of one or more system desktop main screen programs, judge present procedure whether be
When system desktop main screen program, the package name of present procedure need to be only judged whether in this list, if illustrating current
Program is system desktop main screen program.
In concrete implementation, the preset system desktop main screen program listing of following steps can be passed through:
The application programming interfaces API for accessing the operating system of mobile terminal installation, obtains all installations of the mobile terminal
The attribute information of program;
In the attribute information for judging each installation procedure, if include two attributes of CATEGORY_HOME and DEFAULT;
If so, judging the program for system desktop main screen program, and the package name of the program is added to system
Desktop main screen program listing.
The attribute information of program includes program name, package name, program size, path, the service and application possessed
Information, the system desktop main screen program such as permission be different from nonsystematic desktop main screen program and be characterized in that, system desktop main screen
Include two attributes of CATEGORY_HOME and DEFAULT in the attribute information of program.Therefore, preset system desktop main screen journey
When sequence table, the attribute information of the mounted all programs of mobile terminal can be extracted, then whether is wrapped in foundation attribute information
Attribute containing above-mentioned two, to judge whether the program is system desktop main screen program.For example, being wrapped in the program of mobile terminal installation
Contain program-package name and be known as two programs of com.android.launcher and com.angrybird,
Com.android.launcher is the system desktop main screen program that android operating systems carry, and includes in attribute information
Therefore com.android.launcher can be added to system table by CATEGORY_HOME and DEFAULT two attributes
In the main screen program listing of face, above-mentioned two attribute is not included in the attribute information of com.angrybird, then is not added to the list
In.
When whether judge present procedure is system desktop main screen program, if the package name of present procedure is
Com.android.launcher, by the package name, there are in system desktop main screen program listing, it is known that the program is to be
System desktop main screen program;If the package name of present procedure is com.angrybird, which is not present system table
In the main screen program listing of face, it is known that the program is not system desktop main screen program.
Specifically, can be called by the application programming interfaces API of the operating system of access mobile terminal installation herein
Program attribute information obtains function queryIntentActivities (), can get all installation procedures of mobile terminal
Attribute information.
In another example of a preferred embodiment of the present application, the step 102 may include:
Sub-step S31, the application programming interfaces API for accessing the operating system that mobile terminal is installed, by the present procedure
Package name, extract the attribute information of the present procedure;
Sub-step S32, judge in the attribute information of the present procedure, if include CATEGORY_HOME and DEFAULT
Two attributes, if so, the present procedure is system desktop main screen program, if it is not, then the present procedure is not system table
Face main screen program.
Unlike last example, this example does not need preset system desktop main screen program listing, current obtaining
After the package name of program, judged by extracting the attribute information of present procedure.Specifically, access can be passed through
The application programming interfaces API of the operating system of mobile terminal installation, i.e. caller attribute information obtain function
QueryIntentActivities (), the attribute information of the package name extraction present procedure according to present procedure.Then
In the attribute information for judging present procedure, if two attributes of CATEGORY_HOME and DEFAULT are contained, if so, judging
Present procedure is system desktop main screen program.
In a preferred embodiment of the present application, the method can be repeated according to predeterminated frequency, make to work as future
When sequence changes, suspended window is also hidden or is shown accordingly.Predeterminated frequency is higher, the interval time that the method repeats
It is shorter, so that it may when user opens third equation, to hide suspended window as early as possible.
Step 103, on the screen display target suspended window.
When present procedure is system desktop main screen program, display target suspended window on the screen is needed.In concrete implementation
In, it is also necessary to judge target suspended window whether is had shown that on current screen, if so, do not execute any operation then, if nothing,
Increase the target suspended window positioned at front end on the screen.
Step 104, on the screen not display target suspended window.
It, need not display target suspended window on the screen when present procedure is not system desktop main screen program.Specific
In realization, it is also necessary to judge whether have shown that target suspended window on current screen, if so, then hiding the target having shown that
Suspended window does not execute any operation if nothing.
In a preferred embodiment of the present application, the target suspended window is displayed for mobile terminal performance ginseng
It counts, may include a default entrance for starting cleaning internal memory operation in the target suspended window.
With reference to figure 2, it illustrates a kind of flow charts of the display methods embodiment 2 of suspended window of the application, specifically can be with
Include the following steps:
Step 201, the screen state information sent by the operating system of mobile terminal installation, judge whether current screen is opened
It opens, if so, thening follow the steps 202.
Unlike last embodiment, in the present embodiment, before executing the step of judging desktop main screen program, also need
Judge whether current screen is opened, if so, the step of executing next judgement avoids if it is not, not executing any operation then
Screen close when the implementation of the judgment and it is power-consuming.
Whether current screen, which opens the screen state information that can be sent by operating system, knows.Specifically, can be to behaviour
Make system broadcasts registration interface (RegisterReceiver) and send request, it is desirable that operating system is sent when screen change
Screen state information can know whether current screen is opened according to screen state information.For example, a certain moment, screen is by opening
It opens and switchs to close, operating system will send out screen state and switch to the information closed, and the current screen state known to the information is
It closes, does not just execute the step of judging desktop main screen program.
Step 202, the relevant information for obtaining the present procedure shown on mobile terminal screen;
Step 203 is judged whether the present procedure is system desktop main screen program by the relevant information, if so,
Step 204 and step 205 are executed, if it is not, thening follow the steps 206;
Step 204, on the screen display target suspended window;
Step 205, by perhaps carrying out predetermined registration operation in the default entrance access preset of the target suspended window.
Target suspended window contains one can be for the default entrance that user accesses, display target suspended window on the screen
Afterwards, user can be preset in entrance access preset by this and perhaps execute predetermined registration operation.For example, 360 mobile security guards is outstanding
There are one entrance in floating window, user, which clicks this entrance, can start the operation of cleaning memory.
Step 206, on the screen not display target suspended window.
In conclusion this application provides a kind of display methods of suspended window, according to the application, mobile terminal screen is judged
Whether the present procedure of upper display is system desktop main screen program, if it is not, suspended window is not shown then, to make third party's nonsystematic
When desktop main screen program starts, suspended window can be hidden automatically, will not interfere the operation of user.
Secondly, the screen state information that the application is also sent by receiving system, confirms whether current screen is opened, if screen
Curtain closes the operation for just stopping judging, achieving the purpose that will not additional waste electric power.
For embodiment of the method, for simple description, therefore it is all expressed as a series of combination of actions, but this field
Technical staff should know that the application is not limited by the described action sequence, because according to the application, certain steps can
To use other sequences or be carried out at the same time.Next, those skilled in the art should also know that, implementation described in this description
Example belongs to preferred embodiment, necessary to involved action and module not necessarily the application.
With reference to figure 3, it illustrates a kind of structure diagrams of the display device embodiment 1 of suspended window of the application, specifically may be used
To comprise the following modules:
Relevant information acquisition module 301, the relevant information for obtaining the present procedure shown on mobile terminal screen;
Program judgment module 302, for judging whether the present procedure is desktop main screen program by the relevant information,
If so, display module 303 is executed, if it is not, then executing hidden module 304;
Display module 303, for display target suspended window on the screen;
Hidden module 304 is used on the screen not display target suspended window.
In a preferred embodiment of the present application, the modules of described device can be executed according to predeterminated frequency.
In a preferred embodiment of the present application, the relevant information can be package name, the relevant information
Acquisition module 301 may include:
Process name list acquisition submodule, the application programming interfaces of the operating system for accessing mobile terminal installation
API obtains current process name list;
Package name extracting sub-module, for extracting first item process title in the current process name list, i.e.,
Package name for the present procedure shown on mobile terminal screen.
In a preferred embodiment of the present application, described program judgment module 302 may include:
Package name judging submodule, for judging in preset system desktop main screen program listing, if including institute
The package name of present procedure is stated, if so, the present procedure is system desktop main screen program, if it is not, then described current
Program is not system desktop main screen program.
In another example of a preferred embodiment of the present application, described program judgment module 302 may include:
First attribute information acquisition submodule, the application programming interfaces of the operating system for accessing mobile terminal installation
API extracts the attribute information of the present procedure by the package name of the present procedure;
First attribute information judging submodule, in the attribute information for judging the present procedure, if include
Two attributes of CATEGORY_HOME and DEFAULT, if so, the present procedure is system desktop main screen program, if it is not, then
The present procedure is not system desktop main screen program.
In a preferred embodiment of the present application, the system desktop main screen program listing can include one or more
The package name of system desktop main screen program can pass through the preset system desktop main screen program listing of following submodule:
Second attribute information acquisition submodule, the application programming interfaces of the operating system for accessing mobile terminal installation
API obtains the attribute information of all installation procedures of the mobile terminal;
Second attribute information judging submodule, in the attribute information for judging each installation procedure, if include
Two attributes of CATEGORY_HOME and DEFAULT, if so, judge the program for system desktop main screen program, and by the program
Package name be added to system desktop main screen program listing.
In a preferred embodiment of the present application, the target suspended window is displayed for mobile terminal performance ginseng
It counts, may include a default entrance for starting cleaning internal memory operation in the target suspended window.
With reference to figure 4, it illustrates a kind of structure diagrams of the display device embodiment 2 of suspended window of the application, specifically may be used
To comprise the following modules:
Screen state judgment module 401, the screen state information that the operating system for being installed by mobile terminal is sent, sentences
Whether disconnected current screen is opened, if so, executing program judgment module 402.
Relevant information acquisition module 402, the relevant information for obtaining the present procedure shown on mobile terminal screen;
Program judgment module 403, for judging whether the present procedure is system desktop main screen by the relevant information
Program, if so, display module 404 and target suspended window operation module 405 are executed, if it is not, then executing hidden module 406;
Display module 404, for display target suspended window on the screen;
Target suspended window operation module 405, for by the default entrance access preset of the target suspended window perhaps
Carry out predetermined registration operation;
Hidden module 406 is used on the screen not display target suspended window.
Since described device embodiment essentially corresponds to earlier figures 1 and embodiment of the method shown in Fig. 2, therefore the present embodiment
Not detailed place, may refer to the related description in previous embodiment, does not just repeat herein in description.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as:Personal computer, service
Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, machine top
Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including any of the above system or equipment
Distributed computing environment etc..
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Usually, program module includes routines performing specific tasks or implementing specific abstract data types, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage device.
Finally, it is to be noted that, herein, the terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or setting
Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
Above to a kind of display methods of suspended window provided herein, and, a kind of display device of suspended window into
It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for the general technology people of this field
Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as the limitation to the application.
Claims (18)
1. a kind of display methods of suspended window, which is characterized in that including:
Obtain the relevant information of the present procedure shown on mobile terminal screen;
Judge whether the present procedure is system desktop main screen program by the relevant information;
If so, display target suspended window on the screen;If it is not, then not display target suspended window on the screen.
2. the method as described in claim 1, which is characterized in that the method is repeated according to predeterminated frequency.
3. the method as described in claim 1, which is characterized in that the phase of the present procedure shown on obtaining mobile terminal screen
Before the step of closing information, further include:
The screen state information sent by the operating system of mobile terminal installation, judges whether current screen is opened, if so, holding
The step of row judges.
4. the method as described in claim 1, which is characterized in that the relevant information is package name, the acquisition movement
The step of relevant information of the present procedure shown on terminal screen includes:
The application programming interfaces API for accessing the operating system of mobile terminal installation, obtains current process name list;
Extract first item process title, the present procedure as shown on mobile terminal screen in the current process name list
Package name.
5. method as claimed in claim 4, which is characterized in that described whether to judge the present procedure by the relevant information
Include for the step of system desktop main screen program:
Judge in preset system desktop main screen program listing, if include the package name of the present procedure;
If so, the present procedure is system desktop main screen program, if it is not, then the present procedure is not system desktop main screen
Program.
6. method as claimed in claim 4, which is characterized in that described whether to judge the present procedure by the relevant information
Include for the step of system desktop main screen program:
The application programming interfaces API for accessing the operating system of mobile terminal installation is carried by the package name of the present procedure
Take the attribute information of the present procedure;
In the attribute information for judging the present procedure, if include two attributes of CATEGORY_HOME and DEFAULT;
If so, the present procedure is system desktop main screen program, if it is not, then the present procedure is not system desktop main screen
Program.
7. method as claimed in claim 5, which is characterized in that the system desktop main screen program listing includes one or more
The package name of system desktop main screen program passes through the preset system desktop main screen program listing of following steps:
The application programming interfaces API for accessing the operating system of mobile terminal installation, obtains all installation procedures of the mobile terminal
Attribute information;
In the attribute information for judging each installation procedure, if include two attributes of CATEGORY_HOME and DEFAULT;
If so, judging the program for system desktop main screen program, and the package name of the program is added to system desktop
Main screen program listing.
8. the method as described in claim 1, which is characterized in that the target suspended window is for showing that mobile terminal performance is joined
Number, the interior target suspended window includes a default entrance for starting cleaning internal memory operation.
9. the method as described in claim 1, which is characterized in that described on the screen after the step of display target suspended window
Method further includes:
By perhaps carrying out predetermined registration operation in the default entrance access preset of the target suspended window.
10. a kind of display device of suspended window, which is characterized in that including:
Relevant information acquisition module, the relevant information for obtaining the present procedure shown on mobile terminal screen;
Program judgment module, for judging whether the present procedure is system desktop main screen program by the relevant information, if
It is then to execute display module, if it is not, then executing hidden module;
Display module, for display target suspended window on the screen;
Hidden module is used on the screen not display target suspended window.
11. device as claimed in claim 10, which is characterized in that the modules of described device repeat to hold according to predeterminated frequency
Row.
12. device as claimed in claim 10, which is characterized in that before relevant information acquisition module, further include:
Screen state judgment module, the screen state information that the operating system for being installed by mobile terminal is sent judge current
Whether screen is opened, if so, executing program judgment module.
13. device as claimed in claim 10, which is characterized in that the relevant information is package name, the related letter
Ceasing acquisition module includes:
Process name list acquisition submodule, the application programming interfaces API of the operating system for accessing mobile terminal installation, is obtained
Take current process name list;
Package name extracting sub-module is as moved for extracting first item process title in the current process name list
The package name of the present procedure shown on dynamic terminal screen.
14. device as claimed in claim 13, which is characterized in that the relevant information judgment module includes:
Package name judging submodule, for judging in preset system desktop main screen program listing, if work as including described
The package name of preceding program, if so, the present procedure is system desktop main screen program, if it is not, the then present procedure
It is not system desktop main screen program.
15. device as claimed in claim 13, which is characterized in that the relevant information judgment module includes:
First attribute information acquisition submodule, the application programming interfaces API of the operating system for accessing mobile terminal installation, by
The package name of the present procedure extracts the attribute information of the present procedure;
First attribute information judging submodule, in the attribute information for judging the present procedure, if include CATEGORY_
Two attributes of HOME and DEFAULT, if so, the present procedure is system desktop main screen program, if it is not, then described work as future
Sequence is not system desktop main screen program.
16. device as claimed in claim 14, which is characterized in that the system desktop main screen program listing includes one or more
The package name of a system desktop main screen program passes through the preset system desktop main screen program listing of following submodule:
Second attribute information acquisition submodule, the application programming interfaces API of the operating system for accessing mobile terminal installation, is obtained
Take the attribute information of all installation procedures of the mobile terminal;
Second attribute information judging submodule, in the attribute information for judging each installation procedure, if include CATEGORY_
Two attributes of HOME and DEFAULT if so, judging the program for system desktop main screen program, and the title of the program are added
It is added to system desktop main screen program listing.
17. device as claimed in claim 10, which is characterized in that the target suspended window is for showing that mobile terminal performance is joined
Number, the interior target suspended window includes a default entrance for starting cleaning internal memory operation.
18. device as claimed in claim 10, which is characterized in that after display module, described device further includes:
Target suspended window operation module, for perhaps being preset in the default entrance access preset by the target suspended window
Operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510146251.5A CN104714725B (en) | 2011-12-31 | 2011-12-31 | A kind of display methods and device of suspended window |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510146251.5A CN104714725B (en) | 2011-12-31 | 2011-12-31 | A kind of display methods and device of suspended window |
CN201110459294.0A CN102566931B (en) | 2011-12-31 | 2011-12-31 | Method and device for displaying suspended window |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110459294.0A Division CN102566931B (en) | 2011-12-31 | 2011-12-31 | Method and device for displaying suspended window |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104714725A CN104714725A (en) | 2015-06-17 |
CN104714725B true CN104714725B (en) | 2018-10-09 |
Family
ID=53414119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510146251.5A Active CN104714725B (en) | 2011-12-31 | 2011-12-31 | A kind of display methods and device of suspended window |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104714725B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339298A (en) * | 2015-07-10 | 2017-01-18 | 富泰华工业(深圳)有限公司 | System information display method, system and electronic device |
CN105117228B (en) * | 2015-08-27 | 2018-09-25 | 北京金山安全软件有限公司 | Method for loading suspension window, suspension window loading device and electronic equipment |
CN105224836B (en) * | 2015-09-18 | 2018-11-20 | 北京金山安全软件有限公司 | Control method and device for top-layer suspended window and mobile equipment |
CN106843629A (en) * | 2015-12-07 | 2017-06-13 | 北京奇虎科技有限公司 | A kind of suspended window methods of exhibiting and device |
CN105808257B (en) * | 2016-03-08 | 2020-07-07 | 杭州朗和科技有限公司 | Application popup identification method and device |
CN106201574B (en) * | 2016-06-22 | 2020-02-14 | Oppo广东移动通信有限公司 | Application interface starting method and device |
CN106126232B (en) * | 2016-06-22 | 2018-07-27 | 广东欧珀移动通信有限公司 | A kind of interface startup method and device |
CN106993084A (en) * | 2017-02-28 | 2017-07-28 | 努比亚技术有限公司 | The method, device and mobile terminal that a kind of control information is shown |
CN106896900B (en) | 2017-03-10 | 2020-07-31 | Oppo广东移动通信有限公司 | Display control method and device of mobile terminal and mobile terminal |
CN109062653B (en) * | 2018-08-20 | 2022-02-25 | 珠海市筑巢科技有限公司 | Long image-text information display method, computer device and computer readable storage medium |
CN110012163B (en) * | 2019-03-28 | 2021-01-08 | 北京金山安全软件有限公司 | Suspended window setting method and device and electronic equipment |
CN113434068A (en) * | 2021-05-28 | 2021-09-24 | 北京信和时代科技有限公司 | Control method and device for suspension shortcut menu, electronic equipment and storage medium |
CN114475469B (en) * | 2021-12-21 | 2023-09-19 | 深圳市智行畅联科技有限公司 | Reversing video quick display method, reversing video quick display system and central control vehicle machine |
WO2024000419A1 (en) * | 2022-06-30 | 2024-01-04 | 广州视源电子科技股份有限公司 | Desktop element display method and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033776A (en) * | 2009-09-29 | 2011-04-27 | 联想(北京)有限公司 | Audio playing method and computing device |
CN102045269A (en) * | 2010-11-30 | 2011-05-04 | 于琨洪 | Browser-based suspensible novel network instant chat method |
CN102156615A (en) * | 2011-04-01 | 2011-08-17 | 奇智软件(北京)有限公司 | Suspension window displaying method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080040436A1 (en) * | 2006-08-11 | 2008-02-14 | Geodesic Information Systems Ltd | Instant messaging integrated in a browser |
-
2011
- 2011-12-31 CN CN201510146251.5A patent/CN104714725B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033776A (en) * | 2009-09-29 | 2011-04-27 | 联想(北京)有限公司 | Audio playing method and computing device |
CN102045269A (en) * | 2010-11-30 | 2011-05-04 | 于琨洪 | Browser-based suspensible novel network instant chat method |
CN102156615A (en) * | 2011-04-01 | 2011-08-17 | 奇智软件(北京)有限公司 | Suspension window displaying method and device |
Non-Patent Citations (2)
Title |
---|
"LBE安全大师V2.1.1.366下载";亿软网;《http://www.yruan.com/system/symbian/softdetail/4175/》;20111130;软件介绍部分 * |
"悬浮窗口(智能隐藏和显示)的一种实现方案";HarbinZJU;《http://blog.csdn.net/harbinzju/article/details/7022882》;20111129;博客正文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104714725A (en) | 2015-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104714725B (en) | A kind of display methods and device of suspended window | |
CN102566931B (en) | Method and device for displaying suspended window | |
CN103853610B (en) | Method for optimizing resources and device | |
CN103984579B (en) | More equipment rooms share the method for current application program real-time running state | |
CN102779255B (en) | Method and device for judging malicious program | |
CN103902692B (en) | Application interface updating method, device and system | |
CN104050417B (en) | A kind of method and device detected in mobile terminal to application state | |
CN102347941B (en) | A kind of safety applications control method based on open platform | |
CN102033943A (en) | Multiwindow browse method and system based on mobile communication equipment terminal | |
CN104331488B (en) | File clean-up method, apparatus and equipment based on suspended window | |
CN104424432B (en) | A kind of information processing method and electronic equipment | |
CN107045296B (en) | Intelligence control system and method | |
CN104317648B (en) | A kind of method and apparatus of monitoring advertisement | |
CA2862046C (en) | Method and device for prompting program uninstallation | |
CN103942476B (en) | Method for information display and terminal | |
CN104994547B (en) | A kind of Network Access Method and user terminal | |
CN103139369A (en) | Content share method and device | |
CN109543405A (en) | A kind of privacy calls Activity recognition method and electronic equipment | |
CN108469972A (en) | Support the method and apparatus that multiwindow is shown in WEB page | |
CN103077049B (en) | Intelligence desktop navigation bar update method and system | |
CN104239178A (en) | Monitoring system and monitoring method | |
CN106844182A (en) | Method, system and mobile terminal for recording user behavior | |
CN106126044A (en) | Display/the hidden method of application icon and device for terminal | |
CN104331372B (en) | A kind of method and device that long-range positioning problems are carried out to application program | |
CN105511913B (en) | Method for parameter configuration and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220803 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |