CN104484227A - Hardware resource utilization rate management method and hardware resource utilization rate management system - Google Patents

Hardware resource utilization rate management method and hardware resource utilization rate management system Download PDF

Info

Publication number
CN104484227A
CN104484227A CN201410818472.8A CN201410818472A CN104484227A CN 104484227 A CN104484227 A CN 104484227A CN 201410818472 A CN201410818472 A CN 201410818472A CN 104484227 A CN104484227 A CN 104484227A
Authority
CN
China
Prior art keywords
screen
plug
unit
real
status bar
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.)
Pending
Application number
CN201410818472.8A
Other languages
Chinese (zh)
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.)
ThunderSoft Co Ltd
Original Assignee
ThunderSoft 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 ThunderSoft Co Ltd filed Critical ThunderSoft Co Ltd
Priority to CN201410818472.8A priority Critical patent/CN104484227A/en
Publication of CN104484227A publication Critical patent/CN104484227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a hardware resource utilization rate management method and a hardware resource utilization rate management system. The method includes the following steps: after an application runs, whether a screen is in an occupied state is judged; when the screen is in the occupied state, then a real-time screen plugin is set as a quiescent state, so that the update of the real-time screen plugin is stopped; when the running of the application finishes, then the quiescent state of the real-time screen plugin is released, and the real-time screen plugin is instructed to update.

Description

