Terminal control method, terminal, device and storage medium thereof

文档序号:326734 发布日期:2021-11-30 浏览:11次 中文

阅读说明:本技术 一种终端控制方法、终端、装置及其存储介质 (Terminal control method, terminal, device and storage medium thereof ) 是由 韦辉彩 于 2021-08-11 设计创作,主要内容包括:本发明公开了一种用于终端的护眼控制方法、终端、装置及其存储介质,启动护眼模式,获取对终端显示屏的第一操作累计时长;判断当前第一操作累计时长是否达到第一阈值时长;若是,则终端切换到限制使用模式,所述限制使用模式下,限制非预设功能的使用,保留至少一个预设功能的正常使用,所述预设功能为预设通信功能。解决了当前的护眼控制方法存在提醒护眼不能兼顾正常通信功能的问题。(The invention discloses an eye protection control method, a terminal, a device and a storage medium for the terminal, wherein an eye protection mode is started to obtain a first operation accumulated time length for a terminal display screen; judging whether the current first operation accumulated time length reaches a first threshold time length or not; if so, the terminal is switched to a use limiting mode, the use of the non-preset function is limited in the use limiting mode, the normal use of at least one preset function is reserved, and the preset function is a preset communication function. The problem of current eyeshield control method have the eyeshield of reminding and can not compromise normal communication function is solved.)

1. An eye protection control method for a terminal, the terminal being provided with an eye protection mode, the eye protection control method comprising:

starting an eye protection mode;

acquiring a first operation accumulated time length of a terminal display screen;

judging whether the current first operation accumulated time length reaches a first threshold time length or not;

if so, the terminal is switched to a use limiting mode, the use of the non-preset function is limited in the use limiting mode, the normal use of at least one preset function is reserved, and the preset function is a preset communication function.

2. The eye-protection control method for a terminal of claim 1, wherein the limiting the use of the non-preset function comprises:

switching a current display page of a terminal display screen to display and only reserving a preset function interface, and hiding an operation inlet with a non-preset function;

alternatively, the first and second electrodes may be,

and does not respond to the use operation of the non-preset function.

3. An eye-protection control method for a terminal according to any one of claims 1-2, further comprising:

and in the use limiting mode, monitoring a voice or character communication event in a non-preset function, and when the voice or character communication event in the non-preset function is monitored, replying the voice or character communication event by using preset content, wherein the preset content comprises information that the non-preset function is in a use limiting state at present.

4. An eye-protection control method for a terminal according to any one of claims 1-2, wherein the method further comprises:

and in the use limiting mode, monitoring a voice or character communication event in a non-preset function, and when the voice or character communication event in the non-preset function is monitored, replying the voice or character communication event by using preset content, wherein the preset content comprises information that the non-preset function is currently in a use limiting state and information of at least one communication function which can be normally used currently.

5. A terminal, comprising:

the time length obtaining unit is used for obtaining the first operation accumulated time length of the terminal display screen when the eye protection mode is started;

the judging unit is used for judging whether the first operation accumulated time length is greater than a preset time length or not;

and the mode switching unit is used for switching the terminal to a use limiting mode when the first operation accumulated duration is longer than a preset duration, limiting the use of non-preset functions in the use limiting mode, and reserving the normal use of at least one preset function, wherein the preset function is a preset communication function.

6. A terminal according to claim 6, characterized in that:

also includes a limiting unit;

the limiting unit is used for switching the terminal display page to a page only retaining preset functions and hiding the operation entrance of non-preset functions when the terminal is switched to the limited use mode,

alternatively, the first and second electrodes may be,

the restriction unit is used for enabling the terminal not to respond to the use operation of the non-preset function when the terminal is in the use restriction mode.

7. A terminal according to any of claims 5-6, characterized in that it comprises a monitoring unit, a control unit;

the monitoring unit is used for monitoring a voice or character communication event in a non-preset function of the terminal in a limited use mode, and sending monitoring result information to the control unit when the voice or character communication event in the non-preset function is monitored, so that the control unit replies to the voice or character communication event by using preset content, wherein the preset content comprises information that the non-preset function is currently in a limited use state.

