CN108848417A - Wake up the control method and control system of lock - Google Patents

Wake up the control method and control system of lock Download PDF

Info

Publication number
CN108848417A
CN108848417A CN201810806529.0A CN201810806529A CN108848417A CN 108848417 A CN108848417 A CN 108848417A CN 201810806529 A CN201810806529 A CN 201810806529A CN 108848417 A CN108848417 A CN 108848417A
Authority
CN
China
Prior art keywords
lock
destination application
instruction
preset condition
request instruction
Prior art date
Application number
CN201810806529.0A
Other languages
Chinese (zh)
Inventor
米跃虎
罗成
Original Assignee
晶晨半导体(上海)股份有限公司
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 晶晨半导体(上海)股份有限公司 filed Critical 晶晨半导体(上海)股份有限公司
Priority to CN201810806529.0A priority Critical patent/CN108848417A/en
Publication of CN108848417A publication Critical patent/CN108848417A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Abstract

The invention discloses the control methods and control system that wake up lock, are related to ntelligent television technolog field.Waking up the control method locked includes:The request instruction that monitoring objective application program receives, the request instruction are that application wakes up lock instruction, or release wakes up lock instruction;Judge whether the destination application meets preset condition;When the destination application meets the preset condition, the request instruction is executed, or ignores the request instruction.The present invention judges whether the destination application is rogue App when it receives request instruction by monitoring objective application program;If the destination application is rogue App, ignores the request instruction of rogue App, or the wake-up lock that release rogue App holds, to avoid the influence of rogue App, WakeLock mechanism is enable to operate normally, guarantee the experience effect of user.

Description

Wake up the control method and control system of lock

Technical field

The present invention relates to control methods and control that ntelligent television technolog field more particularly to a kind of smart television wake up lock System.

Background technique

As the smart television of Android (Android) system is more more and more universal, in order to enrich the function of smart television and interior Hold, it can be by installing App using the channels such as store, USB, adb (Android Debug Bridge debugs bridge).With intelligence TV functions increase user increasingly pay close attention to shutdown after TV power consumption the problem of.In order to realize high-speed switch machine, low-power consumption and Being restored to the state-STR before hanging up, (Suspend To RAM, suspends to memory, is standby one is form, general when standby Memory is written in the data of run mode, closes screen, USB (Universal Serial Bus, universal serial bus), network etc. and sets Standby, operation being maintained with extremely low power consumption, so as to fast wake-up and the state being restored to before operation) technology comes into being.It is right therewith Vertical WakeLock mechanism (is a kind of mechanism for waking up lock, does not discharge when there is App to hold WakeLock, system then cannot be introduced into It is standby) system can be made to keep normal operating conditions, this mechanism is open to App, and the App for arbitrarily having registered corresponding authority is ok Application uses.However, the quality due to App is irregular, some rogue App (software between virus and regular software, Have normal function and malicious act, such as:The resident backstage of various measures is taken, the power consumption that equipment is significantly increased causes system card Fever etc.) although having applied for WakeLock lock, user selection it is standby after, appoint so do not discharge a WakeLock lock, make system It is unable to complete standby, causes the power consumption of system as when normal work.

Summary of the invention

WakeLock lock problem is not discharged for existing rogue App, and a kind of shadow being intended to avoid rogue App is now provided It rings, the control method and control system of the wake-up lock that WakeLock mechanism can be made to operate normally.

A kind of control method waking up lock, includes the following steps:

The request instruction that monitoring objective application program receives, the request instruction are that application wakes up lock instruction, or release Wake up lock instruction;

Judge whether the destination application meets preset condition;

When the destination application meets the preset condition, the request instruction is executed, or ignores the request Instruction.

Preferably, the preset condition is the blacklist list of a storage application program;

Judge whether the destination application meets preset condition, including:

Judge installation kit title corresponding with the destination application whether in blacklist list.

Preferably, the preset condition is that preset key is not contained in the installation kit title of the destination application Word, and/or