A kind of management method of hardware resource utilization rate and system
Technical field
The present invention relates to electronic technology field, particularly a kind of management method of hardware resource utilization rate and system.
Background technology
Android (Android) system is the intelligent operating system that on current mobile terminal, coverage rate is the highest.Android system has relatively outstanding performance, the ripe perfect ecosphere, and environment very opening, has wide adaptive optimization and the space of transformation.So for the manufacturer of all multi-mobile-terminals, Android system is best selection.
Under the large platform of Android system, mobile terminal kind is extremely many, and hardware configuration height is different.Any mobile terminal with Android system in theory, all can deliver the types of applications program in Android platform.But in fact, the effect of application program and delivery can be delivered, also will depend on the performance of hardware.
For the mobile terminal of height configuration, the Android application program of the operation overwhelming majority that certainly can be smooth.But for a lot of low configuration mobile terminal, the core component such as its CPU, RAM all exist functional limitation, and normal delivery Android system has just fixedly occupied performance resource greatly; If reruned on this basis, large-scale 3D to play and so on high power consumption application program, then hardware performance will decline sharply, and the smooth degree of operation is just difficult to be protected.
The defect that visible prior art exists is, the Android mobile terminal hardware performance of low configuration is limited, delivers Android system in addition and fixedly can take a large amount of performance resource, so be difficult to the smooth high power consumption application program of delivery; The optimization method effectively can avoiding this phenomenon is there is not in prior art yet.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of management method and system of hardware resource utilization rate, by when the large-scale application program of high power consumption is run, the resident program of part Android system out of service, to reduce the utilization rate of hardware resource, to leave application program for by performance resource more.
For achieving the above object, the present invention has following technical scheme:
A management method for hardware resource utilization rate, described method comprises:
After application program is run, judge whether screen is seizure condition;
When screen is described seizure condition, then real time screen plug-in unit is set to silent status, stops making described real time screen plug-in unit upgrading;
When application program terminates to run, then remove the silent status of described real time screen plug-in unit, and real time screen update of plug-in described in instruction.
Describedly judge whether screen is that seizure condition is specially:
Judge whether described screen is screen mode toggle, when described screen is screen mode toggle, then think that screen is in seizure condition.
Described real time screen plug-in unit is specially:
The real-time plug-in unit of screen locking; The real-time plug-in unit of described screen locking comprises, screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit.
Describedly judge whether screen is that seizure condition is specially:
Judge whether screen state hurdle shows, when screen state hurdle does not show, then think that screen is in seizure condition.
Described real time screen plug-in unit is specially:
The real-time plug-in unit of status bar; The real-time plug-in unit of described status bar comprises, status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit, status bar signal intensity plug-in unit.
A management system for hardware resource utilization rate, described system comprises:
Screen judge module, for after application program is run, judges whether screen is seizure condition;
PROCESS CONTROL MODULE, for when screen is described seizure condition, is set to silent status by interface management process, stops upgrading real time screen plug-in unit to make described interface management process; And when application program terminates to run, remove the silent status of described interface management process, and interface management process described in instruction is to described real time screen update of plug-in.
Described screen judge module comprises:
First judging unit, for judging whether described screen is screen mode toggle, when described screen is screen mode toggle, then thinks that screen is in seizure condition.
Described real time screen plug-in unit is specially:
The real-time plug-in unit of screen locking; The real-time plug-in unit of described screen locking comprises, screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit.
Described screen judge module comprises:
Second judging unit, for judging whether screen state hurdle shows, when screen state hurdle does not show, then thinks that screen is in seizure condition.
Described real time screen plug-in unit is specially:
The real-time plug-in unit of status bar; The real-time plug-in unit of described status bar comprises, status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit, status bar signal intensity plug-in unit.
As seen through the above technical solutions, the beneficial effect that the present invention exists is: will, under screen seizure condition, make interface management process stop upgrading the mode of real time screen plug-in unit, and be able to reduce interface management process when application program is run and take hardware resource; Thus realize the management of hardware resource utilization rate, retain the operation of more hardware resource for application program; Make the operation of high power consumption application program more smooth.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is method flow diagram described in the embodiment of the present invention;
Fig. 2 is method flow diagram described in another embodiment of the present invention;
Fig. 3 is method flow diagram described in further embodiment of this invention;
Fig. 4 is system architecture schematic diagram described in the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Interface management process (System UI) is one of Resident Process in Android system, the hardware resource taking a part in the core component such as CPU or RAM must fixed under regular situation.The effect of interface management process upgrades the real time screen plug-in unit on mobile terminal display screen curtain.Such as, the clock on clock under lock status and date, screen state hurdle, date, signal condition, network data state or electricity etc. are shielded; Like thisly to show on a terminal screen, and be often in the communication icon in dynamic change, all belong to real time screen plug-in unit in the background.
Because described real time screen plug-in unit all has real-time and dynamic change, so described interface management process must be resided, ceaselessly to upgrade the information content changed in real time screen plug-in unit.But in fact applicant finds, when the application program of some large-scale high power consumptions of terminal operating, often at screen seizure condition, the interface of namely full screen display application program, now neither Show Status Bar, more can not screen locking, described real time screen plug-in unit does not show under screen seizure condition.But in prior art, interface management process still can ceaselessly real-time update under screen seizure condition.And real time screen plug-in unit is not when showing, carrying out real-time renewal to it does not have meaning, can take certain hardware resource on the contrary.
So in the present invention, will, under screen seizure condition, make interface management process stop upgrading the mode of real time screen plug-in unit, and be able to reduce interface management process when application program is run and take hardware resource; Thus realize the management of hardware resource utilization rate, retain the operation of more hardware resource for application program.
Shown in Figure 1, be a specific embodiment of the method for the invention.In the present embodiment, said method comprising the steps of:
Step 101, application program run after, judge whether screen is seizure condition.
Aforementioned known, when screen is in seizure condition, then can without the need to real-time renewal real time screen plug-in unit.So judge screen state in advance in the present embodiment.If the application program of certain high power consumption of running of mobile terminal and screen enters seizure condition, step 102 can be entered.
Step 102, when screen is described seizure condition, then real time screen plug-in unit is set to silent status, stops making described real time screen plug-in unit upgrading.
If screen enters seizure condition, then at once described real time screen plug-in unit is set to silent status.Under silent status, described real time screen plug-in unit no longer upgrades.Such interface management process just decreases the mutual of the overwhelming majority, and its hardware resource taken also just reduces greatly.
Step 103, when application program terminates to run, then remove the silent status of described real time screen plug-in unit, and real time screen update of plug-in described in instruction.
After application program end of run, the seizure condition of screen is removed, and described real time screen plug-in unit just can be presented in screen again.But due to application program run duration, the information of real time screen plug-in unit does not upgrade, and also rests on the state when application program brings into operation, and does not conform to current situation always.
Such as, suppose that 12:10 brings into operation application program at noon, and continuous service one hour, when so application program terminates to run, the time is when being 13:10; But the time of real time screen plug-in unit also rests on 12:10, does not upgrade always.
So after application program terminates to run, remove the silent status of described real time screen plug-in unit at once, and real time screen plug-in unit described in instruction upgrades at once, to recover the accuracy of displaying contents in real time screen plug-in unit timely.
In the present invention, described real time screen plug-in unit is divided into two classes, one class is the real-time plug-in unit of screen locking, specifically comprises screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit etc., for show under screen lock state time, date and mobile terminal the information such as current electric quantity.Another kind of is the real-time plug-in unit of status bar, comprises status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit and status bar signal intensity plug-in unit etc.; For the information such as intensity of displaying time in status bar, electricity, network data state (as 3G, 4G or WIFI), signal of communication.In the present invention, the control of this two classes real time screen plug-in unit is distinguished, to some extent specifically see following examples:
Shown in Figure 2 is another specific embodiment of the method for the invention.In the present embodiment, will control for the real-time plug-in unit of described screen locking, the real-time plug-in unit of described screen locking comprises, screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit.Described in the present embodiment, method comprises the following steps:
Step 201, judge whether described screen is screen mode toggle, when described screen is screen mode toggle, then think that screen is in seizure condition.
In this step, the PhoneWindowManager by Android system is judged whether screen is screen mode toggle, if screen is screen mode toggle, then think that screen is in seizure condition.
Step 202, when screen is described seizure condition, then real-time for screen locking plug-in unit is set to silent status, stops upgrading to make the real-time plug-in unit of described screen locking.
Step 203, when application program terminates to run, then remove the silent status of the real-time plug-in unit of described screen locking, and the real-time update of plug-in of screen locking described in instruction.
Shown in Figure 3, be another specific embodiment of the method for the invention.In the present embodiment, will control for the real-time plug-in unit of described status bar.The real-time plug-in unit of described status bar comprises, status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit, status bar signal intensity plug-in unit.In the present embodiment, said method comprising the steps of:
Step 301, judge whether screen state hurdle shows, when screen state hurdle does not show, then think that screen is in seizure condition.
Control for the real-time plug-in unit of status bar then directly judges whether described status bar shows.If status bar does not show, enter step 302.Due under certain situation, even if the full frame operation of application program, but status bar still can show.So the real-time plug-in unit of described status bar takes different control modes from the real-time plug-in unit of described screen locking.
Step 302, when screen is described seizure condition, then real-time for status bar plug-in unit is set to silent status, stops upgrading to make the real-time plug-in unit of described status bar.
Step 303, when application program terminates to run, then remove the silent status of the real-time plug-in unit of described status bar, and the real-time update of plug-in of status bar described in instruction.
Shown in Figure 4, be the specific embodiment of system described in the embodiment of the present invention.In the present embodiment, described system is for realizing the method described in previous embodiment, and its technical scheme is consistent with previous embodiment in essence, so the corresponding description in previous embodiment, is equally applicable in the middle of the present embodiment.In the present embodiment, described system specifically comprises:
Screen judge module, for after application program is run, judges whether screen is seizure condition;
Described screen judge module comprises:
First judging unit, for judging whether described screen is screen mode toggle, when described screen is screen mode toggle, then thinks that screen is in seizure condition.
Second judging unit, for judging whether screen state hurdle shows, when screen state hurdle does not show, then thinks that screen is in seizure condition.
PROCESS CONTROL MODULE, for when screen is described seizure condition, is set to silent status by interface management process, stops upgrading real time screen plug-in unit to make described interface management process; And when application program terminates to run, remove the silent status of described interface management process, and interface management process described in instruction is to described real time screen update of plug-in.
Described real time screen plug-in unit comprises:
The real-time plug-in unit of screen locking; The real-time plug-in unit of described screen locking comprises, screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit.
The real-time plug-in unit of status bar; The real-time plug-in unit of described status bar comprises, status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit, status bar signal intensity plug-in unit.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a management method for hardware resource utilization rate, is characterized in that, described method comprises:
After application program is run, judge whether screen is seizure condition;
When screen is described seizure condition, then real time screen plug-in unit is set to silent status, stops making described real time screen plug-in unit upgrading;
When application program terminates to run, then remove the silent status of described real time screen plug-in unit, and real time screen update of plug-in described in instruction.
2. method according to claim 1, is characterized in that, describedly judges whether screen is that seizure condition is specially:
Judge whether described screen is screen mode toggle, when described screen is screen mode toggle, then think that screen is in seizure condition.
3. method according to claim 2, it is characterized in that, described real time screen plug-in unit is specially:
The real-time plug-in unit of screen locking; The real-time plug-in unit of described screen locking comprises, screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit.
4. method according to claim 1, is characterized in that, describedly judges whether screen is that seizure condition is specially:
Judge whether screen state hurdle shows, when screen state hurdle does not show, then think that screen is in seizure condition.
5. method according to claim 4, it is characterized in that, described real time screen plug-in unit is specially:
The real-time plug-in unit of status bar; The real-time plug-in unit of described status bar comprises, status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit, status bar signal intensity plug-in unit.
6. a management system for hardware resource utilization rate, is characterized in that, described system comprises:
Screen judge module, for after application program is run, judges whether screen is seizure condition;
PROCESS CONTROL MODULE, for when screen is described seizure condition, is set to silent status by interface management process, stops upgrading real time screen plug-in unit to make described interface management process; And when application program terminates to run, remove the silent status of described interface management process, and interface management process described in instruction is to described real time screen update of plug-in.
7. system according to claim 6, it is characterized in that, described screen judge module comprises:
First judging unit, for judging whether described screen is screen mode toggle, when described screen is screen mode toggle, then thinks that screen is in seizure condition.
8. system according to claim 7, it is characterized in that, described real time screen plug-in unit is specially:
The real-time plug-in unit of screen locking; The real-time plug-in unit of described screen locking comprises, screen locking clock plug-in unit, screen locking date plug-in unit and screen locking electricity plug-in unit.
9. system according to claim 6, it is characterized in that, described screen judge module comprises:
Second judging unit, for judging whether screen state hurdle shows, when screen state hurdle does not show, then thinks that screen is in seizure condition.
10. system according to claim 9, it is characterized in that, described real time screen plug-in unit is specially:
The real-time plug-in unit of status bar; The real-time plug-in unit of described status bar comprises, status bar clock plug-in unit, status bar electricity plug-in unit, status bar network data plug-in unit, status bar signal intensity plug-in unit.
CN201410818472.8A 2014-12-24 2014-12-24 Hardware resource utilization rate management method and hardware resource utilization rate management system Pending CN104484227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410818472.8A CN104484227A (en) 2014-12-24 2014-12-24 Hardware resource utilization rate management method and hardware resource utilization rate management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410818472.8A CN104484227A (en) 2014-12-24 2014-12-24 Hardware resource utilization rate management method and hardware resource utilization rate management system

Publications (1)

Publication Number Publication Date
CN104484227A true CN104484227A (en) 2015-04-01

Family

ID=52758771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410818472.8A Pending CN104484227A (en) 2014-12-24 2014-12-24 Hardware resource utilization rate management method and hardware resource utilization rate management system

Country Status (1)

Country Link
CN (1) CN104484227A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201521A (en) * 2016-07-12 2016-12-07 珠海市魅族科技有限公司 A kind of message treatment method, device and terminal unit
CN106959878A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 Widget management method and mobile terminal
WO2019051691A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Screen locking control method and screen locking control apparatus for smart terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142840A (en) * 2014-07-23 2014-11-12 深圳市金立通信设备有限公司 Mobile terminal
CN104156052A (en) * 2014-07-23 2014-11-19 深圳市金立通信设备有限公司 Method for managing real-time desktop clock

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142840A (en) * 2014-07-23 2014-11-12 深圳市金立通信设备有限公司 Mobile terminal
CN104156052A (en) * 2014-07-23 2014-11-19 深圳市金立通信设备有限公司 Method for managing real-time desktop clock

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201521A (en) * 2016-07-12 2016-12-07 珠海市魅族科技有限公司 A kind of message treatment method, device and terminal unit
CN106959878A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 Widget management method and mobile terminal
CN106959878B (en) * 2017-03-31 2020-03-31 努比亚技术有限公司 Widget management method and mobile terminal
WO2019051691A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Screen locking control method and screen locking control apparatus for smart terminal

