Reminding method and device and electronic equipment

By determining the user's status while the electronic device is on the screen and selecting a suitable reminder method, the eye fatigue caused by the user's long-term use of the screen is solved, and a flexible and effective reminder effect is achieved.

CN120343150APending Publication Date: 2025-07-18GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510442474.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

Existing electronic devices cannot effectively help users reduce eye fatigue, especially when using the screen for a long time, resulting in dry eyes and blurred vision.

Method used

When the electronic device is in a light screen, determine the user's current status through the sensor or camera, and select a suitable reminder method, such as displaying prompt text or playing audio, reminding the user to pay attention to resting his eyes.

Benefits of technology

By flexibly adjusting the reminder method according to the user's status, it can effectively improve eye fatigue, improve the adaptability and effectiveness of reminders, and reduce interference to screen display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343150A_ABST
    Figure CN120343150A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a reminding method and device and electronic equipment. According to the method, when the electronic equipment is in a bright screen state, the current state of a user is firstly determined, then a corresponding first reminding mode is determined according to the current state of the user, and then the user is reminded through the first reminding mode so as to remind the user to pay attention to rest eyes. According to the mode, when the electronic equipment is in the bright screen state, the first reminding mode for subsequent reminding is determined according to the current state of the user, so that the user can be reminded to pay attention to rest eyes, the eyestrain condition is improved, and the user experience is improved. And the mode of triggering the reminding is more adaptive and flexible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and more specifically, to a reminder method, device, and electronic device. Background Art

[0002] In current society, electronic devices such as mobile phones have been widely integrated into people's lives. While bringing convenience to people's lives, they also have a certain impact on human health. For example, when a user focuses on the electronic device screen for a long time, it may cause the user's eyes to be in a fatigued state. However, related electronic devices are still unable to help users reduce the occurrence of eye fatigue. Summary of the Invention

[0003] In view of the above problems, this application proposes a reminder method, device, and electronic device to improve the above problems.

[0004] In a first aspect, this application provides a reminder method applied to an electronic device. The method includes: when the electronic device is in a lit screen state, determining the current state of the user; determining a corresponding first reminder method based on the current state of the user, where different states correspond to different first reminder methods; and reminding the user through the first reminder method, where the reminder is used to prompt the user to pay attention to resting the eyes.

[0005] In a second aspect, this application provides a reminder device running on an electronic device. The device includes: a state determination unit for determining the current state of the user when the electronic device is in a lit screen state; a method determination unit for determining a corresponding first reminder method based on the current state of the user, where different states correspond to different first reminder methods; and a reminder trigger unit for reminding the user through the first reminder method, where the reminder is used to prompt the user to pay attention to resting the eyes.

[0006] In a third aspect, this application provides an electronic device, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above method.

[0007] In a fourth aspect, this application provides a computer-readable storage medium storing program code, where the above method is executed when the program code runs.

[0008] A reminder method, device, and electronic device provided by the present application. In this method, when the electronic device is in the screen-on state, first determine the current state of the user, then determine the corresponding first reminder method based on the current state of the user, and then use this first reminder method to remind the user to pay attention to resting the eyes. Thus, in the above manner, when the electronic device is in the screen-on state, the first reminder method for subsequent reminder will be determined according to the current state of the user, which can not only remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible. Description of the Drawings

[0009] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0010] Figure 1 Shows the flowchart of a reminder method proposed in an embodiment of the present application;

[0011] Figure 2 Shows a schematic diagram of the state where the user is in a vehicle in an embodiment of the present application;

[0012] Figure 3 Shows a schematic diagram of the state where the user is in a stationary state in an embodiment of the present application;

[0013] Figure 4 Shows a schematic diagram of the state where the user is in a walking state in an embodiment of the present application;

[0014] Figure 5 Shows the flowchart of a reminder method proposed in another embodiment of the present application;

[0015] Figure 6 Shows the flowchart of a reminder method proposed in yet another embodiment of the present application;

[0016] Figure 7 Shows a schematic diagram of the reference area proposed in an embodiment of the present application;

[0017] Figure 8 Shows a schematic diagram of multiple ratios corresponding to the reference area in an embodiment of the present application;

[0018] Figure 9 Shows the flowchart of a reminder method proposed in yet another embodiment of the present application;

[0019] Figure 10The flowchart of a reminder method proposed in another embodiment of the present application is shown;

[0020] Figure 11 The structural block diagram of a reminder device proposed in another embodiment of the present application is shown;

[0021] Figure 12 The structural block diagram of an electronic device proposed in the present application is shown;

[0022] Figure 13 It is a storage unit for storing or carrying program codes for implementing the reminder method according to the embodiments of the present application. Detailed implementation manners

[0023] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0024] In today's society, electronic devices such as smart phones and tablet computers have been deeply integrated into people's daily lives, greatly improving the convenience of life. The popularization of these high-tech products enables people to obtain information, communicate, and entertain at any time. However, while the wide application of electronic devices brings convenience, it also has certain side effects on human health. Especially when users stare at the electronic screen for a long time, it is very likely to cause excessive eye fatigue. Moreover, staring at the screen for a long time not only causes symptoms such as dry eyes and blurred vision, but also may increase the risk of myopia, posing a potential threat to the visual health of users. Therefore, how to protect eye health while using electronic devices has become an issue that cannot be ignored in modern society. And the inventor found in the research that related electronic devices cannot help users reduce the occurrence of eye fatigue.

[0025] Therefore, in order to improve the above problems, the inventor proposed a reminder method, device, and electronic device in the present application. In this method, when the electronic device is in the screen-on state, first determine the current state of the user, and then determine the corresponding first reminder method based on the current state of the user. Furthermore, through this first reminder method, remind the user to pay attention to resting the eyes. Thus, through the above method, when the electronic device is in the screen-on state, it will first determine the first reminder method for subsequent reminders according to the current state of the user. Therefore, it can not only remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible.

