CN106155870A - The optimized treatment method of a kind of terminal, device and terminal - Google Patents

The optimized treatment method of a kind of terminal, device and terminal Download PDF

Info

Publication number
CN106155870A
CN106155870A CN201510204350.4A CN201510204350A CN106155870A CN 106155870 A CN106155870 A CN 106155870A CN 201510204350 A CN201510204350 A CN 201510204350A CN 106155870 A CN106155870 A CN 106155870A
Authority
CN
China
Prior art keywords
terminal
optimization
window
prompt window
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510204350.4A
Other languages
Chinese (zh)
Other versions
CN106155870B (en
Inventor
蒋鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510204350.4A priority Critical patent/CN106155870B/en
Publication of CN106155870A publication Critical patent/CN106155870A/en
Application granted granted Critical
Publication of CN106155870B publication Critical patent/CN106155870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides the optimized treatment method of a kind of terminal, device and terminal, and method therein comprises the steps that when detecting the access request of the destination application in terminal, the operating system of described terminal is optimized process;The processing procedure processed according to described optimization generates and optimizes information;Show the prompt window in the operating system of described terminal in shade mode on the access window of described destination application;Described optimization information is exported in described prompt window.The present invention ensure that being accessed for destination application the most normally uses, and the optimization information that exportable optimization process is relevant, promotes the degree directly perceived of user perceptibility and optimization process.

Description

The optimized treatment method of a kind of terminal, device and terminal
Technical field
The present invention relates to Internet technical field, particularly relate to the optimized treatment method of a kind of terminal, device and Terminal.
Background technology
Along with the development of Internet technology, such as mobile phone, intelligence wearable device terminal use the most day by day Extensively.The operating system of terminal may include but be not limited to: Android (Android, a kind of Mobile operating system) Etc..In terminal can installation and operation types of applications program, such as: instant messaging application program, SNS (Social Networking Services, social network services) application program, game application, safety applications journey Sequence etc..Application program in user-accessible terminal, in order to ensure currently to be accessed for making of application program With fluency, when this is accessed for application program launching terminal operating system can be carried out such as process cleaning, The optimizations such as CPU frequency modulation process.In prior art, the optimization processing scheme of terminal is primarily present following two, its Middle a kind of scheme is: the optimization process of terminal is carried out on backstage, in optimization process terminal not to User notifies any information processed about optimization, and user's perceptibility of this scheme is low, and degree directly perceived is low, from And affect the experience of user;Another kind of scheme is: delay start destination application, notifies that user is i.e. Terminal will be optimized process, and treat that the optimization of terminal has been processed by backstage and restart intended application journey afterwards Sequence, this scheme needs delay start destination application, relatively big to the use interference of destination application, Affect the experience of user.
Summary of the invention
The embodiment of the present invention provides the optimized treatment method of a kind of terminal, device and terminal, it is possible to ensure interviewed The destination application asked the most normally uses, and the optimization prompting that exportable optimization process is relevant Information, promotes the degree directly perceived of user perceptibility and optimization process.
Embodiment of the present invention first aspect provides the optimized treatment method of a kind of terminal, it may include:
When detecting the access request of the destination application in terminal, the operating system to described terminal It is optimized process;
The processing procedure processed according to described optimization generates and optimizes information;
Show the operating system of described terminal in shade mode on the access window of described destination application In prompt window;
Described optimization information is exported in described prompt window.
Embodiment of the present invention second aspect provides the optimization processing means of a kind of terminal, it may include:
Optimize processing unit, for when detecting the access request of the destination application in terminal, right The operating system of described terminal is optimized process;
Information generating unit, the processing procedure for processing according to described optimization generates and optimizes information;
Shade display unit, for showing in shade mode on the access window of described destination application Prompt window in the operating system of described terminal;
Tip element, for exporting described optimization information in described prompt window.
The embodiment of the present invention third aspect provides a kind of terminal, it may include the terminal that above-mentioned second aspect provides Optimize processing means.
Implement the embodiment of the present invention, have the advantages that
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the optimized treatment method of a kind of terminal that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the optimized treatment method of the another kind of terminal that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the optimization processing means of a kind of terminal that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is the structural representation of the embodiment of the shade display unit shown in Fig. 3;
Fig. 5 is the structural representation of the embodiment of the Tip element shown in Fig. 3.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
In the embodiment of the present invention, terminal can be notebook computer, mobile phone, PAD (panel computer), vehicle-mounted The equipment such as terminal, intelligence wearable device.The operating system of terminal may include but be not limited to: Android (peace Zhuo, a kind of Mobile operating system) etc..In terminal can installation and operation types of applications program, including but do not limit In: instant messaging application program, SNS (Social Networking Services, social network services) Application program, game application, security application etc..Application program in user-accessible terminal, Such as: user can click on the shortcut icon of the destination application on terminal desktop to access this intended application journey Sequence;Or, user can select destination application to access this target in the application list in the terminal Application program.It should be noted that described destination application can be that installation and operation is in described terminal Any one application program.
In order to ensure currently to be accessed for the use fluency of destination application, when this destination application opens Time dynamic, terminal can carry out the optimization process such as such as process cleaning, CPU frequency modulation to operating system, to promote terminal The speed of response of operating system, promote user's experience to this destination application.The optimization of terminal Processing procedure can be possessed performed by the application program optimizing disposal ability by terminal, such as: the safety in terminal Application program, system management applications, system accelerating application etc..The terminal of the embodiment of the present invention Optimization processing scheme can export excellent on the premise of ensureing that destination application the most normally use Change the optimization information that processing procedure is relevant, promote the degree directly perceived of user perceptibility and optimization process.
Based on foregoing description, below in conjunction with accompanying drawing 1-accompanying drawing 2, excellent to the terminal that the embodiment of the present invention provides Change processing method to describe in detail.It should be noted that the flow process of the method for following accompanying drawing 1-accompanying drawing 2 can Performed by the optimization processing means of the terminal provided by the embodiment of the present invention, this device can be to have in terminal The standby application program optimizing disposal ability, such as: the security application in terminal, system management applications journey Sequence, system accelerating application etc..
Refer to Fig. 1, for the flow chart of optimized treatment method of a kind of terminal that the embodiment of the present invention provides;Should Method can comprise the following steps S101-step S104.
S101, when detecting the access request of the destination application in terminal, the behaviour to described terminal It is optimized process as system.
Described destination application can be installation and operation any one application program in described terminal, including But it is not limited to: instant messaging application program, SNS application program, game application, security application Any one in Deng.Application program in user-accessible terminal, such as: user can click on terminal desktop The shortcut icon of destination application to access this destination application;Or, user can in the terminal The application list select destination application to access this destination application.In this step, in detection When the above-mentioned access such as clicked on or select to user operates, confirm to detect described destination application Access request.Above-mentioned access in response to user operates, and described terminal needs to start described intended application journey Sequence, in the embodiment of the present invention, the start-up course of described destination application processed with the optimization of described terminal Journey can executed in parallel, the optimization process of described terminal has no effect on or disturbs described destination application Use.Wherein, described optimization processes and can include process cleaning, CPU frequency modulation, cleaning garbage files, redundancy At least one in cleaning, internal memory release optimization.In this step, by the operating system of described terminal is entered Row optimization processes, and can reduce the EMS memory occupation in the operating system of described terminal and CPU consumes, promote described The speed of response of the operating system of terminal, thus promote the systematic function of the operating system of described terminal.
S102, the processing procedure processed according to described optimization generates and optimizes information.
Wherein, described optimization information may include but be not limited to: proceed by optimization process information, In the information of end optimization process, optimum results information, optimization completion rate information at least A kind of;Such as: described optimization information can be " internal memory accelerate in ", " internal memory accelerated, internal memory Reach optimal value ", etc..
S103, shows the behaviour of described terminal on the access window of described destination application in shade mode Make the prompt window in system.
Operating the access of destination application in response to user, described terminal needs to start described intended application Program, and export the access window of described destination application, can in the access window of this destination application For showing the interactive interface of described destination application.In the embodiment of the present invention, described destination application Start-up course and described terminal optimization process can executed in parallel, the optimization process of described terminal Have no effect on or disturb the use of described destination application, therefore, in this step, can answer in described target With the prompt window in the operating system showing described terminal on the access window of program in shade mode, also That is, export the access window of described destination application and proposing in the operating system of described terminal simultaneously Show window, and described prompt window is superimposed on the access window of described destination application.Wherein, Described prompt window can be the self-defined window in the operating system of described terminal, by configuring described prompting The attribute information of window, including display optimization level, transparency etc., according to attribute information can control described in carry Show the display of window.
S104, exports described optimization information in described prompt window.
Described optimization information is exported, such as: described optimization information is permissible in described prompt window For " internal memory accelerate in ", " internal memory has accelerated, internal memory reaches optimal value ", etc., user can be from described Prompt window reads the content of described optimization information, and thus knows described optimization process, logical Cross described prompt window and export described optimization information, effectively improve user's sense of optimization process Degree of knowing and degree directly perceived.
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
Refer to Fig. 2, for the flow chart of optimized treatment method of the another kind of terminal that the embodiment of the present invention provides; The method can comprise the following steps S201-step S213.
S201, monitors the startup event of at least one application program in described terminal.
In terminal can at least one application program of installation and operation, include but not limited to: instant messaging application program, SNS application program, game application, security application etc..Application in user-accessible terminal Program, such as: user can click on the shortcut icon of certain application program on terminal desktop to access this application journey Sequence;Or, user can select certain application program to access this application journey in the application list in the terminal Sequence.In response to the above-mentioned access operation such as clicked on or select of user, described terminal needs startup operated Application program, this step can monitor the startup event of at least one application program in described terminal.
S202, when the startup event of the destination application listened at least one application program described, Determine the access request detected described destination application.
If the startup event of the destination application listened at least one application program described, show to use Family performs access operation to this destination application, includes but not limited to: click on the target on terminal desktop The shortcut icon of application program;Or, the application list in the terminal can select destination application Deng accessing operation, this step can determine detection according to listening to the startup event of described destination application To the access request to described destination application.It should be noted that described destination application can be Installation and operation any one application program in described terminal.
S203, when detecting the access request of the destination application in terminal, the behaviour to described terminal It is optimized process as system.
Operating the access of destination application in response to user, described terminal needs to start described intended application Program, in the embodiment of the present invention, the start-up course of described destination application processes with the optimization of described terminal Process can executed in parallel, the optimization process of described terminal has no effect on or disturbs described destination application Use.Wherein, described optimization processes and can include process cleaning, CPU frequency modulation, cleaning garbage files, superfluous At least one in remaining cleaning, internal memory release optimization.In this step, by the operating system to described terminal It is optimized process, the EMS memory occupation in the operating system of described terminal can be reduced and CPU consumes, promote institute State the speed of response of the operating system of terminal, thus promote the systematic function of the operating system of described terminal.
S204, the processing procedure processed according to described optimization generates and optimizes information.
Wherein, described optimization information may include but be not limited to: proceed by optimization process information, In the information of end optimization process, optimum results information, optimization completion rate information at least A kind of;Such as: described optimization information can be " internal memory accelerate in ", " internal memory accelerated, internal memory Reach optimal value ", etc..
S205, configures the attribute information of prompt window in the operating system of described terminal.
Described prompt window can be the self-defined window in the operating system of described terminal, described by configuring The attribute information of prompt window, can control the display of described prompt window according to attribute information.Described attribute is believed Breath may include but be not limited to: display priority and transparency.Wherein, described display priority can be used for determining Whether described prompt window uses shade mode to show, if described prompt window uses shade mode to carry out Display, the highest level of the operating system that display priority is described terminal of configurable described prompt window, So that described prompt window can cover or be superimposed on the access window of any application program, therefore, institute State display priority and comprise the steps that system alert (SYSTEM_ALERT) rank or system mistake (SYSTEM_ERROR) rank.Wherein, described transparency can be used for determining the shade of described prompt window Degree, if requiring, described prompt window is all-transparent shade, then the transparency that can configure described prompt window is 100%;If requiring, described prompt window is nontransparent shade, then the transparency that can configure described prompt window is 0%, therefore, described transparency is in the range of 0%-100%.It is understood that the genus of described prompt window Property information may also include other information, such as display size, etc., such as: if requiring, described prompt window is Full screen display, then can configure the screen size showing dimensions as described terminal of described prompt window;Therefore, The display size of described prompt window is in the range of 0-terminal screen size.
S206, creates shade display layer in described terminal.
Described shade display layer can be described as again mask, and it can refer to be covered on by shade window, for showing Show the figure layer of shade window.This step can use the figures such as such as LightBox (a kind of figure layer creates instrument) Layer establishment instrument creates shade display layer in described terminal.
S207, shows the access window of described destination application, and at the window of described destination application On export described shade display layer.
Operating the access of destination application in response to user, described terminal needs to start described intended application Program, and export the access window of described destination application, can in the access window of this destination application For showing the interactive interface of described destination application.In the embodiment of the present invention, described destination application Start-up course and described terminal optimization process can executed in parallel, the optimization process of described terminal Having no effect on or disturb the use of described destination application, therefore, this step is showing described intended application While the access window of program, on the window of described destination application, export described shade display layer.
S208, calls API (the Application Programming that the operating system of described terminal is open Interface, application programming interface) interface, obtain described prompt window.
Wherein, described prompt window can be the self-defined window in the operating system of described terminal, described end The operating system of end can the api interface of this prompt window of Open Access Journals, in this step, described terminal can be called The api interface that opened of operating system, obtain described prompt window.
S209, according to the attribute information of described prompt window, shows described terminal in described shade display layer Operating system in prompt window.
Described attribute information may include but be not limited to: display priority and transparency.Wherein, described display is excellent First level can be used for determining whether described prompt window uses shade mode to show, if described prompt window is adopted Show by shade mode, the operation system that display priority is described terminal of configurable described prompt window The highest level of system, so that described prompt window can cover or be superimposed on the access window of any application program On, therefore, described display priority comprises the steps that system alert (SYSTEM_ALERT) rank or is System mistake (SYSTEM_ERROR) rank.Wherein, described transparency can be used for determining described prompt window Shade degree, if requiring, described prompt window is all-transparent shade, then can configure the saturating of described prompt window Lightness is 100%;If requiring, described prompt window is nontransparent shade, then can configure the saturating of described prompt window Lightness is 0%, and therefore, described transparency is in the range of 0%-100%.This step is according to described prompt window Attribute information, controls the display of described prompt window, such as: if the display priority of described prompt window is System alert (SYSTEM_ALERT) rank or system mistake (SYSTEM_ERROR) rank, then Control described prompt window to show at described shade display layer;Further, if described prompt window saturating Lightness is 50%, then control described prompt window and be shown as translucent shade.
S210, is processed as described optimization information pointing out animation.
In implementing, can be dynamic according to such as Flash, flv (Flash Video, a kind of video format) etc. Draw and make rule, described optimization information is processed as pointing out animation, such as: assume described optimization prompting Information includes: " internal memory accelerate in ", " internal memory has accelerated, internal memory reaches optimal value ", and this step can be according to Flash animation makes rule, this optimization information is processed as an animation rotated, by this rotation Animation shows the content of described optimization information intuitively.
S211, exports described prompting animation in described prompt window.
Exporting described prompting animation in described prompt window, user can be by carrying in described prompt window Show that animation knows the optimization process of described terminal intuitively, effectively improve the use of optimization process Family perceptibility and degree directly perceived.
S212, monitors the display duration of described prompt window.Wherein, the display duration of described prompt window can Timing is started, it is also possible to from showing described prompt window shade display layer from exporting described shade display layer Moment start timing.
S213, when the display duration of described prompt window arrives preset duration, closes described shade display layer To stop showing described prompt window.
Described preset duration can be set according to actual needs, such as: described preset duration may be set to 2s, 3s etc..When the display duration of described prompt window arrives preset duration, close described shade and show Layer is to stop showing described prompt window, now, without any on the access window of described destination application Shade, thus do not affect user's use to the access window of described destination application, promote user simultaneously Experience.
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
Below in conjunction with accompanying drawing 3-accompanying drawing 5, the knot to the optimization processing means of the terminal that the embodiment of the present invention provides Structure and function describe in detail.It should be noted that following device can be to possess at optimization in terminal The application program of reason ability, such as: the security application in terminal, system management applications, system Accelerating application etc., this device can be mounted and run in described terminal, above-mentioned attached for performing Method shown in Fig. 1-accompanying drawing 2.
Refer to Fig. 3, for the structural representation of optimization processing means of a kind of terminal that the embodiment of the present invention provides; This device comprises the steps that optimization processing unit 101, information generating unit 102, shade display unit 103 and carries Show unit 104.
Optimize processing unit 101, be used for when detecting the access request of the destination application in terminal, The operating system of described terminal is optimized process.
Described destination application can be installation and operation any one application program in described terminal, including But it is not limited to: instant messaging application program, SNS application program, game application, security application Any one in Deng.Application program in user-accessible terminal, such as: user can click on terminal desktop The shortcut icon of destination application to access this destination application;Or, user can in the terminal The application list select destination application to access this destination application.Described optimization processing unit 101, when the above-mentioned access such as clicked on or select user being detected operates, confirm to detect described target The access request of application program.Above-mentioned access in response to user operates, and described terminal needs to start described mesh Mark application program, in the embodiment of the present invention, the start-up course of described destination application is excellent with described terminal Change processing procedure can executed in parallel, the optimization process of described terminal have no effect on or disturb described target should With the use of program.Wherein, described optimization processes and can include that process cleaning, CPU frequency modulation, garbage files are clear At least one in the cleaning of reason, redundancy, internal memory release optimization.Described optimization processing unit 101 is by institute The operating system stating terminal is optimized process, can reduce EMS memory occupation in the operating system of described terminal and CPU consumes, and promotes the speed of response of the operating system of described terminal, thus promotes the operation system of described terminal The systematic function of system.
Information generating unit 102, the processing procedure for processing according to described optimization generates and optimizes information.
Wherein, described optimization information may include but be not limited to: proceed by optimization process information, In the information of end optimization process, optimum results information, optimization completion rate information at least A kind of;Such as: described optimization information can be " internal memory accelerate in ", " internal memory accelerated, internal memory Reach optimal value ", etc..
Shade display unit 103, for showing in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal.
Operating the access of destination application in response to user, described terminal needs to start described intended application Program, and export the access window of described destination application, can in the access window of this destination application For showing the interactive interface of described destination application.In the embodiment of the present invention, described destination application Start-up course and described terminal optimization process can executed in parallel, the optimization process of described terminal Having no effect on or disturb the use of described destination application, therefore, described shade display unit 103 can be Show carrying in the operating system of described terminal in shade mode on the access window of described destination application Show window, say, that export the access window of described destination application and the operation of described terminal simultaneously Prompt window in system, and described prompt window is superimposed on described destination application access window it On.Wherein, described prompt window can be the self-defined window in the operating system of described terminal, by joining Put the attribute information of described prompt window, including display optimization level, transparency etc., can according to attribute information Control the display of described prompt window.
Tip element 104, for exporting described optimization information in described prompt window.
Described Tip element 104 exports described optimization information in described prompt window, such as: described Optimizing information can be " during internal memory accelerates ", " internal memory has accelerated, internal memory reaches optimal value ", etc., User can read the content of described optimization information from described prompt window, and thus knows described excellent Change processing procedure, export described optimization information by described prompt window, effectively improve at optimization The user perceptibility of reason process and degree directly perceived.
Referring to Fig. 3 again, alternatively, this device may also include that monitoring unit 105, dispensing unit 106 and Display monitoring means 107.
Monitoring unit 105, for monitoring the startup event of at least one application program in described terminal, and works as When listening to the startup event of destination application at least one application program described, determine detect right The access request of described destination application.
In terminal can at least one application program of installation and operation, include but not limited to: instant messaging application program, SNS application program, game application, security application etc..Application in user-accessible terminal Program, such as: user can click on the shortcut icon of certain application program on terminal desktop to access this application journey Sequence;Or, user can select certain application program to access this application journey in the application list in the terminal Sequence.In response to the above-mentioned access operation such as clicked on or select of user, described terminal needs startup operated Application program, described monitoring unit 105 can monitor opening of at least one application program in described terminal Dynamic event.If the startup event of the destination application listened at least one application program described, table Bright user performs access operation to this destination application, can be according to listening to described destination application Startup event, determines the access request detected described destination application.It should be noted that it is described Destination application can be installation and operation any one application program in described terminal.
Dispensing unit 106, the attribute information of the prompt window in the operating system configuring described terminal, institute State attribute information to include: display priority and transparency;Described display priority includes: system alert rank Or system mistake rank;Described transparency is in the range of 0%-100%.
Described prompt window can be the self-defined window in the operating system of described terminal, described by configuring The attribute information of prompt window, can control the display of described prompt window according to attribute information.Described attribute is believed Breath may include but be not limited to: display priority and transparency.Wherein, described display priority can be used for determining Whether described prompt window uses shade mode to show, if described prompt window uses shade mode to carry out Display, the highest level of the operating system that display priority is described terminal of configurable described prompt window, So that described prompt window can cover or be superimposed on the access window of any application program, therefore, institute State display priority and comprise the steps that system alert (SYSTEM_ALERT) rank or system mistake (SYSTEM_ERROR) rank.Wherein, described transparency can be used for determining the shade of described prompt window Degree, if requiring, described prompt window is all-transparent shade, then the transparency that can configure described prompt window is 100%;If requiring, described prompt window is nontransparent shade, then the transparency that can configure described prompt window is 0%, therefore, described transparency is in the range of 0%-100%.It is understood that the genus of described prompt window Property information may also include other information, such as display size, etc., such as: if requiring, described prompt window is Full screen display, then can configure the screen size showing dimensions as described terminal of described prompt window;Therefore, The display size of described prompt window is in the range of 0-terminal screen size.
Display monitoring means 107, for monitoring the display duration of described prompt window, and when described prompt window Display duration arrive preset duration time, close described shade display layer with stop show described prompt window.
Wherein, the display duration of described prompt window can start timing from exporting described shade display layer, it is possible to With from showing that in shade display layer the moment of described prompt window starts timing.Described preset duration can root It is set according to being actually needed, such as: described preset duration may be set to 2s, 3s etc..When described prompting When the display duration of window arrives preset duration, close described shade display layer to stop showing described reminding window Mouthful, now, without any shade on the access window of described destination application, thus do not affect user couple The use of the access window of described destination application, promotes the experience of user simultaneously.
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
Refer to Fig. 4, for the structural representation of the embodiment of the shade display unit shown in Fig. 3;This shade shows Show that unit 103 comprises the steps that creating unit 1001, covers output unit 1002, prompt window call unit 1003 With prompt window display unit 1004.
Creating unit 1001, for creating shade display layer in described terminal.
Described shade display layer can be described as again mask, and it can refer to be covered on by shade window, for showing Show the figure layer of shade window.Described creating unit 1001 can use the figure layers such as such as LightBox to create instrument Shade display layer is created in described terminal.
Cover output unit 1002, for showing the access window of described destination application, and at described mesh Described shade display layer is exported on the window of mark application program.
Operating the access of destination application in response to user, described terminal needs to start described intended application Program, and export the access window of described destination application, can in the access window of this destination application For showing the interactive interface of described destination application.In the embodiment of the present invention, described destination application Start-up course and described terminal optimization process can executed in parallel, the optimization process of described terminal Having no effect on or disturb the use of described destination application, therefore, described covering output unit 1002 is aobvious While showing the access window of described destination application, export on the window of described destination application Described shade display layer.
Prompt window call unit 1003, for calling the api interface that the operating system of described terminal is open, Obtain described prompt window.
Wherein, described prompt window can be the self-defined window in the operating system of described terminal, described end The operating system of end can the api interface of this prompt window of Open Access Journals, described prompt window call unit 1003 The api interface that the operating system of described terminal is opened can be called, obtain described prompt window.
Prompt window display unit 1004, for the attribute information according to described prompt window, at described shade Display layer shows the prompt window in the operating system of described terminal.
Described attribute information may include but be not limited to: display priority and transparency.Wherein, described display is excellent First level can be used for determining whether described prompt window uses shade mode to show, if described prompt window is adopted Show by shade mode, the operation system that display priority is described terminal of configurable described prompt window The highest level of system, so that described prompt window can cover or be superimposed on the access window of any application program On, therefore, described display priority comprises the steps that system alert (SYSTEM_ALERT) rank or is System mistake (SYSTEM_ERROR) rank.Wherein, described transparency can be used for determining described prompt window Shade degree, if requiring, described prompt window is all-transparent shade, then can configure the saturating of described prompt window Lightness is 100%;If requiring, described prompt window is nontransparent shade, then can configure the saturating of described prompt window Lightness is 0%, and therefore, described transparency is in the range of 0%-100%.Described prompt window display unit 1004 According to the attribute information of described prompt window, control the display of described prompt window, such as: if described prompting The display priority of window is system alert (SYSTEM_ALERT) rank or system mistake (SYSTEM_ERROR) rank, then control described prompt window and show at described shade display layer; Further, if the transparency of described prompt window is 50%, then controls described prompt window and be shown as translucent Shade.
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
Refer to Fig. 5, for the structural representation of the embodiment of the Tip element shown in Fig. 3;This Tip element 104 comprise the steps that animation process unit 2001 and animation output unit 2002.
Animation process unit 2001, for being processed as prompting animation by described optimization information.
In implementing, prompting letter can be optimized according to cartoon making rules such as such as Flash, flv by described Breath is processed as pointing out animation, such as: assume that described optimization information includes: " during internal memory accelerates ", " internal memory Accelerated, internal memory reaches optimal value ", described animation process unit 2001 can make rule according to flash animation Then, this optimization information is processed as an animation rotated, is shown intuitively by the animation of this rotation The content of described optimization information.
Animation output unit 2002, for exporting described prompting animation in described prompt window.
Exporting described prompting animation in described prompt window, user can be by carrying in described prompt window Show that animation knows the optimization process of described terminal intuitively, effectively improve the use of optimization process Family perceptibility and degree directly perceived.
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
The embodiment of the invention also discloses a kind of terminal, this terminal can include the optimization processing means of terminal, should The 26S Proteasome Structure and Function of device can be found in the associated description of the attached embodiment illustrated in fig. 5 of accompanying drawing 3-, is not repeated herein. In implementing, this device can be the application program possessing in terminal and optimizing disposal ability, such as: terminal In security application, system management applications, system accelerating application etc..Need explanation It is that the terminal disclosed in the present embodiment can also be applied in the method shown in above-mentioned accompanying drawing 1-accompanying drawing 2.
The embodiment of the present invention is when detecting the access request of the destination application in terminal, to described end The operating system of end is optimized process, in shade mode on the access window of described destination application Show the prompt window in the operating system of described terminal, and output optimization processed in described prompt window The optimization information of Cheng Xiangguan, owing to the start-up course of access window of described destination application is with described The optimization process of terminal can executed in parallel, thus ensure that destination application is not by optimization process Interference and impact, by the optimization information that output optimization process is relevant, improve optimization and processed The user perceptibility of journey and degree directly perceived, improve terminal processes intelligent and that user is to terminal experience.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (15)

1. the optimized treatment method of a terminal, it is characterised in that including:
When detecting the access request of the destination application in terminal, the operating system to described terminal It is optimized process;
The processing procedure processed according to described optimization generates and optimizes information;
Show the operating system of described terminal in shade mode on the access window of described destination application In prompt window;
Described optimization information is exported in described prompt window.
2. the method for claim 1, it is characterised in that described when detecting the target in terminal During the access request of application program, before the operating system of described terminal is optimized process, also include:
Monitor the startup event of at least one application program in described terminal;
When the startup event of the destination application listened at least one application program described, determine inspection Measure the access request to described destination application.
3. the method for claim 1, it is characterised in that the described visit at described destination application Before asking the prompt window in the operating system showing described terminal on window in shade mode, also include:
Configuring the attribute information of prompt window in the operating system of described terminal, described attribute information includes: Display priority and transparency;Described display priority includes: system alert rank or system mistake rank; Described transparency is in the range of 0%-100%.
4. method as claimed in claim 3, it is characterised in that the described visit at described destination application Ask the prompt window in the operating system showing described terminal on window in shade mode, including:
Shade display layer is created in described terminal;
Show the access window of described destination application, and defeated on the window of described destination application Go out described shade display layer;
Call the api interface that the operating system of described terminal is open, obtain described prompt window;
According to the attribute information of described prompt window, described shade display layer shows the operation of described terminal Prompt window in system.
5. method as claimed in claim 4, it is characterised in that the described visit at described destination application After asking the prompt window in the operating system showing described terminal on window in shade mode, also include:
Monitor the display duration of described prompt window;
When the display duration of described prompt window arrives preset duration, close described shade display layer to stop Show described prompt window.
6. the method as described in any one of claim 1-5, it is characterised in that described optimization processes and includes: At least one in process cleaning, the cleaning of CPU frequency modulation, cleaning garbage files, redundancy, internal memory release optimization;
Described optimization information includes: proceeds by the information of optimization process, terminate what optimization processed At least one in information, optimum results information, optimization completion rate information.
7. method as claimed in claim 6, it is characterised in that described output institute in described prompt window State optimization information, including:
It is processed as described optimization information pointing out animation;
Described prompting animation is exported in described prompt window.
8. the device that the optimization of a terminal processes, it is characterised in that including:
Optimize processing unit, for when detecting the access request of the destination application in terminal, right The operating system of described terminal is optimized process;
Information generating unit, the processing procedure for processing according to described optimization generates and optimizes information;
Shade display unit, for showing in shade mode on the access window of described destination application Prompt window in the operating system of described terminal;
Tip element, for exporting described optimization information in described prompt window.
9. device as claimed in claim 8, it is characterised in that also include:
Monitoring unit, for monitoring the startup event of at least one application program in described terminal, and when prison When hearing the startup event of destination application at least one application program described, determine and detect institute State the access request of destination application.
10. device as claimed in claim 8, it is characterised in that also include:
Dispensing unit, the attribute information of the prompt window in the operating system configuring described terminal, described Attribute information includes: display priority and transparency;Described display priority includes: system alert rank or System mistake rank;Described transparency is in the range of 0%-100%.
11. devices as claimed in claim 10, it is characterised in that described shade display unit includes:
Creating unit, for creating shade display layer in described terminal;
Cover output unit, for showing the access window of described destination application, and should in described target Described shade display layer is exported on the window of program;
Prompt window call unit, for calling the api interface that the operating system of described terminal is open, obtains Described prompt window;
Prompt window display unit, for the attribute information according to described prompt window, shows at described shade The prompt window in the operating system of described terminal is shown in Ceng.
12. devices as claimed in claim 10, it is characterised in that also include:
Display monitoring means, for monitoring the display duration of described prompt window, and when described prompt window When display duration arrives preset duration, close described shade display layer to stop showing described prompt window.
13. devices as described in any one of claim 8-12, it is characterised in that described optimization processes and includes: At least one in process cleaning, the cleaning of CPU frequency modulation, cleaning garbage files, redundancy, internal memory release optimization;
Described optimization information includes: proceeds by the information of optimization process, terminate what optimization processed At least one in information, optimum results information, optimization completion rate information.
14. devices as claimed in claim 13, it is characterised in that described Tip element includes:
Animation process unit, for being processed as prompting animation by described optimization information;
Animation output unit, for exporting described prompting animation in described prompt window.
15. 1 kinds of terminals, it is characterised in that include the excellent of terminal as described in any one of claim 8-14 Change processing means.
CN201510204350.4A 2015-04-27 2015-04-27 Terminal optimization processing method and device and terminal Active CN106155870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510204350.4A CN106155870B (en) 2015-04-27 2015-04-27 Terminal optimization processing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510204350.4A CN106155870B (en) 2015-04-27 2015-04-27 Terminal optimization processing method and device and terminal

Publications (2)

Publication Number Publication Date
CN106155870A true CN106155870A (en) 2016-11-23
CN106155870B CN106155870B (en) 2020-02-28

Family

ID=57347500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510204350.4A Active CN106155870B (en) 2015-04-27 2015-04-27 Terminal optimization processing method and device and terminal

Country Status (1)

Country Link
CN (1) CN106155870B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391208A (en) * 2017-08-04 2017-11-24 维沃移动通信有限公司 Startup method of playing and mobile terminal
CN107729145A (en) * 2017-10-11 2018-02-23 广东欧珀移动通信有限公司 Application program progress control method and device
CN108600498A (en) * 2018-02-27 2018-09-28 维沃移动通信有限公司 Information cuing method and device
CN110096348A (en) * 2019-03-29 2019-08-06 努比亚技术有限公司 Background application control method, wearable device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770385A (en) * 2010-02-04 2010-07-07 青岛海信移动通信技术股份有限公司 Device based on Linux system and method thereof for starting application
CN103019778A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Startups cleaning method and device
CN103220427A (en) * 2013-04-16 2013-07-24 广东欧珀移动通信有限公司 Mobile phone background program cleaning method and mobile phone
CN103679777A (en) * 2012-09-07 2014-03-26 腾讯科技(深圳)有限公司 Method and device for realizing page mask
CN104038830A (en) * 2013-03-07 2014-09-10 中兴通讯股份有限公司 Application processing method and application processing device
CN104142828A (en) * 2014-07-30 2014-11-12 北京奇虎科技有限公司 Application accelerating method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770385A (en) * 2010-02-04 2010-07-07 青岛海信移动通信技术股份有限公司 Device based on Linux system and method thereof for starting application
CN103679777A (en) * 2012-09-07 2014-03-26 腾讯科技(深圳)有限公司 Method and device for realizing page mask
CN103019778A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Startups cleaning method and device
CN104038830A (en) * 2013-03-07 2014-09-10 中兴通讯股份有限公司 Application processing method and application processing device
CN103220427A (en) * 2013-04-16 2013-07-24 广东欧珀移动通信有限公司 Mobile phone background program cleaning method and mobile phone
CN104142828A (en) * 2014-07-30 2014-11-12 北京奇虎科技有限公司 Application accelerating method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391208A (en) * 2017-08-04 2017-11-24 维沃移动通信有限公司 Startup method of playing and mobile terminal
CN107391208B (en) * 2017-08-04 2021-01-26 维沃移动通信有限公司 Game starting method and mobile terminal
CN107729145A (en) * 2017-10-11 2018-02-23 广东欧珀移动通信有限公司 Application program progress control method and device
CN108600498A (en) * 2018-02-27 2018-09-28 维沃移动通信有限公司 Information cuing method and device
CN110096348A (en) * 2019-03-29 2019-08-06 努比亚技术有限公司 Background application control method, wearable device and computer readable storage medium

Also Published As

Publication number Publication date
CN106155870B (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN106256116B (en) A kind of method and terminal controlling application program
US9973506B2 (en) Method and apparatus for clearing notification icon, and storage medium
EP3502883A1 (en) Method, device, terminal and storage medium for loading application
US9699295B2 (en) Method for displaying an icon and terminal device thereof
CN106951335B (en) Process daemon method and mobile terminal
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
US20080134071A1 (en) Enabling user control over selectable functions of a running existing application
CN105335099A (en) Memory cleaning method and terminal
CN110018765B (en) Page display method, device, terminal and storage medium
CN107832105B (en) Application program starting method, starting device and computer readable storage medium
CN106155870A (en) The optimized treatment method of a kind of terminal, device and terminal
US10908948B2 (en) Multiple application instances in operating systems that utilize a single process for application execution
CN106484262A (en) A kind of generation method of application of attending to anything else, device and terminal
CN108763951A (en) A kind of guard method of data and device
CN104750523A (en) Information processing method and electronic equipment
CN113474756A (en) Application processing method and device, storage medium and electronic equipment
WO2020168790A1 (en) Focus refresh method and device for applicaiton window, storae medium and terminal
CN106250180B (en) A kind of ODEX optimal control method and mobile terminal
WO2023029747A1 (en) Method for implementing single instance function of application, and apparatus
CN104793836A (en) Information processing method and device based on user operations and terminal
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
WO2016145707A1 (en) Method and device for adding homepage in smart terminal
CN107436802B (en) Control method, system, medium and computing device for application program
CN106055396A (en) Application management method and terminal
CN105975306A (en) Application program starting management method and application program starting management apparatus for electronic device

Legal Events

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