The destination application is not native applications program.

Preferably, when the destination application meets the preset condition, the request instruction is executed, or ignores institute Request instruction is stated, including:

When the destination application meets the preset condition, and the request instruction is that release wakes up lock instruction, release Put the wake-up lock that the destination application is held;

When the destination application meets the preset condition, and the request instruction is that application wakes up lock instruction, suddenly The slightly described application wakes up lock instruction.

Preferably, further include:

When the destination application does not meet the preset condition, the destination application executes the request and refers to It enables.

The present invention also provides a kind of control systems for waking up lock, including:

Monitoring unit, to the request instruction that monitoring objective application program receives, the request instruction is that application wakes up Lock instruction, or release wake up lock instruction;

Processing unit connects the monitoring unit, to judge whether the destination application meets preset condition, when When the destination application meets the preset condition, the processing unit is executing the request instruction, or ignores institute State request instruction.

Preferably, the processing unit includes:

Memory module, to store the blacklist list of application program.

Preferably, the preset condition is that preset key is not contained in the installation kit title of the destination application Word, and/or

The destination application is not native applications program.

Preferably, the processing unit includes:

Identification module, to identify the request instruction;

Judgment module, to judge whether the destination application meets preset condition;

Control module is separately connected the identification module and the judgment module, when the destination application meets institute Preset condition is stated, when the request instruction is that application wakes up lock instruction, the control module wakes up lock to ignore the application Instruction;

When the destination application meets the preset condition, and the request instruction is that release wakes up lock instruction, institute It states control module and wakes up lock instruction to execute the release.

Preferably, when the destination application does not meet the preset condition, the processing unit is to control It states destination application and executes the request instruction.

The beneficial effect of above-mentioned technical proposal:

In the technical program, monitoring objective application program judges the destination application when receiving request instruction Whether preset condition (whether be rogue App) is met;If the destination application is rogue App, ignore rogue App's Request instruction, or the wake-up lock that release rogue App holds, to avoid the influence of rogue App, enable WakeLock mechanism just Often operation, guarantees the experience effect of user.

Detailed description of the invention

Fig. 1 is the flow chart of the control method of the present invention for waking up lock;

Fig. 2 is the module map of the control system of the present invention for waking up lock.

Specific embodiment

Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.

It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.

The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.

As shown in Figure 1, a kind of control method for waking up lock, includes the following steps:

S1. the request instruction that monitoring objective application program receives, the request instruction are that application wakes up lock instruction, or releases Put wake-up lock instruction;

S2. judge whether the destination application meets preset condition;

When the destination application meets the preset condition, the request instruction is executed, or ignores the request Instruction.

It should be noted that the control method for waking up lock is mainly used in android smart television or android is mobile In terminal.Destination application refers to currently running program in android smart television.

In the present embodiment, monitoring objective application program, when receiving request instruction, triggering judges the target application Whether program meets the operation of preset condition (whether being rogue App);If the destination application is rogue App, neglect The slightly request instruction of rogue App, or the wake-up lock that release rogue App holds, to avoid the influence of rogue App, make WakeLock mechanism can operate normally, and guarantee the experience effect of user.

In a preferred embodiment, the preset condition can be the blacklist list of a storage application program;

Judge whether the destination application meets preset condition, including:

Judge installation kit title corresponding with the destination application whether in blacklist list.

Further, the title of rogue App is stored in the blacklist list.

In the present embodiment, the blacklist list can be pre-selection storage, when monitor destination application receive To after request instruction, then trigger the rogue App's that will be stored in the installation kit title of the destination application and blacklist list The operation that title is compared, to judge whether the destination application is rogue App, if then ignoring asking for rogue App Instruction, or the wake-up lock that release rogue App holds are asked, to avoid the influence of rogue App, transports WakeLock mechanism normally Row, guarantees the experience of user.

In a preferred embodiment, the preset condition is in the installation kit title of the destination application without containing pre- If keyword, and/or

The destination application is not native applications program.

