CN106557150A - Terminal control method and device - Google Patents

Terminal control method and device Download PDF

Info

Publication number
CN106557150A
CN106557150A CN201610982694.2A CN201610982694A CN106557150A CN 106557150 A CN106557150 A CN 106557150A CN 201610982694 A CN201610982694 A CN 201610982694A CN 106557150 A CN106557150 A CN 106557150A
Authority
CN
China
Prior art keywords
terminal
monitoring
user
intended application
currently running
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
CN201610982694.2A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610982694.2A priority Critical patent/CN106557150A/en
Publication of CN106557150A publication Critical patent/CN106557150A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Abstract

The disclosure is directed to terminal control method and device.The method includes:Whether the intended application in monitoring terminal is currently running;When intended application is currently running, the front-facing camera of terminal is opened;By front-facing camera periodically monitoring user whether just in viewing terminal;When the non-viewing terminal of user is monitored, control terminal is entered and applies unrestricted model.The technical scheme, when monitoring that intended application is currently running, by the front-facing camera for opening terminal, can be using front-facing camera periodically monitoring user whether just in viewing terminal, when the non-viewing terminal of user is monitored, illustrate that user is likely to and the terminal is not used, thus, can be entered with automatic control terminal and apply unrestricted model, operate to reduce power consumption with screen by processing intended application and being extinguished the terminal etc., save the electricity of terminal, guarantee terminal in non-viewing terminal, power consumption is as minimum as possible, so as to extend the standby time and service life of the terminal.

Description

