CN111290926A - Terminal prompting method and device, storage medium and terminal - Google Patents
Terminal prompting method and device, storage medium and terminal Download PDFInfo
- Publication number
- CN111290926A CN111290926A CN202010157491.6A CN202010157491A CN111290926A CN 111290926 A CN111290926 A CN 111290926A CN 202010157491 A CN202010157491 A CN 202010157491A CN 111290926 A CN111290926 A CN 111290926A
- Authority
- CN
- China
- Prior art keywords
- screen
- display state
- state
- preset time
- prompt
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 9
- 238000012545 processing Methods 0.000 description 30
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000036541 health Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000007474 system interaction Effects 0.000 description 3
- 206010012335 Dependence Diseases 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a terminal prompting method, a terminal prompting device, a storage medium and a terminal, and relates to the technical field of communication. The prompting method of the terminal comprises the following steps: when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor; and if the display state of the screen is the opening state, sending out prompt information. The user can freely set the preset time condition, the display state of the screen is acquired only when the system time is monitored to accord with the preset time condition, whether the user uses the terminal is judged according to the display state of the screen, and if the display state of the screen is in an open state and represents that the user uses the terminal, the prompt information is sent to remind the user of reasonably using the terminal, so that the time for freely setting and prompting the user is realized, the invalid prompt is avoided, and the prompt efficiency is effectively improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for prompting a terminal, a storage medium, and a terminal.
Background
With the development of scientific technology, various terminals are increasingly appeared in daily life of people, time spent by users on the terminals is also increasing, and if the users use the terminals incorrectly, the users may cause great harm to the bodies of the users, for example, the users use mobile phones late at night, so that a prompting method for the users to use the terminals becomes one of the important points of research of the technicians in the field.
In the related art, in order to prevent a user from incorrectly using a terminal, a prompt message is generally automatically sent out at the starting stage of an application program, and the application program is automatically closed after being displayed for a period of time; or an anti-addiction mode is set in the application program, the use time of the user is limited, and the user can use the anti-addiction mode only in a fixed time interval.
However, the related art has problems that the presentation method is relatively mandatory and the presentation efficiency is low.
Disclosure of Invention
The application provides a terminal prompting method, a terminal prompting device, a storage medium and a terminal, which can solve the technical problems of relatively mandatory prompting modes and low prompting efficiency in the related technology.
In a first aspect, an embodiment of the present application provides a method for prompting a terminal, where the method includes:
when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor;
and if the display state of the screen is the opening state, sending out prompt information.
In a second aspect, an embodiment of the present application provides a prompting device for a terminal, where the device includes:
the screen state acquisition module is used for acquiring the display state of the screen through the sensor when the system time is monitored to accord with the preset time condition;
and the prompt message sending module is used for sending prompt messages if the display state of the screen is the starting state.
In a third aspect, an embodiment of the present application provides a computer storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform the above-mentioned method.
In a fourth aspect, embodiments of the present application provide a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method described above.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
the embodiment of the application provides a terminal prompting method, which comprises the following steps: when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor; and if the display state of the screen is the opening state, sending out prompt information. The user can freely set the preset time condition, the display state of the screen is acquired only when the system time is monitored to accord with the preset time condition, whether the user uses the terminal is judged according to the display state of the screen, and if the display state of the screen is in an open state and represents that the user uses the terminal, the prompt information is sent to remind the user of reasonably using the terminal, so that the time for freely setting and prompting the user is realized, the invalid prompt is avoided, and the prompt efficiency is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a system interaction diagram of a prompt method of a terminal according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a prompting method of a terminal according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a prompting method of a terminal according to another embodiment of the present application;
fig. 4 is a schematic diagram illustrating an example manner of inputting time information according to another embodiment of the present application;
fig. 5 is a schematic diagram illustrating an example of a prompt message according to another embodiment of the present application;
fig. 6 is an exemplary diagram of another prompt message according to another embodiment of the present application;
fig. 7 is a schematic diagram illustrating an example of still another prompt message according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of a prompting device of a terminal according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a prompting device of a terminal according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal according to another embodiment of the present application.
Detailed Description
In order to make the features and advantages of the present application more obvious and understandable, 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 apparent that the described embodiments are only a part of the embodiments of the present application, and not all the 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.
Referring to fig. 1, fig. 1 is a system interaction diagram of a prompting method of a terminal according to an embodiment of the present application.
It should be noted that the execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) or other integrated circuit chip in the terminal in terms of hardware, and may be, for example, a service related to a prompt method of the terminal in terms of software, which is not limited to this. The terminal can be further provided with a sensor, the sensor is connected with the central processing unit and the screen respectively, the sensor can acquire the display state of the screen, the display state can comprise an opening state and a closing state, and the sensor can also send the acquired display state of the screen to the central processing unit, so that the central processing unit can remind a user of reasonably using the terminal according to the display state of the screen.
As shown in fig. 1, the system interaction in the embodiment of the present application includes:
s101, the central processing unit obtains time information input by a user, determines a preset time condition according to the time information, and stores the preset time condition to a preset position.
S102, when monitoring that the system time meets a preset time condition, the central processing unit sends a first instruction to the sensor, wherein the first instruction is used for indicating the sensor to acquire the display state of the screen.
S103, the sensor is used for receiving the first instruction and acquiring the display state of the screen according to the first instruction.
And S104, sending the display state of the screen acquired by the sensor to a central processing unit.
S105, the central processing unit receives the display state of the screen.
And S106, if the display state of the screen is the opening state, sending out prompt information.
And S107, if the display state of the screen is the closed state, not sending out the prompt message.
Optionally, the preset time condition is a first fixed time interval, and if the display state of the screen is an on state, after sending the prompt message, the method further includes:
and acquiring the display state of the screen again through the sensor at intervals of a first fixed time interval, and sending prompt information if the display state of the screen is in an open state.
Optionally, the preset time condition is a preset time point or a preset time period;
when the preset time condition is the preset time point, if the display state of the screen is the closed state, after the prompt message is not sent, the method further comprises:
acquiring the display state of the screen again through the sensor at intervals of a second fixed time interval until the display state of the screen is in an open state, and sending prompt information;
when the preset time condition is a preset time period, if the display state of the screen is an off state, after no prompt information is sent, the method further includes:
acquiring the display state of the screen again through the sensor at intervals of a third fixed time interval within a preset time period, and sending prompt information until the display state of the screen is in an open state; wherein the third fixed time interval is not greater than the preset time period.
Optionally, sending the prompt message includes:
controlling a screen to display a text prompt; or
Controlling a sound playing device to play a voice prompt; or
And controlling the screen to display the guide information of whether the screen-off application program is operated or not.
S108, the central processing unit receives feedback information input by a user aiming at the prompt information, wherein the feedback information is first feedback information or second feedback information;
if the feedback information is first feedback information, operating a screen-off application program;
and if the feedback information is the second feedback information, stopping sending the prompt information.
In an embodiment of the present application, a method for prompting a terminal includes: when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor; and if the display state of the screen is the opening state, sending out prompt information. The user can freely set the preset time condition, the display state of the screen is acquired only when the system time is monitored to accord with the preset time condition, whether the user uses the terminal is judged according to the display state of the screen, and if the display state of the screen is in an open state and represents that the user uses the terminal, the prompt information is sent to remind the user of reasonably using the terminal, so that the time for freely setting and prompting the user is realized, the invalid prompt is avoided, and the prompt efficiency is effectively improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for prompting a terminal according to an embodiment of the present application.
As shown in fig. 2, the method steps include:
s201, when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor.
Optionally, the system time refers to time according to which an application program runs and an instruction is executed in the terminal, and the system time may be obtained through hardware (e.g., a crystal oscillator) and a program in the terminal, or may be obtained through a network connection server or a time service device, and the system time is stored in a preset location of the terminal, which is convenient for other application programs and instructions to call.
The user can preset the preset time condition according to the actual condition of the user, and the user can also modify the preset time condition at any time. The method comprises the steps that after a central processing unit receives a preset time condition input by a user, the system time is obtained in real time, the system time is compared with the preset time condition, when the system time is monitored to accord with the preset time condition, a first instruction is sent to a sensor, the first instruction is used for indicating the sensor to obtain the display state of a screen, wherein the display state comprises an open state, namely the screen is in a lighting working state; the display state also comprises a closed state, namely the screen is in a work state of being extinguished.
For example, the sensor may detect whether a signal exists in a signal transmission line of the screen, if the signal exists in the signal transmission line, the display state of the screen is an on state, and if the signal does not exist in a favorite transmission line, the display state of the screen is an off state; for another example, the sensor may detect a target brightness of the screen, and if the target brightness is greater than or equal to a preset brightness, it indicates that the display state of the screen is an on state, and if the target brightness is less than the preset brightness, it indicates that the display state of the screen is an off state.
Therefore, after the sensor receives the first instruction sent by the central processing unit, the sensor acquires the current display state of the screen according to the first instruction and sends the current display state of the screen to the central processing unit.
S202, if the display state of the screen is the opening state, sending out prompt information.
It will be appreciated that the screen serves as an important component of the terminal's interaction with the user, and thus the current display state of the screen is also representative of whether the user is using the terminal at that time. When the display state of the screen is the opening state, the screen is in the lighted working state, the screen represents that the user uses the terminal at the moment, and relevant prompt information can be sent out at the moment to remind the user to stop using the terminal, so that the body health of the user is protected by reasonably using the terminal. Because the user can freely set the preset time condition, that is, the user can set any time point, time period or fixed time interval to remind the user to use the terminal, compared with the related technology in which the user is prompted by the fixed time of the system, some invalid prompts are avoided, and therefore the prompting method of the terminal in the embodiment of the application effectively improves the prompting efficiency.
The following describes an implementation process of the prompting method of the terminal by way of example in a specific implementation manner. For example, in a general situation, a user wants to take a rest earlier, that is, before a certain time, but often lacks self-control power or forgets time and cannot take a rest on time, so the user can set the expected rest time as a preset time condition, and when the preset time condition input by the user is 22:00, that is, the user inputs a time point, and the user wants to take a rest at 22:00, if it is detected that the user is still using the terminal, the terminal can send a prompt message to remind the user to take a rest in time. When the central processing unit receives a preset time condition, namely the time point of 22:00, the system time can be continuously monitored, when the system time reaches 22:00, namely the central processing unit monitors that the system time meets the preset time condition, the display state of the screen can be acquired through the sensor at the moment, when the display state of the screen is in an opening state, the screen is in a lighting working state, the user is represented to use the terminal at the moment, relevant prompt information can be sent out at the moment to remind the user to stop using the terminal, and the body health of the user is protected by reasonably using the terminal.
In an embodiment of the present application, a method for prompting a terminal includes: when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor; and if the display state of the screen is the opening state, sending out prompt information. The user can freely set the preset time condition, the display state of the screen is acquired only when the system time is monitored to accord with the preset time condition, whether the user uses the terminal is judged according to the display state of the screen, and if the display state of the screen is in an open state and represents that the user uses the terminal, the prompt information is sent to remind the user of reasonably using the terminal, so that the time for freely setting and prompting the user is realized, the invalid prompt is avoided, and the prompt efficiency is effectively improved.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a method for prompting a terminal according to another embodiment of the present application.
As shown in fig. 3, the method steps include:
s301, acquiring time information input by a user, and determining a preset time condition according to the time information.
It is understood that the user may input the time information in any manner, for example, the time information may be input by touching relevant numbers or setting input displayed in the screen, may also be input by means of voice recognition, and may also press relevant keys in the terminal for input, which is not limited in this embodiment of the application. When the user inputs time information through the touch screen, the time information may be input through a certain application program or setting regarding a prompting method in the terminal. Fig. 4 is an exemplary schematic diagram of a manner of inputting time information according to another embodiment of the present application, as shown in fig. 4, a user may first click a "prompt" application on a terminal desktop, and after the "prompt" application runs, time information (the time information may be a time interval, a time point, or a time period) is input in an interface of the "prompt" application.
Alternatively, the time information may be a time interval, a time point or a time period, and then the preset time condition may be determined according to the time information. When the time information is a time interval, presetting a time condition as a first fixed time interval; when the time information is a time point, the preset time condition is a preset time point; when the time information is a time period, the preset time condition is a preset time period.
S302, storing the preset time condition to a preset position.
The preset time condition may be saved to a preset location, which is convenient for the central processing unit and other programs to call, and optionally, the preset time condition may be saved as a data in a preset location such as a hard disk or a read only memory.
And S303, when the system time is monitored to accord with a preset time condition, acquiring the display state of the screen through the sensor.
Optionally, after the user inputs the time information, the central processing unit may obtain a preset time condition according to the time information in time, and obtain whether the system time and the monitoring system time meet the preset time condition, where the preset time condition may be a first fixed time interval, a preset time point, or a preset time period, so that when the preset time condition is the first fixed time interval, timing is started after the user inputs the time information, and when the timing duration is the same as the first fixed time interval, the display state of the screen is obtained through the sensor; when the preset time condition is a preset time point, continuously verifying whether the current system time is the same as the preset time point or not after the user inputs time information, and acquiring the display state of a screen through a sensor when the system time is verified to be the same as the preset time point; when the preset time condition is a preset time period, continuously verifying whether the current system time falls into the preset time period or not after the user inputs time information, and acquiring the display state of the screen through the sensor when the current system time falls into the preset time period.
And S304, if the display state of the screen is the opening state, sending out prompt information.
It will be appreciated that the screen serves as an important component of the terminal's interaction with the user, and thus the current display state of the screen is also representative of whether the user is using the terminal at that time. When the display state of the screen is the opening state, the screen is in the lighted working state, the screen represents that the user uses the terminal at the moment, and relevant prompt information can be sent out at the moment to remind the user to stop using the terminal, so that the body health of the user is protected by reasonably using the terminal. Because the user can freely set the preset time condition, that is, the user can set any time point, time period or fixed time interval to remind the user to use the terminal, compared with the related technology in which the user is prompted by the fixed time of the system, some invalid prompts are avoided, and therefore the prompting method of the terminal in the embodiment of the application effectively improves the prompting efficiency.
S305, if the display state of the screen is the closing state, no prompt information is sent.
When the display state of the screen is the closed state, the screen is in the work state of being extinguished, namely, the user may not use the terminal at the moment, and the relevant prompt information may not be sent out at the moment.
So far, after the time information is input by the user, the system time meets the preset time condition for the first time. Since the preset time condition may be the first fixed time interval, after the system time first meets the preset time condition, the central processing unit needs to continue to execute the prompting method of the terminal, that is, when the preset time condition is the first fixed time interval,
if the display state of the screen is the open state, after sending the prompt message, the method further includes:
and acquiring the display state of the screen again through the sensor at intervals of a first fixed time interval, sending out prompt information if the display state of the screen is an open state, and not sending out the prompt information if the display state of the screen is a closed state so as to form a cycle until a user cancels the prompt of the terminal in the application program or the setting.
If the display state of the screen is the closed state, after the prompt message is not sent, the method further includes:
and acquiring the display state of the screen again through the sensor at intervals of a first fixed time interval, sending out prompt information if the display state of the screen is an open state, and not sending out the prompt information if the display state of the screen is a closed state so as to form a cycle until a user cancels the prompt of the terminal in the application program or the setting.
In an actual situation, when it is monitored that the system time meets a preset time condition, the display state of the screen is acquired through the sensor, at this time, a user may temporarily close the screen, so that the acquired display state of the screen is temporarily closed, and the user may open the screen again for use after temporarily closing the screen, in order to solve the problem, particularly when the preset time condition is a preset time point or a preset time period, the prompt method of the terminal is reasonable in prompt, and the preset time condition is the preset time point or the preset time period;
when the preset time condition is the preset time point, if the display state of the screen is the closed state, after the prompt message is not sent, the method further comprises:
and acquiring the display state of the screen again through the sensor at intervals of a second fixed time interval until the display state of the screen is in an open state, and sending prompt information.
When the preset time condition is a preset time period, if the display state of the screen is an off state, after no prompt information is sent, the method further includes:
and acquiring the display state of the screen again through the sensor at intervals of a third fixed time interval within a preset time period until the display state of the screen is in an open state, and sending a prompt message, wherein the third fixed time interval is not more than the preset time period, so that when the preset time condition is the preset time period, the acquisition of the display state of the screen through the sensor at least once is completed within the preset time period.
The first fixed time interval, the second fixed time interval and the third fixed time interval may be the same or different time intervals, and may also be set and adjusted by acquiring time information input by a user according to an actual use condition of the user.
Through the operation, the display state of the screen can be continuously monitored after the display state of the screen is detected to be the closed state for the first time, and the prompt information is sent until the display state of the screen is the open state, so that the prompt method of the terminal is improved in prompt rationality and better conforms to the actual use condition of a user.
Optionally, the time that the screen is in the open state within the preset time period of the user may also be preset, and according to whether the time meets a preset use time threshold, whether to continue to detect the display state of the screen and send out a prompt message after the display state of the screen is detected to be in the closed state for the first time is further determined. For example, when the time that the screen is in the open state within the preset time period is acquired as the first time, if the first time is greater than or equal to the preset use time threshold, the user is considered to use the terminal for too long time, and even after the display state of the screen is detected as the closed state for the first time, the prompt message is sent; if the first time is less than the preset using time threshold, the terminal using time of the user is considered to be short, after the display state of the screen is detected to be the closed state for the first time, the display state of the screen is continuously detected until the display state of the screen is the open state, and prompt information is sent.
Optionally, sending the prompt message includes: controlling a screen to display a text prompt; or controlling a sound playing device to play a voice prompt; or control the screen to display the guide information whether to run the screen-off application program.
Fig. 5 to 7, fig. 5 is a schematic diagram illustrating an example of a prompt message according to another embodiment of the present application, fig. 6 is a schematic diagram illustrating another prompt message according to another embodiment of the present application, and fig. 7 is a schematic diagram illustrating another example of a prompt message according to another embodiment of the present application.
As shown in fig. 5, the central processor may control to display a text prompt of "you have set time, please stop using the terminal" in the screen, and may also display virtual buttons of "confirm" and "cancel" for user feedback below the text prompt. As shown in fig. 6, the central processor may also control the sound playing device 610 (e.g., a speaker of the terminal) to play a voice prompt "you have set time and ask you to stop using the terminal", and may also activate voice detection to detect feedback from the user for the voice prompt, such as "determine" a similar voice or "cancel" a similar voice. As shown in fig. 7, the central processor may further control the screen to display guidance information for running the screen-out application, for example, the guidance information may be "time you set, whether to run the screen-out application", and an icon of the screen-out application may be displayed below the guidance information, and virtual buttons for "confirm" and "cancel" of the user feedback may be displayed below the icon of the screen-out application.
S306, receiving feedback information input by the user aiming at the prompt information, wherein the feedback information is first feedback information or second feedback information.
The user may perform feedback for the prompt information, for example, in fig. 4, when the user clicks the "confirm" virtual button, the first feedback information is input on behalf of the user, that is, the prompt suggestion that the user agrees to stop using the terminal is input on behalf of the user; when the user clicks the virtual button of 'cancel', the second feedback information is input by the user, namely the prompt suggestion that the user disagrees to stop using the terminal is represented.
And S307, if the feedback information is the first feedback information, operating the screen-off application program.
If the user inputs the first feedback information, namely the prompt suggestion that the user agrees to stop using the terminal is represented, the screen-off application program can be operated, so that the user cannot use the terminal, the terminal using time of the user is shortened, and the physical health of the user is protected.
And S308, if the feedback information is the second feedback information, stopping sending the prompt information.
If the user inputs the second feedback information, that is, the user does not agree with the prompt suggestion for stopping using the terminal, the user can stop sending the prompt information, that is, the prompt information is ignored, and the user can continue to use the terminal.
Optionally, the steps executed in the central processing unit in the above embodiment may also be directly executed in the sensor, that is, the sensor is connected to the screen and the device for storing the system time, and when the sensor monitors that the system time meets the preset time condition, the display state of the screen is acquired; and if the display state of the screen is the opening state, sending out prompt information.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a prompting device of a terminal according to another embodiment of the present application.
As shown in fig. 8, the presentation apparatus 800 of the terminal includes:
and the screen state acquisition module 810 is configured to acquire a display state of the screen through the sensor when it is monitored that the system time meets a preset time condition.
And a prompt message sending module 820, configured to send a prompt message if the display state of the screen is the on state.
In an embodiment of the present application, a prompt apparatus for a terminal is provided, where the apparatus includes: the screen state acquisition module is used for acquiring the display state of the screen through the sensor when the system time is monitored to accord with the preset time condition; and the prompt information sending module is used for sending prompt information if the display state of the screen is the starting state. The user can freely set the preset time condition, the display state of the screen is acquired only when the system time is monitored to accord with the preset time condition, whether the user uses the terminal is judged according to the display state of the screen, and if the display state of the screen is in an open state and represents that the user uses the terminal, the prompt information is sent to remind the user of reasonably using the terminal, so that the time for freely setting and prompting the user is realized, the invalid prompt is avoided, and the prompt efficiency is effectively improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a prompting device of a terminal according to another embodiment of the present application.
As shown in fig. 9, the presentation apparatus 900 of the terminal includes:
the time condition determining module 910 is configured to obtain time information input by a user, and determine a preset time condition according to the time information.
The time condition saving module 920 is configured to save a preset time condition to a preset location.
The screen state obtaining module 930 is configured to obtain a display state of the screen through the sensor when it is monitored that the system time meets a preset time condition.
And a prompt message sending module 940, configured to send a prompt message if the display state of the screen is the on state.
A prompt message cancellation module 950, configured to not send a prompt message if the display state of the screen is the off state.
Optionally, the preset time condition is a first fixed time interval, and if the display state of the screen is an on state, after sending the prompt message, the method further includes:
and acquiring the display state of the screen through the sensor again at intervals of a first fixed time interval, if the display state of the screen is an open state, sending out prompt information, and if the display state of the screen is a closed state, not sending out the prompt information.
If the display state of the screen is the closed state, after the prompt message is not sent, the method further includes:
and acquiring the display state of the screen through the sensor again at intervals of a first fixed time interval, if the display state of the screen is an open state, sending out prompt information, and if the display state of the screen is a closed state, not sending out the prompt information.
Or the preset time condition is a preset time point or a preset time period;
when the preset time condition is the preset time point, if the display state of the screen is the closed state, after the prompt message is not sent, the method further comprises:
and acquiring the display state of the screen again through the sensor at intervals of a second fixed time interval until the display state of the screen is in an open state, and sending prompt information.
When the preset time condition is a preset time period, if the display state of the screen is an off state, after no prompt information is sent, the method further includes:
and acquiring the display state of the screen again through the sensor at intervals of a third fixed time interval within a preset time period, and sending prompt information until the display state of the screen is in an open state, wherein the third fixed time interval is not more than the preset time period.
The feedback receiving module 960 is configured to receive feedback information input by a user for the prompt information, where the feedback information is first feedback information or second feedback information.
The first feedback module 970 is configured to run the screen-off application program if the feedback information is the first feedback information.
A second feedback module 980, configured to stop sending the prompt message if the feedback message is the second feedback message.
The description of embodiments of the present application refers to the accompanying drawings in which like numerals refer to the same or similar elements throughout the different views unless otherwise indicated. The embodiments described in the above exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
Embodiments of the present application further provide a computer storage medium, where a plurality of instructions are stored, where the instructions are adapted to be loaded by a processor and to perform the steps of the pop-up method in the foregoing embodiments.
Further, please refer to fig. 10, where fig. 10 is a schematic structural diagram of a terminal according to another embodiment of the present application. As shown in fig. 10, terminal 1000 can include: at least one central processing unit 1001, at least one network interface 1004, a user interface 1003, a memory 1005, sensors 1006, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
The cpu 1001 may include one or more processing cores. The central processing unit 1001 connects the respective parts within the entire terminal 1000 using various interfaces and lines, and executes various functions of the terminal 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and calling data stored in the memory 1005. Alternatively, the central processing unit 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The CPU 1001 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the screen; the modem is used to handle wireless communications. It is to be understood that the modem may be implemented by a single chip without being integrated into the cpu 1001.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may alternatively be at least one memory device located remotely from the central processing unit 1001. As shown in fig. 10, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a reminder program of a terminal.
In the terminal 1000 shown in fig. 10, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the cpu 1001 may be configured to call the prompt program of the terminal stored in the memory 1005, and specifically perform the following operations:
when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor 1006;
and if the display state of the screen is the opening state, sending out prompt information.
The cpu 1001 is further configured to execute not to send a prompt message if the display state of the screen is the off state.
Optionally, before the central processing unit 1001 monitors that the system time meets the preset time condition, it is further configured to:
acquiring time information input by a user, and determining a preset time condition according to the time information;
and storing the preset time condition to a preset position.
Optionally, if the preset time condition is a first fixed time interval, the central processing unit 1001 is further configured to execute, if the display state of the screen is the on state, after sending the prompt message:
acquiring the display state of the screen again through the sensor at intervals of a first fixed time interval, if the display state of the screen is an open state, sending out prompt information, and if the display state of the screen is a closed state, not sending out the prompt information;
the cpu 1001 executes, if the display state of the screen is the off state, after not sending the prompt message, the following steps:
and acquiring the display state of the screen through the sensor again at intervals of a first fixed time interval, if the display state of the screen is an open state, sending out prompt information, and if the display state of the screen is a closed state, not sending out the prompt information.
Optionally, the preset time condition is a preset time point or a preset time period;
when the preset time condition is a preset time point, the cpu 1001 is further configured to execute, if the display state of the screen is the off state, after not sending the prompt message:
acquiring the display state of the screen again through the sensor at intervals of a second fixed time interval until the display state of the screen is in an open state, and sending prompt information;
when the preset time condition is a preset time period, the cpu 1001 is further configured to execute, if the display state of the screen is the off state, after not sending the prompt message:
and acquiring the display state of the screen again through the sensor at intervals of a third fixed time interval within a preset time period, and sending prompt information until the display state of the screen is in an open state, wherein the third fixed time interval is not more than the preset time period.
Optionally, when the central processing unit 1001 executes sending the prompt message, the specific execution includes:
controlling a screen to display a text prompt; or
Controlling a sound playing device to play a voice prompt; or
And controlling the screen to display the guide information of whether the screen-off application program is operated or not.
The cpu 1001 is further configured to:
receiving feedback information input by a user aiming at the prompt information, wherein the feedback information is first feedback information or second feedback information;
if the feedback information is first feedback information, operating a screen-off application program;
and if the feedback information is the second feedback information, stopping sending the prompt information.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the method, device, storage medium and terminal for presenting a terminal provided by the present application, those skilled in the art will appreciate that there are variations in the detailed description and the application scope according to the ideas of the embodiments of the present application, and in summary, the content of the present specification should not be construed as limiting the present application.
Claims (10)
1. A prompting method of a terminal is characterized by comprising the following steps:
when the system time is monitored to accord with a preset time condition, the display state of a screen is acquired through a sensor;
and if the display state of the screen is the opening state, sending out prompt information.
2. The method of claim 1, further comprising:
and if the display state of the screen is the closed state, no prompt message is sent.
3. The method of claim 2, wherein before the monitoring that the system time meets the preset time condition, further comprising:
acquiring time information input by a user, and determining the preset time condition according to the time information;
and storing the preset time condition to a preset position.
4. The method according to claim 3, wherein if the preset time condition is a first fixed time interval, and if the display state of the screen is an on state, after sending out a prompt message, the method further comprises:
acquiring the display state of the screen again through the sensor at intervals of the first fixed time interval, if the display state of the screen is an open state, sending prompt information, and if the display state of the screen is a closed state, not sending the prompt information;
if the display state of the screen is the off state, after the prompt message is not sent, the method further includes:
and acquiring the display state of the screen through the sensor again at intervals of the first fixed time interval, if the display state of the screen is an open state, sending prompt information, and if the display state of the screen is a closed state, not sending the prompt information.
5. The method according to claim 3, wherein the preset time condition is a preset time point or a preset time period;
when the preset time condition is a preset time point, if the display state of the screen is an off state, after no prompt information is sent, the method further includes:
acquiring the display state of the screen again through the sensor at intervals of a second fixed time interval until the display state of the screen is in an open state, and sending the prompt information;
when the preset time condition is a preset time period, if the display state of the screen is an off state, after no prompt message is sent, the method further includes:
within the preset time period, acquiring the display state of the screen again through the sensor at intervals of a third fixed time interval until the display state of the screen is in an open state, and sending the prompt information;
wherein the third fixed time interval is not greater than the preset time period.
6. The method of any one of claims 1 to 5, wherein said issuing a prompt message comprises:
controlling the screen to display a text prompt; or
Controlling a sound playing device to play a voice prompt; or
And controlling the screen to display the guide information of whether the screen-off application program is operated or not.
7. The method of claim 6, further comprising:
receiving feedback information input by a user aiming at the prompt information, wherein the feedback information is first feedback information or second feedback information;
if the feedback information is the first feedback information, running a screen-off application program;
and if the feedback information is the second feedback information, stopping sending the prompt information.
8. A prompting apparatus of a terminal, the apparatus comprising:
the screen state acquisition module is used for acquiring the display state of the screen through the sensor when the system time is monitored to accord with the preset time condition;
and the prompt message sending module is used for sending prompt messages if the display state of the screen is the starting state.
9. A computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the method according to any of claims 1 to 7.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010157491.6A CN111290926A (en) | 2020-03-09 | 2020-03-09 | Terminal prompting method and device, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010157491.6A CN111290926A (en) | 2020-03-09 | 2020-03-09 | Terminal prompting method and device, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111290926A true CN111290926A (en) | 2020-06-16 |
Family
ID=71020754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010157491.6A Pending CN111290926A (en) | 2020-03-09 | 2020-03-09 | Terminal prompting method and device, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111290926A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111935640A (en) * | 2020-07-14 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
CN112965677A (en) * | 2021-02-22 | 2021-06-15 | 海信视像科技股份有限公司 | Display device and information prompting method |
CN113553156A (en) * | 2021-07-27 | 2021-10-26 | 北京悦学帮网络技术有限公司 | Information prompting method and device, computer equipment and computer storage medium |
CN114666446A (en) * | 2020-12-22 | 2022-06-24 | 北京达佳互联信息技术有限公司 | Information prompting method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333658A (en) * | 2014-10-24 | 2015-02-04 | 安易讯科技(大连)有限公司 | Eyesight protection system of smart mobile phones |
CN105282343A (en) * | 2015-11-03 | 2016-01-27 | 广东欧珀移动通信有限公司 | Smart sleep reminding method and smart sleep reminding device |
CN105868074A (en) * | 2016-03-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and device for controlling use time of terminal |
US9489319B1 (en) * | 2015-06-18 | 2016-11-08 | Primax Electronics Ltd. | Operating time supervisory system |
CN107203310A (en) * | 2017-05-26 | 2017-09-26 | 上海展扬通信技术有限公司 | Sleep based reminding method, device and terminal |
-
2020
- 2020-03-09 CN CN202010157491.6A patent/CN111290926A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333658A (en) * | 2014-10-24 | 2015-02-04 | 安易讯科技(大连)有限公司 | Eyesight protection system of smart mobile phones |
US9489319B1 (en) * | 2015-06-18 | 2016-11-08 | Primax Electronics Ltd. | Operating time supervisory system |
CN105282343A (en) * | 2015-11-03 | 2016-01-27 | 广东欧珀移动通信有限公司 | Smart sleep reminding method and smart sleep reminding device |
CN105868074A (en) * | 2016-03-29 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and device for controlling use time of terminal |
CN107203310A (en) * | 2017-05-26 | 2017-09-26 | 上海展扬通信技术有限公司 | Sleep based reminding method, device and terminal |
Non-Patent Citations (2)
Title |
---|
李清霞;: "交互式儿童视力保护视频智能终端设计", no. 04 * |
赵晓丽: "《指尖上的英语"微学习" 英语学习手机实用软件50例》", 31 July 2017, 吉林大学出版社, pages: 126 - 127 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111935640A (en) * | 2020-07-14 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
CN111935640B (en) * | 2020-07-14 | 2023-04-07 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
CN114666446A (en) * | 2020-12-22 | 2022-06-24 | 北京达佳互联信息技术有限公司 | Information prompting method and device |
CN114666446B (en) * | 2020-12-22 | 2024-06-11 | 北京达佳互联信息技术有限公司 | Information prompting method and device |
CN112965677A (en) * | 2021-02-22 | 2021-06-15 | 海信视像科技股份有限公司 | Display device and information prompting method |
CN113553156A (en) * | 2021-07-27 | 2021-10-26 | 北京悦学帮网络技术有限公司 | Information prompting method and device, computer equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111290926A (en) | Terminal prompting method and device, storage medium and terminal | |
CN106256116B (en) | A kind of method and terminal controlling application program | |
CN107783803B (en) | System optimization method and device of intelligent terminal, storage medium and intelligent terminal | |
EP3113549A1 (en) | Method and device for waking up mcu chip | |
KR100447306B1 (en) | Smart phone for automatically turning on/off power of mobile-phone and method thereof | |
EP3065009B1 (en) | Methods and apparatuses for switching state | |
EP3112979B1 (en) | Method and device for waking up mcu | |
CN106775969B (en) | Selective operation method and device of application program | |
CN107844341B (en) | Process starting control method and device, storage medium and mobile terminal | |
WO2017206918A1 (en) | Terminal awakening accelerating method and related product | |
CN112035087B (en) | Information prompting method and device, electronic equipment and readable storage medium | |
CN107197082A (en) | A kind of information prompting method and terminal | |
CN112394901A (en) | Audio output mode adjusting method and device and electronic equipment | |
KR102205935B1 (en) | Method and terminal for adjusting screen-on duration of terminal | |
CN108647070B (en) | Information reminding method and device, mobile terminal and computer readable medium | |
CN107135305A (en) | A kind of message prompt method, device and terminal | |
CN107291213B (en) | Mode selection method, device, terminal and computer readable storage medium | |
CN113253964A (en) | Data management method, device, equipment and storage medium | |
CN105159434A (en) | Time display method, device and terminal | |
CN105259746A (en) | Method and system for reducing power consumption of smart watch | |
CN107463478A (en) | The control method and device of terminal device | |
CN113806000A (en) | Display method and device and electronic equipment | |
CN107515523A (en) | A kind of pointer can evade the intelligent watch of reading content | |
CN110716158B (en) | Detection method, system, storage medium and mobile terminal | |
CN112673611B (en) | Mobile terminal control method, mobile terminal control device and mobile terminal |
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 |