Similar Documents

Publication Publication Date Title
CN105676987A (en) Method for shutting down background application of mobile terminal, device and mobile terminal
CN104657228B (en) A kind of system exception processing method and processing device of mobile terminal
CN103176789A (en) Method and system used for realizing function extension of open platform
CN104601203A (en) Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment
CN105159816A (en) Method for reducing power consumption of device, mobile terminal and system
KR101332814B1 (en) Apparatus and Method for Controlling Polling
CN103218307B (en) Internal storage management system and EMS memory management process
CN104539682A (en) Debug method, device, mobile terminal, server and system for mobile webpage
CN104217161A (en) Virus scanning method and system and terminal device
CN101883003A (en) Mandatory running method of computer operating system
WO2016082649A1 (en) Method and device for automatically processing static test data of rail transit vehicle
CN105554525A (en) Upgrade method and upgrade system for smart television or set top box
CN103870303A (en) Method and device for reducing size of software installation package
CN104484227A (en) Hardware resource utilization rate management method and hardware resource utilization rate management system
CN106101077A (en) A kind of method and device limiting application online
CN103631586A (en) Method and system for carrying out contextualization interactive processing
CN105262604A (en) Virtual machine migration method and equipment
CN104486149A (en) Finite-state machine method for ground tests
CN103701870A (en) Method for reducing power consumption generated in connection of desktop cloud terminal and server
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN105357387A (en) Method, apparatus and system for wakening terminal
CN104394458A (en) Flat television Wi-Fi (Wireless Fidelity) module passive standby power supply control method and circuit
CN109947576A (en) A kind of method of virtual machine internal broker program management
CN105183468A (en) Open plugin processing apparatus and distributed system
CN103399786B (en) A kind of based on run time context go out standing posture service implementing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150401

RJ01 Rejection of invention patent application after publication