Wherein, native applications program refers to the program of android system original machine configuration.

Further, keyword can be " Android " or " Android " etc., when in the installation kit title of destination application When not comprising " Android " or " Android ", indicating the destination application not is application or the rogue of Android certification App。

In practical applications, can also be according to preset condition create-rule list, and be stored in configuration file, when receiving When the request instruction that destination application is sent, the list of rules in configuration file is read and parsed, judges the target application journey Whether sequence meets the rule in list of rules, if so, indicating that the destination application is rogue App.Meanwhile it can also be by the mesh The title of mark application program is added in blacklist list.

Further, external interface can also be provided, in order to later period more new configuration file.

In a preferred embodiment, in step s 2, it when the destination application meets the preset condition, executes The request instruction, or ignore the request instruction, including:

When the destination application meets the preset condition, and the request instruction is that release wakes up lock instruction, release Put the wake-up lock that the destination application is held;

When the destination application meets the preset condition, and the request instruction is that application wakes up lock instruction, suddenly The slightly described application wakes up lock instruction.

For example and without limitation, if android smart television is currently at wake-up lock status, when monitoring target application When program receives release wake-up lock instruction, trigger what destination application described in android smart television forcible aborting was held Lock is waken up, so that android smart television is converted to standby mode by wake-up lock status, prevents destination application (rogue App) Exception holds wake-up lock, causes android smart television that can not be converted to standby mode.

If monitor that destination application receives application wake-up lock instruction, controllable android smart television is ignored This application wakes up lock instruction, maintains current working status, prevents destination application (rogue App) from holding wake-up lock extremely.

Further, ignoring application wake-up lock instruction can be called by system, obtained mounted list of application, ignored this The application that destination application is sent wakes up lock instruction.

In a preferred embodiment, may also include:

When the destination application does not meet the preset condition, the destination application executes the request and refers to It enables.

In the present embodiment, if destination application does not meet the preset condition, then it represents that destination application does not exist In blacklist list, belong to normal application program, corresponding operation voluntarily can be executed according to request instruction.

As shown in Fig. 2, include monitoring unit 1 and processing unit 2 the present invention also provides a kind of control system for waking up lock, Wherein:

Monitoring unit 1, to the request instruction that monitoring objective application program receives, the request instruction is that application wakes up Lock instruction, or release wake up lock instruction;

Processing unit 2 connects the monitoring unit 1, to judge whether the destination application meets preset condition, When the destination application meets the preset condition, the processing unit 2 is executing the request instruction, or ignores The request instruction.

It should be noted that the control system that application wakes up lock is mainly used in android smart television or android In mobile terminal.Destination application refers to currently running program in android smart television.

In the present embodiment, monitoring objective application program, when receiving request instruction, triggering judges the target application Whether program meets the operation of preset condition (whether being rogue App);If the destination application is rogue App, neglect The slightly request instruction of rogue App, or the wake-up lock that release rogue App holds, to avoid the influence of rogue App, make WakeLock mechanism can operate normally, and guarantee the experience effect of user.

In a preferred embodiment, the processing unit 2 may include:

Memory module 21, to store the blacklist list of application program.

In the present embodiment, the blacklist list can be pre-selection storage, when monitor destination application receive To after request instruction, then trigger the rogue App's that will be stored in the installation kit title of the destination application and blacklist list The operation that title is compared, to judge whether the destination application is rogue App, if then ignoring asking for rogue App Instruction, or the wake-up lock that release rogue App holds are asked, to avoid the influence of rogue App, transports WakeLock mechanism normally Row, guarantees the experience of user.

In a preferred embodiment, the preset condition is in the installation kit title of the destination application without containing pre- If keyword, and/or

The destination application is not native applications program.

Wherein, native applications program refers to the program of android system original machine configuration.

Further, keyword can be " Android " or " Android " etc., when in the installation kit title of destination application When not comprising " Android " or " Android ", indicating the destination application not is application or the rogue of Android certification App。