8. A terminal according to any of claims 5-6, further comprising:

comprises a monitoring unit and a control unit;

the monitoring unit is used for monitoring a voice or character communication event in a non-preset function of the terminal in a limited use mode, and sending monitoring result information to the control unit when the voice or character communication event in the non-preset function is monitored, so that the control unit replies to the voice or character communication event by using preset content, wherein the preset content comprises information that the non-preset function is currently in a limited use state and information of at least one communication function which can be normally used currently.

9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 4.

10. An apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 4 by means of the computer program.

Technical Field

The invention relates to the technical field of communication, in particular to an eye protection control method for a terminal, the terminal, an eye protection control device and a storage medium of the eye protection control device.

Background

The eyeshield mode of current cell-phone monitors the length of time that the user used the terminal, and when the length of time that the user used the terminal reached the settlement threshold value, force to start screen protection procedure or force to go out the screen, screen protection procedure starting state and the state of going out the screen will last a period of time, and user's eyes can have a rest, alleviates the fatigue that brings with the eye for a long time, and screen protection procedure starting state or the unable cell-phone of operating of user in the state duration of going out the screen.

The reason that a user cannot operate the mobile phone within the duration of the screen protection program starting state or the screen extinguishing state in the eye protection mode is to prevent the user from directly skipping the screen protection program starting state and the screen extinguishing state to cause the problem that the eye protection effect is difficult to achieve. However, the problem is that the user cannot complete the operations such as making a call in an emergency through the mobile phone within the duration of the screen saver on state or the screen off state.

Disclosure of Invention

In order to solve the problem that the current eye protection control method cannot give consideration to normal communication functions when eye protection is reminded, the embodiment of the invention provides a terminal control method, a terminal, a storage medium and a device.

According to an aspect of the embodiments of the present application, there is provided an eye protection control method for a terminal, the terminal being provided with an eye protection mode, the eye protection control method including:

starting an eye protection mode;

acquiring a first operation accumulated time length of a terminal display screen;

judging whether the current first operation accumulated time length reaches a first threshold time length or not;

if so, the terminal is switched to a use limiting mode, the use of the non-preset function is limited in the use limiting mode, the normal use of at least one preset function is reserved, and the preset function is a preset communication function.

Optionally, the limiting the use of the non-preset function comprises:

switching a terminal display page to display and only reserving a preset function interface, and hiding an operation inlet with a non-preset function;

alternatively, the first and second electrodes may be,

and does not respond to the use operation of the non-preset function.

Optionally, in the restricted-use mode, a voice or text communication event in a non-preset function is monitored, and when the voice or text communication event in the non-preset function is monitored, a preset content is used to reply to the voice or text communication event, where the preset content includes information that the non-preset function is currently in a restricted-use state.

Optionally, in the restricted-use mode, a voice or text communication event in a non-preset function is monitored, and when the voice or text communication event in the non-preset function is monitored, a preset content is used to reply to the voice or text communication event, where the preset content includes information that the non-preset function is currently in a restricted-use state and information of at least one communication function that can be currently and normally used.

According to another aspect of the embodiments of the present application, there is also provided a terminal, including:

the time length obtaining unit is used for obtaining the first operation accumulated time length of the terminal display screen when the eye protection mode is started;

the judging unit is used for judging whether the first operation accumulated time length is greater than a preset time length or not;

and the mode switching unit is used for switching the terminal to a use limiting mode when the first operation accumulated duration is longer than a preset duration, limiting the use of non-preset functions in the use limiting mode, and reserving the normal use of at least one preset function, wherein the preset function is a preset communication function.

Optionally, a restriction unit is further included;

the limiting unit is used for switching the terminal display page to a page only retaining preset functions and hiding the operation entrance of non-preset functions when the terminal is switched to the limited use mode,

optionally, the restriction unit is configured to, when the terminal is in the restricted usage mode, disable the terminal from responding to a usage operation of the non-preset function.

Optionally, the system comprises a monitoring unit, a control unit and a voice or text communication unit;

the monitoring unit is used for monitoring a voice or character communication event in a non-preset function of the terminal in a limited use mode, and sending monitoring result information to the control unit when the voice or character communication event in the non-preset function is monitored, so that the control unit replies to the voice or character communication event by using preset content, wherein the preset content comprises information that the non-preset function is currently in a limited use state.

Optionally, the monitoring unit is configured to monitor a voice or text communication event in a non-preset function monitored by the terminal in the limited use mode, and send monitoring result information to the control unit when the voice or text communication event in the non-preset function is monitored, so that the control unit replies to the voice or text communication event by using preset content, where the preset content includes information that the non-preset function is currently in a limited use state and information of at least one communication function that can be currently and normally used.

According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.

According to another aspect of the embodiments of the present application, there is also provided an apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.

In the embodiment of the application, the eye protection mode is started; acquiring a first operation accumulated time length of a terminal display screen; judging whether the current first operation accumulated time length reaches a first threshold time length or not; if yes, the terminal is switched to a use limiting mode, the terminal limits the use of the non-preset function in the use limiting mode, the normal use of at least one preset function is reserved, the preset function is a preset communication function, and the problem that the current eye protection control method cannot remind the eye protection and cannot give consideration to the normal communication function is solved.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

Fig. 1 is a flowchart of an eye protection control method for a terminal according to embodiment 1 of the present application;

fig. 2 is a flowchart of an alternative eye protection control method for a terminal according to embodiment 2 of the present application;

fig. 3 is a schematic diagram of a terminal according to embodiment 3 of the present application;

fig. 4 is a schematic diagram of an alternative terminal according to embodiment 4 of the present application;

fig. 5 is a schematic physical structure diagram of the device according to embodiment 5 of the present application.

Detailed Description

In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or terminal that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or terminal.

According to embodiment 1 of the present application, an embodiment of an eye protection control method for a terminal is provided. In this embodiment, the eye protection control method of the terminal may be applied to the following steps as shown in fig. 1:

firstly, starting an eye protection mode; acquiring a first operation accumulated time length of a terminal display screen;

then judging whether the current first operation accumulated time length reaches a first threshold time length or not;

it can be understood that the terminal is provided with an eye protection mode, the terminal detects the accumulated time of the first operation of the user on the display screen in the eye protection mode, the accumulated time of the first operation can be the time from the terminal to the current moment after the eye protection mode is started, the time from the terminal to the current moment after the eye protection mode is started can also be the time from the terminal to the current moment when the screen is lightened, the time from the terminal to the current moment when the user operates certain type of application can also be the time, and the like.

It is understood that the first threshold duration may be preset at the terminal by the terminal or the application manufacturer or set by the user;

and when the first operation accumulated time length reaches a first threshold value time length, the terminal is switched to a use limiting mode, under the use limiting mode, the terminal limits the use of non-preset functions and keeps the normal use of at least one preset function, and the preset function is a preset communication function.

It can be understood that the function may refer to a function of the mobile phone that leaves the factory and is provided, may also refer to an APP function that is added after downloading the APP, and even this function may refer to all functions of the whole APP application.

It can be understood that, in the limited use mode, the specific content of the terminal limiting the use of the non-preset function may be: the terminal is internally provided with a function list which does not limit the use in the use limiting mode, for example, the functions can include wifi, setting, WeChat, telephone and the like. When the setting function and the telephone function are set under the function list which does not limit the use, the terminal is switched to the use limiting mode, and the applications under the function list which does not limit the use, such as the wifi function and the WeChat application, in the terminal are not limited to be used.

It can be understood that, in the limited use mode, the specific content of the terminal limiting the use of the non-preset function may also be: the terminal is internally provided with a function list which can be used in a limited use mode, and the selection of the non-preset function is achieved by selecting whether the use is limited or not.