Terminal control method and device
Technical field
It relates to field of terminal technology, more particularly to terminal control method and device.
Background technology
At present, as the function of the intelligent terminals such as mobile phone is increasingly enriched, the power consumption approach of terminal is also more and more, treat Machine duration just becomes the problem that user pays close attention to very much, but in the related, when user's not using terminal, due to Usually forget or have not enough time to close some applications, often can still run in terminal and much apply, so as to cause terminal in family Electricity drastically declines, and then shortens the service life of standby time and terminal, for example:Most of user likes sleeping front mobile phone and sees For a moment e-book, video or midnight stay up late and watch a ball game live etc., and user is likely to when sleeping, accordingly should be not off With causing these applications to be constantly in working condition, and then cause electricity drastically to decline, shorten the standby time of mobile phone and make With the life-span, and correlation technique not associated solutions.
The content of the invention
The embodiment of the present disclosure provides terminal control method and device.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of terminal control method, including:
Monitor whether the intended application in the terminal is currently running;
When the intended application is currently running, the front-facing camera of the terminal is opened;
By the front-facing camera, whether periodically monitoring user is watching the terminal;
When monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model.
In one embodiment, it is described when monitoring that the user does not watch the terminal, control the terminal and enter Using unrestricted model, including:
When monitoring that the user does not watch the duration of the screen of the terminal more than preset duration, control is described Terminal is entered and applies unrestricted model.
In one embodiment, it is described when monitoring that the user does not watch the terminal, control the terminal and enter Using unrestricted model, including:
When monitoring that the user does not watch the terminal, determine whether the intended application is currently running on foreground;
When the intended application is currently running on foreground, the intended application is switched to into running background, and extinguishes institute State screen.
In one embodiment, it is described when monitoring that the user does not watch the terminal, control the terminal and enter Using unrestricted model, including:
When monitoring that the user does not watch the terminal, the intended application is removed from internal memory, and extinguish institute State screen.
In one embodiment, it is described periodically to monitor whether the user is watching institute by the front-facing camera Terminal is stated, including:
Current shooting scope is shot by the front-facing camera, obtain shooting picture;
Periodically the shooting picture is parsed, the status information of the user is obtained;
According to the status information, judge whether the user is watching the screen, wherein, the status information bag Include it is following at least one:
The user with the presence or absence of in the shooting picture, the attitude of the user, the user view direction.
In one embodiment, whether the intended application in the monitoring terminal is currently running, including:
Determine whether to receive the Monitoring instruction for the intended application, wherein, the Monitoring instruction is opened for instruction Whether the monitoring intended application that begins is currently running;
When the Monitoring instruction is received, whether the intended application specified in monitoring the terminal is currently running.
In one embodiment, whether the intended application in the monitoring terminal is currently running, including:
When the Monitoring instruction is received, in monitoring the terminal, preset whether class application is currently running, wherein, it is described Default class application include it is following at least one:
Video class application, reading class application.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of terminal control mechanism, including:
Whether the first monitoring modular, the intended application for monitoring in the terminal are currently running;
Opening module, for when the intended application is currently running, opening the front-facing camera of the terminal;
Second monitoring modular, for whether watching the end by the front-facing camera periodically monitoring user End;
Control module, enters application limit for when monitoring that the user does not watch the terminal, controlling the terminal Molding formula.
In one embodiment, the control module includes:
For working as, control submodule, monitors that the user does not watch the duration of the screen of the terminal more than default During duration, the control terminal is entered applies unrestricted model.
In one embodiment, the control module includes:
First determination sub-module, for determining whether the intended application is currently running on foreground;
First processes submodule, for when the intended application is currently running on foreground, the intended application being switched To running background, and extinguish the screen.
In one embodiment, the control module includes:
Second processing submodule, for the intended application is removed from internal memory, and extinguishes the screen.
In one embodiment, second monitoring modular includes:
Shooting submodule, for shooting to current shooting scope by the front-facing camera, obtains shooting picture;
Analyzing sub-module, parses to the shooting picture for periodicity, obtains the status information of the user;
Judging submodule, for according to the status information, judging whether the user is watching the screen, its In, the status information include it is following at least one:
The user with the presence or absence of in the shooting picture, the attitude of the user, the user view direction.
In one embodiment, first monitoring modular includes:
Second determination sub-module, is used to determine whether to receive the Monitoring instruction for the intended application, wherein, it is described Monitoring instruction starts to monitor whether the intended application is currently running for instruction;
First monitoring submodule, for when the Monitoring instruction is received, the target specified in monitoring the terminal should With whether being currently running.
In one embodiment, first monitoring modular includes:
Second monitoring submodule, for when the Monitoring instruction is received, monitoring default class application in the terminal be It is no to be currently running, wherein, the default class application include it is following at least one:
Video class application, reading class application.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal control mechanism, including:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Monitor whether the intended application in the terminal is currently running;
When the intended application is currently running, the front-facing camera of the terminal is opened;
By the front-facing camera, whether periodically monitoring user is watching the terminal;
When monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
The technical scheme that embodiment of the disclosure is provided, when monitoring that intended application is currently running, by opening terminal Front-facing camera, it is possible to use front-facing camera periodically monitoring user whether just in viewing terminal, when monitoring user not During viewing terminal, illustrate that user is likely to and the terminal is not used, therefore, it is possible to automatic control terminal enters application limits mould Formula, is operated to reduce power consumption with screen by processing intended application and being extinguished the terminal etc., saves the electricity of terminal, Terminal is guaranteed in non-viewing terminal, power consumption is as minimum as possible, so as to extend the standby time and service life of the terminal.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in specification and the part of this specification is constituted, show the enforcement for meeting the disclosure Example, and be used for explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the terminal control method according to an exemplary embodiment.
Fig. 2 is the flow chart of another kind of terminal control method according to an exemplary embodiment.
Fig. 3 is the flow chart of another terminal control method according to an exemplary embodiment.
Fig. 4 is the flow chart of another terminal control method according to an exemplary embodiment.
Fig. 5 is the flow chart of another terminal control method according to an exemplary embodiment.
Fig. 6 is the flow chart of another terminal control method according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the terminal control mechanism according to an exemplary embodiment.
Fig. 8 is the block diagram of another kind of terminal control mechanism according to an exemplary embodiment.
Fig. 9 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
Figure 10 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
Figure 11 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
Figure 12 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
Figure 13 is the block diagram suitable for terminal control mechanism according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
In order to solve above-mentioned technical problem, the embodiment of the present disclosure provides a kind of terminal control method, and the method can be used for In TCP, system or device, and the corresponding executive agent of the method can be the terminals such as mobile phone, flat board, computer, Or the other equipment being connected with terminal such as wearable device, other mobile phones etc..
Fig. 1 is a kind of flow chart of the terminal control method according to an exemplary embodiment.
As shown in figure 1, the method comprising the steps of S101 is to step S104:
In step S101, whether the intended application in monitoring terminal is currently running;
The intended application may refer to several fixed and apply, or several default class application such as video class applications, Audio class application, reading class application etc..
In step s 102, when intended application is currently running, open the front-facing camera of terminal;
Intended application is currently running and is currently running on foreground or backstage including intended application.
In step s 103, by front-facing camera periodically monitoring user whether just in viewing terminal;
In step S104, when the non-viewing terminal of user is monitored, control terminal is entered and applies unrestricted model.
Wherein, it is low-power consumption mode using unrestricted model, control terminal is entered can be to intended application using unrestricted model The screen of terminal is processed and extinguished, to reduce the power consumption of terminal, is increased its standby time.
When monitoring that intended application is currently running, by the front-facing camera for opening terminal, it is possible to use preposition shooting Head periodically monitoring user illustrates that user is likely to not whether just in viewing terminal when the non-viewing terminal of user is monitored Using the terminal, therefore, it is possible to automatic control terminal is entered applies unrestricted model, with by being processed to intended application and being put out Screen for the terminal of going out etc. operates to reduce power consumption, saves the electricity of terminal, it is ensured that terminal in non-viewing terminal, to the greatest extent may be used by power consumption Can be minimum, so as to extend the standby time and service life of the terminal.
Fig. 2 is the flow chart of another kind of terminal control method according to an exemplary embodiment.
As shown in Fig. 2 in one embodiment, above-mentioned steps S104 can include step A1:
In step A1, when monitoring that the duration of screen of the non-viewing terminal of user exceedes preset duration, control Terminal is entered and applies unrestricted model, wherein, the preset duration freely can be customized, and can such as be 10 minutes or 20 minutes etc..
When monitoring that user does not watch the duration of the screen of the terminal more than preset duration, when illustrating that user is long Between do not watch the terminal, this further illustrates user and is likely to and is not used the terminal, therefore, it is possible to control the terminal enter automatically Enter to apply unrestricted model, the power consumption unnecessary to reduce terminal, extend the standby time of terminal.
In addition, when the duration for judging user un-watched screen exceedes preset duration, just determining that user does not see The screen of terminal is seen, the accuracy of judged result can be further improved.
Fig. 3 is the flow chart of another terminal control method according to an exemplary embodiment.
As shown in figure 3, in one embodiment, above-mentioned steps S104 can include step B1 and B2:
In step bl is determined., when the non-viewing terminal of user is monitored, determine whether intended application is currently running on foreground;
In step B2, when intended application is currently running on foreground, intended application is switched to into running background, and is extinguished Screen.
When the non-viewing terminal of user is monitored, may further determine that whether intended application is currently running on foreground, such as Fruit is currently running on foreground, then intended application can be switched to running background and extinguish screen, with the non-viewing terminal of user When, on the basis of guaranteeing that intended application is normally run, it is possible to reduce power consumption, extend the standby time of terminal.
Fig. 4 is the flow chart of another terminal control method according to an exemplary embodiment.
As shown in figure 4, in one embodiment, above-mentioned steps S104 can include step B3:
In step B3, when the non-viewing terminal of user is monitored, intended application is removed from internal memory, and extinguishes screen Curtain.
When the non-viewing terminal of user is monitored, as user may simultaneously be not used the terminal, therefore, it is possible to should by target Removed with from internal memory, and extinguish screen, with the non-viewing terminal of user, by reducing the application that runs in terminal and extinguishing Screen extends the standby time of terminal reducing power consumption.
For example:When being currently running certain Video Applications to play A programs in terminal, and user is not when watching the terminal, then It is likely due to forget to close the Video Applications or do not close the Video Applications in time just to cause the Video Applications in user Running status is still in when not watching the terminal, therefore, it is possible to the Video Applications are removed from internal memory, so as to thoroughly close Close the Video Applications for operating in foreground, and close the screen of the terminal, further to reduce the power consumption of terminal, save terminal Electricity, and then extend the standby time and service life of the terminal.
Fig. 5 is the flow chart of another terminal control method according to an exemplary embodiment.
As shown in figure 5, in one embodiment, step S103 shown in above-mentioned Fig. 1 can include step C1 to step C3:
In step C1, current shooting scope is shot by front-facing camera, obtain shooting picture;
In shooting picture, front-facing camera can be constantly in shooting state, so as to obtain the shooting picture of Time Continuous Face, or current shooting scope is shot i.e. only at the corresponding moment pair in each default shooting cycle according to the default shooting cycle The current coverage is shot, and so as to obtain the shooting picture that time discontinuous time interval is fixed, certainly, is clapped per frame Take the photograph picture and should all be labeled with shooting time, in order to monitor that user does not watch the terminal by certain shooting picture afterwards When, the user that can be continuously taken by some frames is not watched the shooting picture of the terminal and does not watch the terminal obtaining user Duration.
In step C2, periodically shooting picture is parsed, obtain the status information of user;
When periodicity is parsed to shooting picture, to all shooting pictures in above-mentioned each adjacent default shooting cycle Parsed, so, when monitor m-th preset user in the n-th frame shooting picture in the shooting cycle status information reflection Be that user does not watch the terminal and all frame shooting pictures and m-th in front M-1 default shooting cycle are default shoots In front n-1 frames shooting picture in cycle, the status information of user reflects user when the screen is watched, if until N What in the i-th frame shooting picture in the individual default shooting cycle, the status information of user still reflected is that user does not watch the screen, Then the duration of the non-viewing terminal of user the shooting time and M of the i-th frame shooting picture in the shooting cycle is preset for n-th Time difference between the shooting time of the n-th frame shooting picture in the individual default shooting cycle, wherein, M, N, n, i are positive integer, and N is more than M.Or,
When periodicity is parsed to shooting picture, can with according to the above-mentioned default shooting cycle to each shooting cycle pair The shooting picture that the moment answered photographs is parsed, so, when monitoring that the m-th default corresponding moment in shooting cycle is clapped Being that user does not watch the terminal of the status information reflection of user in the shooting picture taken the photograph and front M-1 default shooting cycle shoots To M-1 frame shooting pictures in the status information of user reflect user when the screen is watched, if until n-th it is default What in the shooting picture captured by the corresponding moment in shooting cycle, the status information of user still reflected is that user does not watch the screen Curtain, then the duration of the non-viewing terminal of user shooting time (namely the N of the shooting picture in shooting cycle is preset for n-th The corresponding moment in individual default shooting cycle) (namely m-th is pre- to preset the shooting time of the shooting picture in shooting cycle with m-th If corresponding moment in the cycle of shooting) between time difference.
In step C3, according to status information, judge whether user is watching screen, wherein, status information include with Descend at least one:
User with the presence or absence of in shooting picture, the attitude of user, user view direction.
When whether periodicity monitoring user is just in viewing terminal, current shooting scope can be entered by front-facing camera Row is shot to obtain shooting picture, and then periodically the shooting picture is parsed to obtain the status information of the user, so Relatively accurately judge whether user is watching screen according to status information afterwards, for example:When status information is not present for user When shooting picture, it is possible to determine that user does not watch the screen, or
When status information is not towards screen for the view direction and view direction of user, it is also possible to judge user not The screen is watched, or
When the attitude of attitude and user that status information is user is not the attitude of default viewing screen, it is also possible to Judge that user does not watch the screen.
Fig. 6 is the flow chart of another terminal control method according to an exemplary embodiment.
As shown in fig. 6, in one embodiment, step S101 shown in above-mentioned Fig. 1 can include step D1 and step D2:
In step D1, it is determined whether receive the Monitoring instruction for intended application, wherein, Monitoring instruction is used to indicate Start whether monitoring objective application is currently running;
In step d 2, when Monitoring instruction is received, whether the intended application specified in monitoring terminal is currently running, and refers to One or more applications that fixed intended application can be specified including personalization.
In order to avoid the running status to intended application carries out blindness monitoring, whether it is currently running in monitoring objective application When, it may be determined that the Monitoring instruction for the intended application whether is received, if received, illustrates that user expects to open really Beginning monitoring objective application, therefore, it is possible to whether the intended application specified in starting monitoring terminal is currently running.
In one embodiment, step S101 shown in above-mentioned Fig. 1 can also include:
When Monitoring instruction is received, in monitoring terminal, preset whether class application is currently running, wherein, preset class application bag Include it is following at least one:
Video class application, reading class application, wherein, the default class application includes but is not limited to video class application, reads class Using can also for example include audio class application, shopping class application etc..
In order to avoid the running status to intended application carries out blindness monitoring, when Monitoring instruction is received, user is illustrated Really expect to start monitoring objective application, therefore, it is possible to preset whether class application is currently running in starting monitoring terminal.
The above-mentioned terminal control method that the correspondence embodiment of the present disclosure is provided, the embodiment of the present disclosure also provide a kind of terminal control Device.
Fig. 7 is a kind of block diagram of the terminal control mechanism according to an exemplary embodiment.
As shown in fig. 7, the terminal control mechanism includes the first monitoring modular 701, opening module 702, the second monitoring modular 703 and control module 704:
Whether the first monitoring modular 701, the intended application being configured in monitoring terminal are currently running;
Opening module 702, when being configured as intended application and being currently running, opens the front-facing camera of terminal;
Whether second monitoring modular 703, be configured to front-facing camera periodically monitoring user just in viewing terminal;
Control module 704, when being configured as monitoring the non-viewing terminal of user, control terminal enters application and limits mould Formula.
Fig. 8 is the block diagram of another kind of terminal control mechanism according to an exemplary embodiment.
As shown in figure 8, in one embodiment, the control module 704 shown in above-mentioned Fig. 7 can include control submodule 7041:
Control submodule 7041, the duration of the screen for being configured as monitoring the non-viewing terminal of user exceed default During duration, control terminal is entered and applies unrestricted model.
Fig. 9 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
As shown in figure 9, in one embodiment, the control module 704 shown in above-mentioned Fig. 7 can determine submodule including first Block 7042 and first processes submodule 7043:
First determination sub-module 7042, is configured to determine that whether intended application is currently running on foreground;
First processes submodule 7043, is configured as intended application and is currently running at foreground, intended application is switched To running background, and extinguish screen.
Figure 10 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
As shown in Figure 10, in one embodiment, the control module 704 shown in above-mentioned Fig. 7 can include second processing Module 7044:
Second processing submodule 7044, is configured to intended application is removed from internal memory, and extinguishes screen.
Figure 11 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
As shown in figure 11, in one embodiment, the second monitoring modular 703 shown in above-mentioned Fig. 7 can include shooting son Module 7031, analyzing sub-module 7032 and judging submodule 7033:
Shooting submodule 7031, is configured to front-facing camera and current shooting scope is shot, shot Picture;
Analyzing sub-module 7032, is configured to periodically parse shooting picture, obtains the status information of user;
Judging submodule 7033, is configured to according to status information, judges whether user is watching screen, wherein, shape State information include it is following at least one:
User with the presence or absence of in shooting picture, the attitude of user, user view direction.
Figure 12 is the block diagram of another terminal control mechanism according to an exemplary embodiment.
As shown in figure 12, in one embodiment, the first monitoring modular 701 shown in above-mentioned Fig. 7 can be true including second Stator modules 7011 and the first monitoring submodule 7012:
Second determination sub-module 7011, is configured to determine whether to receive the Monitoring instruction for intended application, wherein, Monitoring instruction is configured to indicate to start whether monitoring objective application is currently running;
First monitoring submodule 7012, when being configured as receiving Monitoring instruction, the target specified in monitoring terminal should With whether being currently running.
In one embodiment, the first monitoring modular 701 can be including the second monitoring submodule:
Whether just second monitoring submodule, when being configured as receiving Monitoring instruction, preset class application in monitoring terminal In operation, wherein, default class application include it is following at least one:
Video class application, reading class application.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal control mechanism, including:
Processor;
For storing the memory of processor executable;
Wherein, processor is configured to:
Monitor whether the intended application in the terminal is currently running;
When the intended application is currently running, the front-facing camera of the terminal is opened;
By the front-facing camera, whether periodically monitoring user is watching the terminal;
When monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model.
Above-mentioned processor is also configured to:
It is described when monitoring that the user does not watch the terminal, control the terminal and enter to apply unrestricted model, wrap Include:
When monitoring that the user does not watch the duration of the screen of the terminal more than preset duration, control is described Terminal is entered and applies unrestricted model.
Above-mentioned processor is also configured to:
It is described when monitoring that the user does not watch the terminal, control the terminal and enter to apply unrestricted model, wrap Include:
When monitoring that the user does not watch the terminal, determine whether the intended application is currently running on foreground;
When the intended application is currently running on foreground, the intended application is switched to into running background, and extinguishes institute State screen.
Above-mentioned processor is also configured to:
It is described when monitoring that the user does not watch the terminal, control the terminal and enter to apply unrestricted model, wrap Include:
When monitoring that the user does not watch the terminal, the intended application is removed from internal memory, and extinguish institute State screen.
Above-mentioned processor is also configured to:
It is described periodically to monitor whether the user is watching the terminal by the front-facing camera, including:
Current shooting scope is shot by the front-facing camera, obtain shooting picture;
Periodically the shooting picture is parsed, the status information of the user is obtained;
According to the status information, judge whether the user is watching the screen, wherein, the status information bag Include it is following at least one:
The user with the presence or absence of in the shooting picture, the attitude of the user, the user view direction.
Above-mentioned processor is also configured to:
Whether the intended application monitored in the terminal is currently running, including:
Determine whether to receive the Monitoring instruction for the intended application, wherein, the Monitoring instruction is opened for instruction Whether the monitoring intended application that begins is currently running;
When the Monitoring instruction is received, whether the intended application specified in monitoring the terminal is currently running.
Above-mentioned processor is also configured to:
Whether the intended application monitored in the terminal is currently running, including:
When the Monitoring instruction is received, in monitoring the terminal, preset whether class application is currently running, wherein, it is described Default class application include it is following at least one:
Video class application, reading class application.
Figure 13 is a kind of block diagram for terminal control mechanism 1300 according to an exemplary embodiment, and the device is fitted For terminal device.For example, device 1300 can be mobile phone, and computer, digital broadcast terminal, messaging devices are swum Play console, tablet device, Medical Devices, body-building equipment, individual number assistant etc..
With reference to Figure 13, device 1300 can be included with next or at least two components:Process assembly 1302, memory 1304, power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, input/output (I/O) interface 1312, sensor group Part 1314, and communication component 1316.
The integrated operation of 1302 usual control device 1300 of process assembly, such as with display, call, data communication, The associated operation of camera operation and record operation.Process assembly 1302 can include one or at least two processors 1320 Execute instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1302 can include one or at least Two modules, the interaction being easy between process assembly 1302 and other assemblies.For example, process assembly 1302 can include multimedia Module, to facilitate the interaction between multimedia groupware 1308 and process assembly 1302.
Memory 1304 is configured to store various types of data to support the operation in device 1300.These data Example includes the instruction of any storage object or method for operating on device 1300, contacts user data, telephone directory number According to, message, picture, video etc..Memory 1304 can by any kind of volatibility or non-volatile memory device or it Combination realize that such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, soon Flash memory, disk or CD.
Power supply module 1306 provides power supply for the various assemblies of device 1300.Power supply module 1306 can include power management System, one or at least two power supplys, and other generate, manage and distribute the component that power supply is associated with for device 1300.
Multimedia groupware 1308 is included in the screen of one output interface of offer between described device 1300 and user.
In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes Touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or extremely Few two touch sensors are with the gesture on sensing touch, slip and touch panel.The touch sensor not only can be sensed Touch or the border of sliding action, but also detect the duration related to the touch or slide and pressure.
In certain embodiments, multimedia groupware 1308 includes a front-facing camera and/or post-positioned pick-up head.Work as device 1300 are in operator scheme, such as screening-mode or during video mode, and front-facing camera and/or post-positioned pick-up head can receive outside Multi-medium data.Each front-facing camera and post-positioned pick-up head can be a fixed optical lens system or have focal length And optical zoom ability.
Audio-frequency assembly 1310 is configured to output and/or input audio signal.For example, audio-frequency assembly 1310 includes a wheat Gram wind (MIC), when device 1300 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal for being received can be further stored in memory 1304 or via communication Component 1316 sends.In certain embodiments, audio-frequency assembly 1310 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1312 are that interface, above-mentioned peripheral interface module are provided between process assembly 1302 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1314 includes one or at least two sensors, for the shape of various aspects is provided for device 1300 State is assessed.For example, sensor cluster 1314 can detect the opening/closed mode of device 1300, the relative positioning of component, example If the component is the display and keypad of device 1300, sensor cluster 1314 can be with detection means 1300 or device The position of 1300 1 components changes, and user is presence or absence of with what device 1300 was contacted, and 1300 orientation of device or acceleration/subtract The temperature change of speed and device 1300.Sensor cluster 1314 can include proximity transducer, be configured to not any Physical contact when the neighbouring object of detection presence.Sensor cluster 1314 can also include optical sensor, such as CMOS or CCD figures As sensor, for used in imaging applications.In certain embodiments, the sensor cluster 1314 can also include acceleration Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1316 is configured to facilitate the communication of wired or wireless way between device 1300 and other equipment.Dress Put 1300 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.It is exemplary at one In embodiment, communication component 1316 receives the broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.
In one exemplary embodiment, the communication component 1316 also includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 1300 can by one or at least two application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field-programmable gate array Row (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memory 1304 of instruction, above-mentioned instruction can be performed to complete said method by the processor 1320 of device 1300.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by said apparatus 1300 During computing device so that said apparatus 1300 are able to carry out a kind of terminal control method, including:
Monitor whether the intended application in the terminal is currently running;
When the intended application is currently running, the front-facing camera of the terminal is opened;
By the front-facing camera, whether periodically monitoring user is watching the terminal;
When monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model.
In one embodiment, it is described when monitoring that the user does not watch the terminal, control the terminal and enter Using unrestricted model, including:
When monitoring that the user does not watch the duration of the screen of the terminal more than preset duration, control is described Terminal is entered and applies unrestricted model.
In one embodiment, it is described when monitoring that the user does not watch the terminal, control the terminal and enter Using unrestricted model, including:
When monitoring that the user does not watch the terminal, determine whether the intended application is currently running on foreground;
When the intended application is currently running on foreground, the intended application is switched to into running background, and extinguishes institute State screen.
In one embodiment, it is described when monitoring that the user does not watch the terminal, control the terminal and enter Using unrestricted model, including:
When monitoring that the user does not watch the terminal, the intended application is removed from internal memory, and extinguish institute State screen.
In one embodiment, it is described periodically to monitor whether the user is watching institute by the front-facing camera Terminal is stated, including:
Current shooting scope is shot by the front-facing camera, obtain shooting picture;
Periodically the shooting picture is parsed, the status information of the user is obtained;
According to the status information, judge whether the user is watching the screen, wherein, the status information bag Include it is following at least one:
The user with the presence or absence of in the shooting picture, the attitude of the user, the user view direction.
In one embodiment, whether the intended application in the monitoring terminal is currently running, including:
Determine whether to receive the Monitoring instruction for the intended application, wherein, the Monitoring instruction is opened for instruction Whether the monitoring intended application that begins is currently running;
When the Monitoring instruction is received, whether the intended application specified in monitoring the terminal is currently running.
In one embodiment, whether the intended application in the monitoring terminal is currently running, including:
When the Monitoring instruction is received, in monitoring the terminal, preset whether class application is currently running, wherein, it is described Default class application include it is following at least one:
Video class application, reading class application.
Art technology user person will readily occur to the disclosure after considering specification and putting into practice disclosure disclosed herein Other embodiments.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes Or adaptations follow the disclosure general principle and including the disclosure it is undocumented in the art it is known often Know or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim point out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appended claim.

Claims (15)

1. a kind of terminal control method, it is characterised in that include:
Monitor whether the intended application in the terminal is currently running;
When the intended application is currently running, the front-facing camera of the terminal is opened;
By the front-facing camera, whether periodically monitoring user is watching the terminal;
When monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model.
2. method according to claim 1, it is characterised in that
It is described that when monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model, including:
When monitoring that the user does not watch the duration of the screen of the terminal more than preset duration, the terminal is controlled Into applying unrestricted model.
3. method according to claim 1, it is characterised in that
It is described that when monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model, including:
When monitoring that the user does not watch the terminal, determine whether the intended application is currently running on foreground;
When the intended application is currently running on foreground, the intended application is switched to into running background, and extinguishes the screen Curtain.
4. method according to claim 1, it is characterised in that
It is described that when monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model, including:
When monitoring that the user does not watch the terminal, the intended application is removed from internal memory, and extinguish the screen Curtain.
5. method according to claim 1, it is characterised in that
It is described periodically to monitor whether the user is watching the terminal by the front-facing camera, including:
Current shooting scope is shot by the front-facing camera, obtain shooting picture;
Periodically the shooting picture is parsed, the status information of the user is obtained;
According to the status information, judge whether the user is watching the screen, wherein, the status information include with Descend at least one:
The user with the presence or absence of in the shooting picture, the attitude of the user, the user view direction.
6. method according to any one of claim 1 to 5, it is characterised in that
Whether the intended application monitored in the terminal is currently running, including:
Determine whether to receive the Monitoring instruction for the intended application, wherein, the Monitoring instruction starts prison for instruction Survey whether the intended application is currently running;
When the Monitoring instruction is received, whether the intended application specified in monitoring the terminal is currently running.
7. method according to claim 6, it is characterised in that
Whether the intended application monitored in the terminal is currently running, including:
When the Monitoring instruction is received, in monitoring the terminal, preset whether class application is currently running, wherein, it is described default Class application include it is following at least one:
Video class application, reading class application.
8. a kind of terminal control mechanism, it is characterised in that include:
Whether the first monitoring modular, the intended application for monitoring in the terminal are currently running;
Opening module, for when the intended application is currently running, opening the front-facing camera of the terminal;
Second monitoring modular, for whether watching the terminal by the front-facing camera periodically monitoring user;
Control module, enters application restriction mould for when monitoring that the user does not watch the terminal, controlling the terminal Formula.
9. device according to claim 8, it is characterised in that
The control module includes:
For working as, control submodule, monitors that the user does not watch the duration of the screen of the terminal and exceedes preset duration When, the control terminal is entered applies unrestricted model.
10. device according to claim 8, it is characterised in that
The control module includes:
First determination sub-module, for when monitoring that the user does not watch the terminal, whether determining the intended application It is currently running on foreground;
First processes submodule, for when the intended application is currently running on foreground, after the intended application is switched to Platform runs, and extinguishes the screen.
11. devices according to claim 8, it is characterised in that
The control module includes:
Second processing submodule, for when monitoring that the user does not watch the terminal, by the intended application from internal memory Middle removing, and extinguish the screen.
12. devices according to claim 8, it is characterised in that
Second monitoring modular includes:
Shooting submodule, for shooting to current shooting scope by the front-facing camera, obtains shooting picture;
Analyzing sub-module, parses to the shooting picture for periodicity, obtains the status information of the user;
Judging submodule, for according to the status information, judging whether the user is watching the screen, wherein, institute State status information include it is following at least one:
The user with the presence or absence of in the shooting picture, the attitude of the user, the user view direction.
13. devices according to any one of claim 8 to 12, it is characterised in that
First monitoring modular includes:
Second determination sub-module, is used to determine whether to receive the Monitoring instruction for the intended application, wherein, the monitoring Instruct for indicating to start to monitor whether the intended application is currently running;
First monitoring submodule, for when the Monitoring instruction is received, the intended application specified in monitoring the terminal is It is no to be currently running.
14. devices according to claim 13, it is characterised in that
First monitoring modular includes:
Second monitoring submodule, for when the Monitoring instruction is received, monitoring in the terminal whether just to preset class application Operation, wherein, the default class application include it is following at least one:
Video class application, reading class application.
15. a kind of terminal control mechanisms, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
Monitor whether the intended application in the terminal is currently running;
When the intended application is currently running, the front-facing camera of the terminal is opened;
By the front-facing camera, whether periodically monitoring user is watching the terminal;
When monitoring that the user does not watch the terminal, the control terminal is entered applies unrestricted model.
CN201610982694.2A 2016-11-08 2016-11-08 Terminal control method and device Pending CN106557150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610982694.2A CN106557150A (en) 2016-11-08 2016-11-08 Terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610982694.2A CN106557150A (en) 2016-11-08 2016-11-08 Terminal control method and device

Publications (1)

Publication Number Publication Date
CN106557150A true CN106557150A (en) 2017-04-05

Family

ID=58444224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610982694.2A Pending CN106557150A (en) 2016-11-08 2016-11-08 Terminal control method and device

Country Status (1)

Country Link
CN (1) CN106557150A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168620A (en) * 2017-04-21 2017-09-15 北京小米移动软件有限公司 Method, device, terminal device and the computer-readable recording medium of control terminal
CN107300967A (en) * 2017-06-30 2017-10-27 广东欧珀移动通信有限公司 A kind of intelligent navigation method, device, storage medium and terminal
CN107729113A (en) * 2017-10-30 2018-02-23 珠海市魅族科技有限公司 Page management method, device, computer installation and computer-readable recording medium
CN108848255A (en) * 2018-05-28 2018-11-20 佛山市洁宇信息科技有限公司 A kind of mobile phone lock screen system and method
CN109213562A (en) * 2018-09-18 2019-01-15 北京猎户星空科技有限公司 Control method, device, equipment and the storage medium of smart machine
US11579906B2 (en) * 2019-09-04 2023-02-14 Dell Products, L.P. Managing performance optimization of applications in an information handling system (IHS)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697563A (en) * 2009-10-26 2010-04-21 宇龙计算机通信科技(深圳)有限公司 Power saving method for mobile terminal and mobile terminal
CN103517138A (en) * 2012-06-18 2014-01-15 联想(北京)有限公司 State switching method and electronic apparatus
CN103576834A (en) * 2012-08-07 2014-02-12 三星电子株式会社 Power saving control method and electronic device supporting the same
CN104246650A (en) * 2012-03-25 2014-12-24 英特尔公司 Methods and apparatus for saving power
CN105425950A (en) * 2015-11-04 2016-03-23 惠州Tcl移动通信有限公司 Method and system for regulating terminal according to eyeball state detection, and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697563A (en) * 2009-10-26 2010-04-21 宇龙计算机通信科技(深圳)有限公司 Power saving method for mobile terminal and mobile terminal
CN104246650A (en) * 2012-03-25 2014-12-24 英特尔公司 Methods and apparatus for saving power
CN103517138A (en) * 2012-06-18 2014-01-15 联想(北京)有限公司 State switching method and electronic apparatus
CN103576834A (en) * 2012-08-07 2014-02-12 三星电子株式会社 Power saving control method and electronic device supporting the same
CN105425950A (en) * 2015-11-04 2016-03-23 惠州Tcl移动通信有限公司 Method and system for regulating terminal according to eyeball state detection, and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168620A (en) * 2017-04-21 2017-09-15 北京小米移动软件有限公司 Method, device, terminal device and the computer-readable recording medium of control terminal
CN107300967A (en) * 2017-06-30 2017-10-27 广东欧珀移动通信有限公司 A kind of intelligent navigation method, device, storage medium and terminal
CN107300967B (en) * 2017-06-30 2020-07-07 Oppo广东移动通信有限公司 Intelligent navigation method, device, storage medium and terminal
CN107729113A (en) * 2017-10-30 2018-02-23 珠海市魅族科技有限公司 Page management method, device, computer installation and computer-readable recording medium
CN108848255A (en) * 2018-05-28 2018-11-20 佛山市洁宇信息科技有限公司 A kind of mobile phone lock screen system and method
CN109213562A (en) * 2018-09-18 2019-01-15 北京猎户星空科技有限公司 Control method, device, equipment and the storage medium of smart machine
CN109213562B (en) * 2018-09-18 2022-03-11 北京金山安全软件有限公司 Control method, device and equipment of intelligent equipment and storage medium
US11579906B2 (en) * 2019-09-04 2023-02-14 Dell Products, L.P. Managing performance optimization of applications in an information handling system (IHS)

Similar Documents

Publication Publication Date Title
CN106557150A (en) Terminal control method and device
CN104601918B (en) video recording method and device
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN106028143A (en) Video live broadcasting method and device
CN107943347B (en) Touch screen control method and device
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN106101629A (en) The method and device of output image
CN105245775A (en) Method and device for camera imaging, and mobile terminal
CN104702919A (en) Play control method and device and electronic device
CN105653041A (en) Display state adjusting method and device
CN104915123A (en) Terminal display method and device
CN104735385A (en) Playing control method and device and electronic equipment
CN104376239A (en) Terminal unlocking method and device
CN104460185A (en) Automatic focusing method and device
US11546749B2 (en) Method and device for communication processing, and storage medium
CN107102801A (en) Terminal screen spinning solution and device
CN105376903A (en) Method and device for adjusting brightness
CN108227933A (en) The control method and device of glasses
CN104991752A (en) Method and device for controlling screen to rotate
CN104980662A (en) Method for adjusting imaging style in shooting process, device thereof and imaging device
CN104243829A (en) Self-shooting method and self-shooting device
CN105472157A (en) Method and device for monitoring terminal motion state
CN108200279A (en) backlight adjusting method, device and equipment
CN106292994A (en) The control method of virtual reality device, device and virtual reality device
CN113382270A (en) Virtual resource processing method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405

RJ01 Rejection of invention patent application after publication