In practical applications, can also be according to preset condition create-rule list, and be stored in configuration file, when receiving When the request instruction that destination application is sent, the list of rules in configuration file is read and parsed, judges the target application journey Whether sequence meets the rule in list of rules, if so, indicating that the destination application is rogue App.Meanwhile it can also be by the mesh The title of mark application program is added in blacklist list.

Further, external interface can also be provided, in order to later period more new configuration file.

In a preferred embodiment, the processing unit 2 may include:

Identification module 23, to identify the request instruction;

Judgment module 24, to judge whether the destination application meets preset condition;

Control module 22 is separately connected the identification module 23 and the judgment module 24, when the destination application Meet the preset condition, when the request instruction is that application wakes up lock instruction, the control module 22 is to ignore the Shen It please wake up lock instruction;

When the destination application meets the preset condition, and the request instruction is that release wakes up lock instruction, institute It states control module 22 and wakes up lock instruction to execute the release.

For example and without limitation, if android smart television is currently at wake-up lock status, when monitoring target application When program receives release wake-up lock instruction, trigger what destination application described in android smart television forcible aborting was held Lock is waken up, so that android smart television is converted to standby mode by wake-up lock status, prevents destination application (rogue App) Exception holds wake-up lock, causes android smart television that can not be converted to standby mode.

If monitor that destination application receives application wake-up lock instruction, controllable android smart television is ignored This application wakes up lock instruction, maintains current working status, prevents destination application (rogue App) from holding wake-up lock extremely.

In a preferred embodiment, when the destination application does not meet the preset condition, the processing unit 2 The request instruction is executed to control the destination application.

In the present embodiment, if destination application does not meet the preset condition, then it represents that destination application does not exist In blacklist list, belong to normal application program, corresponding operation voluntarily can be executed according to request instruction.

The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.

Claims (10)

1. a kind of control method for waking up lock, which is characterized in that include the following steps:
The request instruction that monitoring objective application program receives, the request instruction are that application wakes up lock instruction, or release wakes up Lock instruction;
Judge whether the destination application meets preset condition;
When the destination application meets the preset condition, the request instruction is executed, or ignores the request instruction.
2. the control method according to claim 1 for waking up lock, which is characterized in that the preset condition is a storage application The blacklist list of program;
Judge whether the destination application meets preset condition, including:
Judge installation kit title corresponding with the destination application whether in blacklist list.
3. the control method according to claim 1 for waking up lock, which is characterized in that the preset condition is that the target is answered With in the installation kit title of program do not contain preset keyword, and/or
The destination application is not native applications program.
4. the control method according to claim 1 for waking up lock, which is characterized in that when the destination application meets institute When stating preset condition, the request instruction is executed, or ignores the request instruction, including:
When the destination application meets the preset condition, and the request instruction is that release wakes up lock instruction, institute is discharged State the wake-up lock that destination application is held;
When the destination application meets the preset condition, and the request instruction is that application wakes up lock instruction, ignore institute It states application and wakes up lock instruction.
5. the control method according to claim 1 for waking up lock, which is characterized in that further include:
When the destination application does not meet the preset condition, the destination application executes the request instruction.
6. a kind of control system for waking up lock, which is characterized in that including:
Monitoring unit, to the request instruction that monitoring objective application program receives, the request instruction is that application wake-up lock refers to It enables, or release wakes up lock instruction;
Processing unit connects the monitoring unit, to judge whether the destination application meets preset condition, when described When destination application meets the preset condition, the processing unit is executing the request instruction, or ignores described ask Ask instruction.
7. the control system according to claim 6 for waking up lock, which is characterized in that the processing unit includes:
Memory module, to store the blacklist list of application program.
8. the control system according to claim 6 for waking up lock, which is characterized in that the preset condition is that the target is answered With in the installation kit title of program do not contain preset keyword, and/or
The destination application is not native applications program.
9. the control system according to claim 6 for waking up lock, which is characterized in that the processing unit includes:
Identification module, to identify the request instruction;
Judgment module, to judge whether the destination application meets preset condition;
Control module is separately connected the identification module and the judgment module, when the destination application meet it is described pre- If condition, when the request instruction is that application wakes up lock instruction, the control module wakes up lock instruction to ignore the application;
When the destination application meets the preset condition, and the request instruction is that release wakes up lock instruction, the control Molding block wakes up lock instruction to execute the release.
10. the control system according to claim 6 for waking up lock, which is characterized in that when the destination application is not inconsistent When closing the preset condition, the processing unit executes the request instruction to control the destination application.
CN201810806529.0A 2018-07-20 2018-07-20 Wake up the control method and control system of lock CN108848417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810806529.0A CN108848417A (en) 2018-07-20 2018-07-20 Wake up the control method and control system of lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810806529.0A CN108848417A (en) 2018-07-20 2018-07-20 Wake up the control method and control system of lock