[0026] Next, the embodiments related to the present application will be introduced in conjunction with the accompanying drawings.

[0027] Please refer to Figure 1 , a reminder method provided by this application is applied to an electronic device, and the method includes:

[0028] S110: When the electronic device is in the screen-on state, determine the current state of the user.

[0029] In one mode, the electronic device can be in the screen-on state or the screen-off state. Among them, when the electronic device is in the screen-on state, it indicates that the user of the electronic device is more likely to be paying attention to the screen of the electronic device. Correspondingly, when the electronic device is in the screen-off state, it indicates that the user of the electronic device is not paying attention to the screen of the electronic device.

[0030] For the embodiments of this application, the ultimate effect to be achieved is to remind the user to pay attention to eye rest and reduce the time of focusing on the screen. Therefore, when the electronic device is in the screen-on state, the current state of the user will be further detected. Among them, the current state of the user characterizes the current activity of the user. In the embodiments of this application, the current state of the user can include a walking state, a state of taking a vehicle, or a stationary state, etc. Among them, the walking state includes a walking state and a running state. Among them, the state of taking a vehicle includes a state of taking a bus, a state of taking a high-speed train, a state of taking a ship, or a state of taking other vehicles.

[0031] In the embodiments of this application, the current state of the user can be determined in various ways.

[0032] As one way, the current state of the user can be determined by the sensor data collected by the sensors in the electronic device. Among them, the sensors used to determine the current state of the user can include one or more of a gyroscope, an acceleration sensor, and a positioning device.

[0033] Among them, the gyroscope can be used to collect the rotation angle of the electronic device. The working principle of the gyroscope is based on the law of conservation of angular momentum. When the electronic device rotates in a certain direction, the gyroscope will have an angular momentum vector perpendicular to the axis of rotation. The gyroscope inside the electronic device contains one or more tiny rotors. When the electronic device rotates, these rotors will maintain their original rotation direction and speed, so as to sense the rotation state of the electronic device by measuring the change in the angular velocity of the rotors to obtain the corresponding rotation angle. The acceleration sensor can be used to collect the acceleration data of the electronic device. The acceleration sensor can detect the magnitude of the acceleration in each direction (generally three axes).

[0034] Among them, when a person is in a walking state (e.g., walking), there will be left - right swaying and regular acceleration. Therefore, as a way, when it is detected that the angle obtained by the gyroscope is greater than a preset angle threshold and the number of steps the user walks determined by the acceleration sensor is greater than a preset step threshold, it can be determined that the user is in a walking state.

[0035] Among them, when a person is taking a vehicle, the moving speed is usually relatively fast and the vertical acceleration is small. Therefore, it can be determined that the user is in a state of taking a vehicle when it is detected through the positioning device that the moving speed of the electronic device is greater than a preset speed and the vertical acceleration detected through the acceleration sensor is less than a first acceleration threshold.

[0036] Among them, when a person is in a static state, the acceleration in all directions will be relatively small. In this case, if it is detected through the acceleration sensor that the acceleration in all directions is less than a second acceleration threshold, it is determined that the user is in a static state.

[0037] As another way, the state where the user is currently located can be determined through the image captured by the camera of the electronic device. Among them, when the user is in different states, the content of the image captured by the camera will be different. Therefore, the state where the user is currently located can be determined through this difference.

[0038] It should be noted that since the image captured by the camera may involve the user's privacy, in order to protect the user's privacy while being able to determine the state where the user is currently located, the state where the user is currently located can be determined through the image captured by the camera when the camera is currently in an operating state and is actively started by the user. And when the camera is actively started by the user, the electronic device may be performing a certain task through the camera, so that the electronic device can also use the image captured during the execution of this task to determine the state where the user is currently located while continuing to execute this task.

[0039] In addition, the electronic device can combine the above - mentioned two ways to determine the state where the user is currently located. As a combined way, when the electronic device is in a screen - on state, it can first detect whether the camera of the electronic device is currently in an operating state. If it is detected that the camera of the electronic device is currently in an operating state and the camera is actively started by the user, the state where the user is currently located can be determined through the image captured by the camera. If the camera is in a closed state, the state where the user is currently located can be determined through the sensor data collected by the sensors in the electronic device.

[0040] S120: Determine a corresponding first reminder method based on the current state of the user. Among them, the first reminder methods corresponding to different states are different.

[0041] After obtaining the current state of the user, the reminder method currently adapted can be determined according to the current state of the user as the first reminder method. That is to say, the determined first reminder method can be understood as a reminder method that is most adapted to the current state of the user.

[0042] As a method, the first reminder method is a reminder method determined from multiple reminder methods; among them, the reminder parameters of the multiple reminder methods can be different. Among them, the reminder parameters include one or more of the following multiple parameters, and the multiple parameters can include: reminder frequency; reminder content; reminder channel; conditions for triggering a reminder.

[0043] Among them, the reminder frequency determines the interval duration between two adjacent reminders. For example, in some reminder methods, the reminder frequency can be to remind once every 5 minutes, while in some reminder methods, the reminder frequency can be to remind once every 10 minutes. The reminder content determines the content that the user perceives each time a reminder is made. The reminder channel represents specifically through which device of the electronic device to remind the user. For example, the reminder channel can include displaying reminder text on the screen for reminder. For another example, the extraction channel can include reminding by playing a reminder sound. The conditions for triggering a reminder represent that in some reminder methods, there are additional conditions for triggering a reminder.

[0044] Optionally, if the user is currently in a walking state, the corresponding first reminder method can include triggering a reminder once every first duration; if the user is currently in a state of taking a vehicle, the corresponding first reminder method can include triggering a reminder once every second duration. Among them, when the user is in a walking state, if the screen is focused for a long time, it may have a greater impact on the eyes, so the second duration can be configured to be greater than the first duration. For example, the first duration can be 5 minutes, and the second duration can be 10 minutes.

[0045] Optionally, if the user is currently in a stationary state, the corresponding first reminder method can include triggering a reminder once every third duration, or triggering a reminder once when the number of eye rotations of the user within a preset duration is lower than a preset number threshold. Optionally, the third duration can be 30 minutes.

[0046] As a way, when it is determined that the user is currently in a stationary state, it is possible to further detect whether the camera of the electronic device is currently in an operating state. When the camera is in an operating state, the determined first reminder method may include: detecting that the number of eye rotations of the user within a preset duration is lower than a preset number threshold, and triggering a reminder once. Correspondingly, if it is detected that the camera is not in an operating state, the determined first reminder method may include: triggering a reminder every third duration.

[0047] S130: Remind the user through the first reminder method, and the reminder is used to prompt the user to pay attention to resting the eyes.

[0048] After determining the first reminder method, the user can be reminded through the determined first reminder method.

[0049] Exemplarily, as Figure 2 shown, when it is determined that the user is in a state of taking a vehicle, the reminder channel in the determined first reminder method may include displaying a prompt text on the screen, and the prompt content may be as Figure 2 shown, "It is detected that you are taking a car. It is recommended not to use the mobile phone for a long time". Exemplarily, as Figure 3 shown, when it is determined that the user is in a stationary state, the reminder channel in the determined first reminder method may include displaying a prompt text on the screen, and the prompt content may be as Figure 3 shown, "It is detected that you have used the mobile phone for a long time. Please pay attention to rest". Exemplarily, as Figure 4 shown, when it is determined that the user is in a walking state, the reminder channel in the determined first reminder method may include displaying a prompt text on the screen, and the prompt content may be as Figure 4 shown, "It is detected that you are walking. It is recommended not to use the mobile phone for a long time".

[0050] Among them, the prompt channel of displaying the prompt text on the screen as shown in Figures 2 to 4 is only exemplary. In the embodiments of the present application, other prompt channels can also be used for prompting. For example, a prompt audio can also be played for prompting. Among them, the audio content of the prompt audio corresponds to the state where the user is currently located. For example, when the user is currently in a walking state, the audio content of the played prompt audio can be "It is detected that you are walking. It is recommended not to use the mobile phone for a long time". For example, when it is determined that the user is in a stationary state, the audio content of the played prompt audio can be "It is detected that you have used the mobile phone for a long time. Please pay attention to rest".

[0051] In an embodiment of the present application, when the user is reminded by the first reminder method, the electronic device can be controlled to stop reminding in a variety of ways. As one way, the reminder can be stopped when it is detected that the electronic device is switched to the screen-off state. As one way, the reminder can be stopped after a touch operation acting on a preset control is detected. As one way, the reminder can be stopped after a specified language instruction is detected through a language assistant.

[0052] A reminder method provided in this embodiment allows, through the above method, when the electronic device is in the screen-on state, to first determine the first reminder method for subsequent reminders based on the current state of the user, thereby not only reminding the user to rest their eyes to improve eyestrain, but also making the method of triggering reminders more adaptable and flexible.

[0053] See also Figure 5 , the present application provides a reminder method, which is applied to an electronic device, and the method includes:

[0054] S210: When the electronic device is in a screen-on state, obtain an application program running on the electronic device.

[0055] S220: If the application is the first application, determine the current state of the user.

[0056] In an embodiment of the present application, the first application may include a program that requires the user to pay attention to the screen at all times.

[0057] It should be noted that in electronic devices, some applications require users to pay attention to the screen at all times in order to use the application normally. For example, for game programs, users need to pay attention to the picture displayed on the screen at all times in order to control the game character in time. For another example, for video programs, users need to pay attention to the picture displayed on the screen at all times in order to understand the progress of the video content represented by the video in time. However, for some applications, even if the user does not pay attention to the screen for a long time, it will not affect normal use. For example, for navigation programs, in addition to displaying the navigation interface during operation, the navigation program will also play the navigation voice. Therefore, even if the user does not pay attention to the navigation interface displayed on the screen, the required navigation information can be obtained through the navigation voice.

[0058] Based on the foregoing, if the application currently running on the electronic device is a program that does not require the user to pay attention to the screen all the time, but a reminder is still triggered, it may cause the user to not pay attention to the screen, but still be reminded to rest his eyes, which will result in a waste of resources.

[0059] Therefore, when it is determined that the application currently running on the electronic device includes the first application, further determining the current state of the user is conducive to improving the effectiveness of triggering the reminder. Correspondingly, if it is detected that the first application is not included in the applications currently running on the electronic device (for example, applications that do not require the user to always pay attention to the screen), the process ends.

[0060] In the embodiment of the present application, the first application can be pre-configured before the electronic device leaves the factory. Or, it can also be manually configured by the user of the electronic device.

[0061] S230: Determine the corresponding first reminder method according to the current state of the user, where different states correspond to different first reminder methods.

[0062] S240: Remind the user through the first reminder method, and the reminder is used to prompt the user to pay attention to resting the eyes.

[0063] The reminder method provided in this embodiment can not only remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible. And, in this embodiment, when the electronic device is in the screen-on state, it will first detect the application currently running on the electronic device. Only when the application is the first application, will it further determine the current state of the user, thereby improving the effectiveness of reminding the user.

[0064] Please refer to Figure 6 , a reminder method provided in the present application is applied to an electronic device, and the method includes:

[0065] S310: Determine the current state of the user when the electronic device is in the screen-on state.

[0066] S320: Determine the corresponding first reminder method according to the current state of the user, where different states correspond to different first reminder methods.

[0067] S330: Remind the user through the first reminder method, and the reminder is used to prompt the user to pay attention to resting the eyes. If the reminder channel of the first reminder method includes reminding by displaying reminder text, determine the display position of the reminder text through the screen displayed on the electronic device.

[0068] Among them, when the reminder channel is to display reminder text, the reminder text will occupy a part of the screen when it is displayed, which may block the current screen display. However, in some cases, the user may not expect to block the current screen display. For example, when the electronic device is running a game program, the user may need to always pay attention to the game screen to make more timely responses. For another example, when the electronic device is running a video program, the user may need to always pay attention to the video screen to keep track of the progress of the video content. Therefore, when the reminder channel of the first reminder method includes displaying reminder text, further determining the display position of the reminder text through the screen displayed on the electronic device can reduce the interference to the user caused by the display of the reminder text.

[0069] As a method, when triggering the display of the prompt text, the reference area in the screen display can be obtained first for displaying the prompt text in this reference area. Among them, the reference area can be a position that will not cause interference to the user even if it is covered, or the reference area can be understood as a position that will not cause great interference to the user even if it is blocked.

[0070] Optionally, the reference area can be determined by the currently running application. It should be noted that for some applications, the screens they display during operation can be obtained in advance. In this case, the corresponding reference area can be determined in advance according to the screens displayed by the application during operation, and the obtained reference area can be recorded.

[0071] Optionally, the reference area can be determined in real time according to the content complexity of the screen. It should be noted that in the screen display, areas with more complex content usually contain more information and are thus more important to the user. For example, in the screen displayed by a game program, areas with more complex content can be areas with more game characters or areas including more game operation controls. For areas with relatively simple content, the information contained is relatively less and is thus relatively less important to the user. For example, in the game interface shown Figure 7 as shown, since no content is displayed in areas 10 and 20 themselves, when calculating the content complexity, areas 10 and 20 can be determined as areas with lower content complexity, and thus areas 10 and 20 can be determined as the reference areas.

[0072] As a method, the screen of the application can be divided into multiple image areas in advance, and then the content complexity of each of these multiple image areas can be calculated separately, with the image areas with content complexity lower than the complexity threshold being used as the reference area of the application.

[0073] In the embodiments of the present application, there can be various ways to calculate the content complexity.

[0074] As one way, the complexity of an image region can be determined by calculating the information entropy of the image region. Among them, by calculating the occurrence probability of the image gray levels, the information entropy value of the image gray level is obtained to reflect the internal complexity of the image gray domain. As one way, the image region can be transformed into the frequency domain, and mathematical methods can be used to extract its frequency distribution characteristics and the contrast of each frequency component as the basis for measuring the image complexity, and then the complexity of the image region is determined.

[0075] As one way, the corresponding complexity can be determined by the color distribution in the image region. Among them, an image with more color types and uneven distribution can be considered more complex. In this case, if there are more color types in the image region, its corresponding complexity will be higher, or if the color distribution in the image region is more uneven, its corresponding complexity will be higher. Optionally, the color histogram of the image region can be calculated, and its distribution and entropy value can be analyzed to evaluate the color complexity. As one way, an image segmentation algorithm can be used to identify different regions or objects in the image region, and the structural complexity can be evaluated by analyzing the quantity, size, shape, and mutual relationship of these regions or objects, and then the structural complexity is used as the complexity of the image region.

[0076] As one way, the corresponding relationship between the application program and the reference region can be stored in the electronic device. When the prompt text is to be displayed, the reference region can be determined first according to the currently running application program and this corresponding relationship, so as to display the prompt text in the reference region.

[0077] Exemplarily, as shown in the following table:

[0078] Application Name Region where the reference area is located Application A1 Location L1 Application A2 Location L2 Application A3 Location L3

[0079] In the above table, the reference region corresponding to the application program A1 is the position L1, the reference region corresponding to the application program A2 is the position L2, and the reference region corresponding to the application program A3 is the position L3. Among them, if it is determined that the currently running application program is the application program A1, the prompt text can be displayed at the position L1.

[0080] In one way, the reference area can be characterized by coordinates. Among them, the coordinates characterize the position of the reference area on the screen. Among them, when determining the reference area, the coordinates of multiple key points included in the reference area can be recorded, so that the reference area can be determined through the coordinates of the multiple key points. For example, when the reference area is rectangular, the coordinates of the four vertices included in the reference area can be recorded. For another example, when the reference area is circular, the coordinates of the center of the reference area and the radius of the reference area can be recorded.

[0081] As another way, when the reference area is rectangular, the reference area can be determined and recorded by the distance between the boundary of the reference area and the boundary of the program screen of the program to which it belongs. It should be noted that when the electronic device displays the screen of the application program full screen, the screen of the application program will cover the entire screen. However, when the electronic device is running in multiple windows, the electronic device will synchronously display the screens of multiple application programs. Therefore, when the application program is in different display modes (full screen display or multiple window display), the position of the application program screen on the screen is different. If the area where the reference area is located is directly determined based on the absolute position on the screen, it may cause the reference area to be unable to be accurately determined in some cases.

[0082] To improve the accuracy of determining the reference area, when the reference area is rectangular, the reference area can be recorded by multiple ratios corresponding to the reference area. Among them, the multiple ratios include a first ratio, a second ratio, a third ratio, and a fourth ratio. Among them, the first ratio characterizes the ratio of the first distance corresponding to the reference area to the height of the screen of the program to which the reference area belongs, and the second ratio characterizes the ratio of the second distance corresponding to the reference area to the width of the screen of the program to which the reference area belongs. Among them, the first distance can be understood as the distance between the top edge of the reference area and the top edge of the screen of the program to which it belongs, and the second distance can be understood as the distance between the left edge of the reference area and the left edge of the screen of the program to which it belongs. Or, the first distance can be understood as the distance between the bottom edge of the reference area and the bottom edge of the screen of the program to which it belongs, and the second distance can be understood as the distance between the right edge of the reference area and the right edge of the screen of the program to which it belongs. The third ratio characterizes the ratio of the length of the top edge of the reference area to the width of the screen of the program to which it belongs. The fourth ratio characterizes the ratio of the length of the left edge (or right edge) of the reference area to the height of the screen of the program to which it belongs.

[0083] Exemplarily, as Figure 8 shown, in Figure 8The content shown includes a reference area 40 and a screen 30 of the application to which the reference area 40 belongs. Among them, the screen 30 includes a left side 31 of the screen and a top side 32 of the screen. Among them, the top side of the screen can be understood as the side of the screen closest to the top of the electronic device. The reference area 40 corresponds to a left side 41 and a top side 42.

[0084] Among them, the first distance corresponding to the reference area 40 can be h1, and the second distance can be h2. The first ratio can be the ratio of h1 to the height of the screen of the program to which the reference area 40 belongs. Among them, the height of the screen of the program to which the reference area 40 belongs is the same as the length of the left side 31. The second ratio can be the ratio of h2 to the width of the screen of the program to which the reference area 40 belongs. Among them, the width of the screen of the program to which the reference area 40 belongs can also be understood as the length of the top side 32. The third ratio is the ratio of the left side 41 to the left side 31. The fourth ratio is the ratio of the top side 42 to the top side 32.

[0085] A reminder method provided in this embodiment can not only remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible. And, in this embodiment, when the reminder channel included in the determined first reminder method is to remind by displaying reminder text, the display position of the reminder text can also be determined through the screen displayed on the electronic device, so as to avoid the reminder text from interfering with the screen display of the electronic device.

[0086] Please refer to Figure 9 , a reminder method provided in this application is applied to an electronic device, and the method includes:

[0087] S410: When the electronic device is in the screen-on state, detect whether the reminder mode is started.

[0088] In the embodiment of this application, the electronic device can be correspondingly configured with a reminder mode, and the reminder mode can correspond to a start state and a close state. Among them, when the reminder mode is in the start state, the electronic device will execute the reminder method provided in the embodiment of this application. Correspondingly, when the reminder mode is in the close state, the electronic device will not execute the reminder method provided in the embodiment of this application.

[0089] In the embodiment of this application, the electronic device can be started or the reminder mode can be closed through various methods.

[0090] As a control method, it can be manually controlled by the user of the electronic device. In this method, in the setting interface of the electronic device, a switch for turning on or off the reminder mode can be configured, so that the user can touch the switch to control the electronic device to start or close the reminder mode.

[0091] As a control method, when the electronic device detects that the user is a minor, the reminder mode can be kept in the activated state. When it is detected that the user of the electronic device is an adult, the reminder mode can be turned off. It should be noted that for minors, their eyes are still in the development stage, so protection is needed. Optionally, a verification interface can be configured in the electronic device, and the user of the electronic device can input verification information (such as the user's ID number or mobile phone number) through this verification interface to verify that the user of the electronic device is an adult. Correspondingly, when the verification is not successfully passed, the electronic device determines that the user is a minor. Correspondingly, when the verification is successfully passed, it is determined that the user is an adult.

[0092] As a control method, the electronic device can start or turn off the reminder mode in response to a control instruction sent by an associated device. It should be noted that in some cases, the electronic device can be controlled by an associated device to perform some operations. For example, the user of the electronic device can be a student, and the user of the associated device can be a parent. In this case, the parent can control the electronic device used by the student through this associated device to limit the student's use of the electronic device. In this case, the electronic device can start the reminder mode in response to receiving a first control instruction sent by the associated device, or the electronic device can turn off the reminder mode in response to receiving a second control instruction sent by the associated device.

[0093] For example, when the parent wants the student not to focus on the electronic device screen for a long time, the parent can send a first control instruction to the electronic device used by the student through this associated device (such as the electronic device used by the parent himself), so as to trigger the electronic device to start the reminder mode, so that the school can be prompted to pay attention to resting the eyes in time.

[0094] Optionally, a control relationship can be established in advance between the electronic device and the associated device, and this control relationship indicates that the electronic device will be controlled by the associated device.

[0095] Among them, when this control relationship is established, the electronic device, in response to the triggering of a target event, sends the program information of a second application corresponding to this target event to the associated device, where this second application is a preset restricted application. For example, this second application can be preset by the user of the associated device. Among them, the user of the associated device can be the guardian of the user of the electronic device.

[0096] As a way, the target event can be detecting that a second application has completed installation. In this case, the target event can be understood as an application installation event, and then the target application corresponding to the target event can be understood as the second application that has been installed. As another way, the target event can be detecting that a second application has been updated. In this case, the target event can be understood as an application update event, and then the target application corresponding to the target event can be understood as the second application that has been updated. As another way, the target event can be detecting that a second application is running.

[0097] Among them, when the associated device receives the program information of the second application, the user of the associated device can know that the electronic device is performing an operation related to the second application. Therefore, in order to remind the user of the electronic device to make the user of the electronic device pay attention to resting the eyes, the associated device can send a first control instruction to the electronic device. Among them, the associated device can automatically send a first control instruction to the electronic device, or the associated device can send a first control instruction to the electronic device in response to the user's operation.

[0098] S420: If the reminder mode has been started, determine the current state of the user.

[0099] When it is determined that the reminder mode is in the started state, the current state of the user will be further determined.

[0100] S430: Determine the corresponding first reminder method according to the current state of the user, where different states correspond to different first reminder methods.

[0101] S440: Remind the user through the first reminder method, and the reminder is used to remind the user to pay attention to resting the eyes.

[0102] A reminder method provided in this embodiment can not only remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible. Moreover, in the embodiment, for the electronic device, there are also two situations where the reminder mode is in the started state and not in the started state, so that the process of the electronic device triggering the reminder method is more flexible. Moreover, the reminder mode can be remotely started by the associated device, thus improving the flexibility of triggering the start or close of the reminder mode.

[0103] Please refer to Figure 10 , a reminder method provided in this application is applied to an electronic device, and the method includes:

[0104] S510: When the electronic device is in the screen-on state, determine the current state of the user.

[0105] S520: Determine a corresponding first reminder method based on the current state of the user. Among them, different states correspond to different first reminder methods.

[0106] S530: Remind the user through the first reminder method. The reminder is used to prompt the user to pay attention to resting the eyes.

[0107] S540: Determine the feedback operation of the user on the reminder triggered based on the first reminder method.

[0108] During the process of the electronic device reminding through the first reminder method, it can detect whether the user makes a feedback on the reminder triggered based on the first reminder method. Among them, in the case where the user does not make a feedback, the reminder can continue to be triggered based on the first reminder method. In the case where the user makes a feedback, corresponding control can be performed on the electronic device based on the user's feedback operation.

[0109] S550: If the feedback operation indicates stopping the reminder, stop triggering the reminder.

[0110] Among them, for the triggered reminder, the user may feel it is a kind of interference. In this case, the user can stop the triggered reminder through the feedback operation. After the user makes a feedback operation indicating stopping the reminder, the electronic device can stop triggering the reminder.

[0111] For example, the electronic device is currently running a game program, and the user may feel that the triggered reminder (for example, the displayed prompt text) will interfere with the user's operation. In this case, the user can trigger a feedback operation to stop the reminder. For another example, the user may currently be using the electronic device to hold an online meeting, and the triggered reminder may interfere with the user's browsing of the meeting content displayed on the screen. Therefore, the user may trigger a feedback operation to stop the reminder.

[0112] Among them, the electronic device no longer triggering the reminder can include that the electronic device does not trigger the reminder within a period of time and resumes the reminder after that period of time. Optionally, the period of time can be 30 minutes, 1 hour, 2 hours or longer. Optionally, the period of time can be set by the user according to their own needs. Or, optionally, the period of time can be automatically configured by the electronic device according to the historical data of the electronic device. Among them, after resuming the reminder, the electronic device can execute the reminder method provided in the embodiments of the present application to re-determine the current state of the user and re-determine the target reminder method.

[0113] As a way, the electronic device no longer triggering a reminder can include not triggering a reminder until the user manually resumes. Optionally, in the case of determining that the user triggers a feedback operation to stop the reminder, the prompt mode of the electronic device can be set to the off state to stop the reminder. Correspondingly, if it is subsequently detected that the prompt mode is switched to the on state, it is determined that the user expects to resume the reminder.

[0114] S560: If the feedback operation indicates a postponed reminder, remind the user through a second reminder method, where the reminder frequency included in the second reminder method is lower than the reminder frequency included in the first reminder method.

[0115] Among them, in some cases, although the user may not want to stop using the electronic device currently (for example, still want to watch short videos for a while longer, or still want to watch TV dramas for a while longer), but are worried that they will forget the time if they keep using the electronic device. Therefore, the user can choose to let the electronic device postpone the reminder for a period of time. In the case where the feedback operation indicates a postponed reminder, the trigger reminder can be changed to use the second reminder method. Configuring the reminder frequency included in the second reminder method to be lower than the reminder frequency included in the first reminder method can enable both reminding the user and not disturbing the user due to relatively intensive reminders.

[0116] As a way, when the electronic device is currently triggering a reminder, the first control widget and the second control widget can be synchronously displayed. Among them, if it is detected that the first control widget is touched, it is determined that the user has selected to stop the reminder (which means that the feedback operation made by the user indicates stopping the reminder). If it is detected that the second control widget is touched, it is determined that the user has selected to postpone the reminder (which means that the feedback operation made by the user indicates postponing the reminder).

[0117] As shown in the foregoing content, the electronic device may establish a control relationship with an associated device, and the electronic device can be correspondingly configured with a prompt mode.

[0118] As a way, when the electronic device triggers a reminder, it can further detect whether the prompt mode is started by a first control instruction sent by an associated device or manually started by the user of the electronic device. Among them, in the case of detecting that the prompt mode is started by a first control instruction sent by an associated device, the first control widget and the second control widget will not be displayed. Correspondingly, in the case of detecting that the prompt mode is manually started by the user of the electronic device, the first control widget and the second control widget will be displayed. Among them, in the case of detecting that the prompt mode is started in response to a first control instruction sent by an associated device, it means that the user of the associated device wants to limit the use of the electronic device, so the first control widget and the second control widget will not be displayed again.

[0119] Based on this method, the steps of a reminder method provided in an embodiment of the present application may include: when the electronic device is in the screen-on state, detecting whether the reminder mode is started; if the reminder mode is started, determining the current state of the user; determining a corresponding first reminder method through the current state of the user, so as to remind the user through the first reminder method. Among them, if it is detected that the reminder mode is started by a first control instruction sent by an associated device, the first control and the second control will not be displayed.

[0120] Among them, if the reminder mode is started by a first control instruction sent by an associated device, and it is detected that the number of times of reminding the user reaches a first target number, the third reminder method can be switched to be used. Among them, the reminder frequency included in the third reminder method is higher than the reminder frequency included in the first reminder method, so as to achieve a better reminder effect. It should be noted that when it is detected that the number of times of reminding the user reaches the first target number, it means that the user of the electronic device has not responded to the triggered reminder, and thus the electronic device has not been triggered to stop reminding. And, when the electronic device detects that the reminder mode is started by a first control instruction sent by an associated device, it means that the user of the electronic device is a person who needs to be supervised (for example, a minor). In this case, in order to enhance the reminder effect, the electronic device can be changed to use the third reminder method.

[0121] As a method, when changing to use the third reminder method, if it is detected that the number of times of reminding the user reaches a second target number, a report message can be sent to the associated device. Among them, when it is detected that the number of times of reminding the user reaches the second target number, it means that the user of the electronic device has not responded to the triggered reminder, and thus the electronic device has not been triggered to stop reminding. Therefore, a report message can be sent to the associated device to facilitate the associated device (or the user of the associated device) to determine whether to take further measures.

[0122] Optionally, after receiving the report message sent by the electronic device, the associated device can send usage restriction information to the electronic device based on the report message. In the embodiment of the present application, the usage restriction information can be understood as information for restricting the electronic device. Among them, restricting the electronic device may include forcibly closing the application program currently running on the electronic device, or may include forcibly closing the application program currently running on the electronic device after a preset duration (for example, 5 minutes later), or may include forcibly turning off the screen for a preset duration.

[0123] A reminder method provided in this embodiment can not only remind users to pay attention to resting their eyes to improve the condition of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible. Moreover, in this embodiment, when the reminder is made through the first reminder method, the feedback operation of the user to this reminder can be further obtained, and then it can be determined whether to stop the reminder or change the reminder method according to the feedback operation, thereby further improving the flexibility of the solution.

[0124] In the embodiment of the present application, in order to further improve the accuracy of the prompt, as a way, when the electronic device is in the screen-on state and the duration of the user's current screen-on state meets a preset fourth duration, the subsequent steps can be started. For example, when the electronic device is in the screen-on state and the duration of the current screen-on state meets the preset fourth duration, the state where the user is currently located can be determined. Among them, the duration of the current screen-on state can be understood as: the duration of the electronic device maintaining the screen-on state after the last switch from the screen-off state to the screen-on state. Among them, the fourth duration can be configured by the user of the electronic device according to his own habits. Or, the fourth duration can be configured by an associated device having a control relationship with the electronic device.

[0125] Please refer to Figure 11 , a reminder device 600 provided in the present application, runs on an electronic device, and the device 600 includes:

[0126] A state determination unit 610, configured to determine the state where the user is currently located when the electronic device is in the screen-on state;

[0127] A method determination unit 620, configured to determine a corresponding first reminder method through the state where the user is currently located, where different states correspond to different first reminder methods;

[0128] A reminder trigger unit 630, configured to remind the user through the first reminder method, and the reminder is used to prompt the user to pay attention to resting their eyes.

[0129] As a way, the first reminder method is a reminder method determined from multiple reminder methods; among them, the reminder parameters of the multiple reminder methods are different, and the reminder parameters include one or more of the following multiple parameters, and the multiple parameters include: reminder frequency; reminder content; reminder channel; conditions for triggering the reminder.

[0130] As a way, the state includes a walking state, a state of taking a vehicle, or a stationary state.

[0131] Optionally, if the user is currently in a walking state, the corresponding first reminder method includes triggering a reminder once every first time period; if the user is currently in a state of taking a vehicle, the corresponding first reminder method includes triggering a reminder once every second time period; wherein, the second time period is greater than the first time period. Optionally, if the user is currently in a stationary state, the corresponding first reminder method includes triggering a reminder once every third time period, or triggering a reminder once when the number of eye rotations of the user within a preset time period is lower than a preset number threshold.

[0132] As a method, the state determination unit 610 is specifically configured to determine the current state of the user through sensor data collected by sensors in the electronic device, and the sensors include one or more of a gyroscope, an acceleration sensor, and a positioning device.

[0133] As a method, the state determination unit 610 is specifically configured to, when the electronic device is in a screen-on state, obtain the application program running on the electronic device; if the application program is a first application program, determine the current state of the user.

[0134] As a method, the reminder channel of the first reminder method includes reminding by displaying reminder text. In this method, the reminder trigger unit 630 is further configured to determine the display position of the reminder text through the screen displayed on the electronic device.

[0135] As a method, the state determination unit 610 is specifically configured to, when the electronic device is in a screen-on state, detect whether the reminder mode is started, and if the reminder mode has been started, determine the current state of the user.

[0136] As a method, the reminder trigger unit 630 is further configured to determine the feedback operation of the user on the reminder triggered based on the first reminder method. If the feedback operation indicates stopping the reminder, stop triggering the reminder. If the feedback operation indicates postponing the reminder, remind the user through a second reminder method, where the reminder frequency included in the second reminder method is lower than the reminder frequency included in the first reminder method.

[0137] A reminder device provided in this embodiment enables, through the above reminder device, when the electronic device is in a screen-on state, to first determine the first reminder method for subsequent reminders according to the current state of the user, thereby not only being able to remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also making the way of triggering the reminder more adaptable and flexible.

[0138] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein. In several embodiments provided in the present application, the coupling between modules can be electrical. Additionally, in each embodiment of the present application, each functional module can be integrated in a processing module, or each module can exist physically alone, or two or more modules can be integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.

[0139] Next, a description will be provided in conjunction with Figure 12 an electronic device provided in the present application.

[0140] Please refer to Figure 12 , based on the above reminder method and device, an electronic device 1000 capable of executing the foregoing reminder method is further provided in an embodiment of the present application. The electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106, and an audio collection device 108 that are coupled to each other. Among them, a program that can execute the content in the foregoing embodiments is stored in the memory 104, and the processor 105 can execute the program stored in the memory 104.

[0141] Among them, the processor 105 can include one or more processing cores. The processor 105 connects various parts within the entire electronic device 1000 using various interfaces and lines, and by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and by calling data stored in the memory 104, it executes various functions of the electronic device 1000 and processes data. Optionally, the processor 105 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 105 can integrate one or several combinations of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs, etc.; the GPU is responsible for rendering and drawing the display content; the modem is used to process wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 105 and can be implemented separately through a communication chip.

[0142] The memory 104 may include a Random Access Memory (RAM), or may also include a Read-Only Memory. The memory 104 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 104 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, and the like.

[0143] Furthermore, in addition to the aforementioned devices, the electronic device 1000 may further include a network module 110 and a sensor module 112.

[0144] The network module 110 is used to implement information interaction between the electronic device 1000 and associated devices. For example, it can establish a connection with other audio playback devices or other electronic devices and perform information interaction based on the established connection. As a way, the network module 110 of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or an associated device. The radio frequency module may include various existing circuit elements for performing these functions. For example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like. For example, the radio frequency module can interact with an associated device through the sent or received electromagnetic waves.

[0145] The sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include but is not limited to: a pressure sensor, a motion sensor, an acceleration sensor, and other sensors.

[0146] Among them, the pressure sensor is a sensor that can detect the pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects the pressure generated by the contact or pressing between the user and the electronic device 1000, such as the pressure generated by the contact or pressing between the user's ear and the electronic device 1000. Therefore, the pressure sensor can be used to determine whether there is a contact or pressing between the user and the electronic device 1000, and the magnitude of the pressure.

[0147] Among them, the acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used in applications for identifying the posture of the electronic device 1000 (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, taps), etc. In addition, the electronic device 1000 can also be configured with other sensors such as gyroscopes, barometers, hygrometers, and thermometers, which will not be elaborated here.

[0148] The audio acquisition device 108 is used for audio signal acquisition. Optionally, the audio acquisition device 108 includes a plurality of audio acquisition components, and the audio acquisition component can be a microphone.

[0149] Please refer to Figure 13 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 800, and the program code can be called by a processor to execute the method described in the above method embodiment.

[0150] The computer-readable storage medium 800 can be an electronic memory such as a flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has a storage space for the program code 810 that executes any method step in the above method. These program codes can be read out from or written into one or more computer program products. The program code 810 can be compressed in an appropriate form, for example.

[0151] In summary, a reminder method, device, and electronic device provided by the present application. In this method, when the electronic device is in the screen-on state, first determine the current state of the user, and then determine the corresponding first reminder method based on the current state of the user, and then use this first reminder method to remind the user to pay attention to resting the eyes. Thus, through the above method, when the electronic device is in the screen-on state, it will first determine the first reminder method for subsequent reminders based on the current state of the user, which can not only remind the user to pay attention to resting the eyes to improve the situation of eye fatigue, but also make the way of triggering the reminder more adaptable and flexible.

[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims

1. A reminder method, characterized in that, Applied to electronic equipment, the method comprises: When the screen of the electronic device is on, determining the current state of the user; Determine a corresponding first reminder method according to the current state of the user, wherein different states correspond to different first reminder methods; The user is reminded through the first reminder method, and the reminder is used to prompt the user to rest his eyes.

2. The method according to claim 1, wherein The first reminder method is a reminder method determined from multiple reminder methods; wherein the reminder parameters of the multiple reminder methods are different, and the reminder parameters include one or more of the following multiple parameters, and the multiple parameters include: reminder frequency; reminder content; reminder channel; and conditions for triggering reminders.

3. The method according to claim 1, wherein The state includes a walking state, a state of riding a vehicle, or a stationary state.

4. The method according to claim 3, wherein If the user is currently in a walking state, the corresponding first reminder method includes triggering a reminder once every first time interval; If the user is currently in a state of riding a means of transportation, the corresponding first reminder method includes triggering a reminder once every second time interval; The second duration is greater than the first duration.

5. The method according to claim 3, characterized in that, If the user is currently in a stationary state, the corresponding first reminder method includes triggering a reminder once every third time interval, or triggering a reminder when it is detected that the number of eye movements of the user within a preset time period is lower than a preset number threshold.

6. The method according to claim 3, wherein Determining the current state of the user includes: The current state of the user is determined by sensor data collected by sensors in the electronic device, wherein the sensors include one or more of a gyroscope, an acceleration sensor, and a positioning device.

7. The method according to claim 1, characterized in that, The step of determining the current state of the user when the electronic device is in a screen-on state includes: When the electronic device is in a screen-on state, obtaining an application program running on the electronic device; If the application is the first application, determine the current state of the user.

8. The method according to claim 1, characterized in that, The reminder channel of the first reminder method includes reminding by displaying a reminder text, and the method further includes: The display position of the reminder text is determined by the picture displayed in the electronic device.

9. The method according to claim 1, wherein The step of determining the current state of the user when the electronic device is in a screen-on state includes: When the screen of the electronic device is on, detecting whether the prompt mode is started; If the reminder mode is already activated, the user's current state is determined.

10. A reminder device, characterized in that, Running on an electronic device, the device comprises: A state determination unit, used to determine the current state of the user when the electronic device is in a screen-on state; a mode determination unit, configured to determine a corresponding first reminder mode according to a current state of the user, wherein different states correspond to different first reminder modes; The reminder trigger unit is used to remind the user through the first reminder method, and the reminder is used to prompt the user to pay attention to resting his eyes.

11. An electronic device, characterized in that, including one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code, wherein, when the program code runs, the method according to any one of claims 1-9 is executed.