And after the terminal is switched to the use limiting mode, the use limiting mode lasts for a period of time, after the period of time, the use limiting mode is released by the terminal, and the terminal counts the accumulated time of the first operation again.

The embodiment is long through the first operation accumulation of restriction terminal, and the use of the long range outside non-default function is long in the restriction, keeps at least one normal use of presetting the function, preset the function for presetting the communication function, has solved and has absorbed in the long-time non-default function of user under the situation and can't feel and lead to the tired problem of using eyes, has solved the problem that can't carry out emergency communication in the protection program start-up state that current eyeshield mode exists or the state duration that goes out the screen simultaneously.

Optionally, the limitation of the non-preset function by the terminal means that the terminal display page is switched to display and only a preset function interface is reserved, and an operation entry of the non-preset function is hidden.

It can be understood that when the preset function includes a phone, the terminal switches to a limited use mode, the terminal switches to a page displaying only the reserved phone application, the terminal can enter the phone application by clicking a phone icon on the page, other functions of the terminal are hidden, and a user cannot find a click entry such as WeChat on a cell phone page.

In the embodiment, the terminal display page is switched to the state that the display is only reserved with the preset function interface and the use of the non-preset function is limited in the mode that the operation entrance of the non-preset function is hidden under the condition that the terminal is switched to the limited use mode, so that a user can simply and clearly use the function which can be used in the current mode, and the user experience is good.

Optionally, the terminal limiting the use of the non-preset function means not responding to the use operation of the non-preset function.

It is to be understood that when the preset function includes a phone, but the non-preset function includes a tremble, the terminal switches to the limited use mode, the user clicks a tremble icon, and the terminal detects an operation of clicking the tremble icon but does not perform an operation of turning on a tremble application. Or when the terminal is switched to the use limiting mode, the dither application is opened, and the terminal detects a switching command of the user to the page of the dither application, but does not execute the switching command to switch the interface.

The method of the embodiment can be achieved only by software setting on the basis of the original hardware of the terminal by confirming whether the function is the corresponding preset function or not and using the function which is not preset, and is easy to achieve.

According to embodiment 2 of the present application, an alternative embodiment of an eye protection control method for a terminal is provided. In this embodiment 2, based on the content of embodiment 1, the control method of the terminal in this embodiment 2 may be applied to the following steps as shown in fig. 2:

firstly, starting an eye protection mode to obtain a first operation accumulated time length of a terminal display screen;

then judging whether the first operation accumulated time length reaches a first threshold time length or not;

when the first operation accumulated time length reaches a first threshold value time length, the terminal is switched to a use limiting mode, under the use limiting mode, the terminal limits the use of non-preset functions and keeps the normal use of at least one preset function, and the preset function is a preset communication function;

and in the use limiting mode, monitoring a voice or character communication event in a non-preset function, and when the voice or character communication event in the non-preset function is monitored, replying the voice or character communication event by using preset content, wherein the preset content comprises information that the non-preset function is in a use limiting state at present.

It can be understood that the non-preset functions include functions of QQ, WeChat, etc., and in the limited use mode, when a chat request or voice received by the QQ, WeChat, etc. is monitored, the communication event is replied by applying the information that the functions of QQ, WeChat, etc. are in the limited use state. Specifically, it can be understood that the terminal starts monitoring in the eye protection mode, and when a WeChat or QQ communication event is monitored, the information that the QQ, WeChat or other functional applications are in the limited use state is notified to the corresponding application. When the corresponding application receives the information that the functional applications such as the QQ and the WeChat are in the use limiting state, the information is replied to the communication initiator through the text meeting voice. Optionally, when the corresponding application receives the information that the functional application such as the QQ and the WeChat is in the limited-use state, the information is replied to the application server, so that the server prompts the communication initiator that the corresponding function of the responder is in the limited-use state.

Optionally, the limiting the use of the non-preset function includes:

and switching the terminal display page to display, only reserving a preset function interface, and hiding an operation entrance with a non-preset function.

Optionally, the limiting the use of the non-preset function includes:

and does not respond to the use operation of the non-preset function.

Optionally, in replying to the voice or text communication event, the preset content includes not only the information that the non-preset function is currently in the limited use state, but also information of at least one communication function that can be currently and normally used.

It is understood that at least one of the communication functions is a predetermined function, i.e. normal use of at least one of the communication functions is reserved in the restricted use mode. For example, the telephone application is a preset function, and when a non-preset function, such as a voice or text communication event in the QQ, is monitored, the voice or text communication event in the QQ is replied by using the information that the QQ is currently in a limited use state and the telephone application is currently in a normal use state.

According to embodiment 3 of the present application, an embodiment of a terminal is provided. Fig. 3 and fig. 4 are schematic diagrams of a terminal according to embodiment 2 of the present application, where the terminal in this embodiment may implement the control method in the present invention, and specific implementation may refer to the description in the foregoing method embodiment, where the terminal device 10 includes:

the duration obtaining unit 11 is used for obtaining a first operation accumulated duration of the terminal when the eye protection mode is started;

the judging unit 12 is configured to judge whether the first operation accumulated time length is greater than a preset time length;

and the mode switching unit 13 is configured to switch the terminal to a limited use mode when the first operation accumulated duration is longer than a preset duration, limit use of a non-preset function in the limited use mode, and keep normal use of at least one preset function, where the preset function is a preset communication function.

Optionally, the terminal 10 further comprises a restriction unit 14;

the limiting unit is used for switching the terminal display page to a page only retaining preset functions and hiding the operation entrance of non-preset functions when the terminal is switched to the limited use mode,

alternatively, the first and second electrodes may be,

the restriction unit is used for enabling the terminal not to respond to the use operation of the non-preset function when the terminal is in the use restriction mode.

Although the terminal includes various units, it does not mean that the units are independent of each other.

According to embodiment 4 of the present application, an alternative embodiment of a terminal is provided. Fig. 4 is a schematic diagram of an optional terminal according to embodiment 4 of the present application, where the terminal in this embodiment may implement the control method in the present invention, and specific implementation may refer to the description in the foregoing method embodiment, where the terminal device 10 includes: the monitoring unit 15 is configured to monitor a voice or text communication event in a non-preset function of terminal monitoring in a limited use mode, and when the voice or text communication event in the non-preset function is monitored, send monitoring result information to the control unit 16, so that the control unit 16 replies to the voice or text communication event by using preset content, where the preset content includes information that the non-preset function is currently in a limited use state.

Alternatively to this, the first and second parts may,

the monitoring unit 15 is configured to monitor a voice or text communication event in a non-preset function of the terminal in the limited use mode, and send monitoring result information to the control unit 16 when the voice or text communication event in the non-preset function is monitored, so that the control unit 16 replies to the voice or text communication event with preset content, where the preset content includes information that the non-preset function is currently in a limited use state.

Although the terminal includes various units, it does not mean that the units are independent of each other.

Referring to fig. 5, based on the same inventive concept, embodiment 5 of the present invention provides an apparatus 20, comprising:

at least one processor 21, and a memory 22 connected to the at least one processor 21;

the memory 22 stores instructions executable by the at least one processor 21, and the at least one processor 21 performs the steps of the method as described in the above method embodiments by executing the instructions stored by the memory 22.

Optionally, the processor 21 may specifically include a Central Processing Unit (CPU) and an Application Specific Integrated Circuit (ASIC), which may be one or more integrated circuits for controlling program execution, may be a hardware circuit developed by using a Field Programmable Gate Array (FPGA), and may be a baseband processor.

Optionally, the processor 21 may include at least one processing core.

Optionally, the apparatus further comprises a memory 22, and the memory 22 may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk memory. The memory 22 is used for storing data required by the processor 21 in operation.

Embodiment 6 of the present invention provides a computer-readable storage medium, including:

the computer-readable storage medium has stored thereon computer instructions which, when executed by at least one processor of the computer apparatus, implement the method as described in the above method embodiments.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.

The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminals, devices, and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种来电接听控制方法、装置、终端设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类