Publications (1)

Publication Number Publication Date
CN108848417A true CN108848417A (en) 2018-11-20

Family

ID=64196692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810806529.0A CN108848417A (en) 2018-07-20 2018-07-20 Wake up the control method and control system of lock

Country Status (1)

Country Link
CN (1) CN108848417A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
US9210659B2 (en) * 2012-05-25 2015-12-08 Samsung Electronics Co., Ltd. Dormancy mode control method and apparatus of portable terminal
CN106095288A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 A kind of based on the treating method and apparatus waking up lock up
CN106125891A (en) * 2016-06-24 2016-11-16 北京奇虎科技有限公司 Terminal power optimization method, device and terminal
CN107277902A (en) * 2017-06-19 2017-10-20 努比亚技术有限公司 Terminal power consumption control method, mobile terminal and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9210659B2 (en) * 2012-05-25 2015-12-08 Samsung Electronics Co., Ltd. Dormancy mode control method and apparatus of portable terminal
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN106095288A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 A kind of based on the treating method and apparatus waking up lock up
CN106125891A (en) * 2016-06-24 2016-11-16 北京奇虎科技有限公司 Terminal power optimization method, device and terminal
CN107277902A (en) * 2017-06-19 2017-10-20 努比亚技术有限公司 Terminal power consumption control method, mobile terminal and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US9146778B2 (en) Management of background tasks
KR101562448B1 (en) Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
US10649819B2 (en) Managing applications for power conservation
AU2011323985B2 (en) Application lifetime management
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
KR101949998B1 (en) Contextual history of computing objects
US10057856B2 (en) Wake-up control method and apparatus, and terminal device
CN105159776B (en) Process handling method and device
KR102107478B1 (en) Monitoring And Managing Processor Activity In Power Save Mode Of Portable Electronic Device And Portable Electronic Device supporting the same
KR102148948B1 (en) Multi tasking method of electronic apparatus and electronic apparatus thereof
US8365180B2 (en) Information terminal, computer resource managing method, and virtual machine execution switching method
US8745417B2 (en) Computer system and notebook computer, and method for controlling computer system
KR101825005B1 (en) In-system provisioning of firmware for a hardware platform
US8255713B2 (en) Management of link states using plateform and device latencies
CN102207881B (en) Quick operation system start-up method based on Android
EP2651106A1 (en) Method and device for automatic classification of applications in mobile terminal
EP2472402B1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
US6904535B2 (en) Information processing device selecting normal and exclusive operational modes according to wake up instructions from a communication interface section or an input/output device
CN101916201B (en) Android-based mobile terminal cold-boot method and device
US7853812B2 (en) Reducing power usage in a software application
CN104221445A (en) Method for waking up terminal system and terminal
CN102656539B (en) For controlling the system and method for central processing unit power based on inferred operating load concurrency
US7596705B2 (en) Automatically controlling processor mode of multi-core processor
US20150277545A1 (en) Apparatus and Method for Awakening a Primary Processor Out of Sleep Mode
CN105474129A (en) Method for performing power-saving mode in electronic device and electronic device therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination