Information prompting method, electronic equipment and computer readable storage medium
The use environment of the smart terminal is determined through ambient light intensity data and prompt information is displayed. Combined with user feedback to adjust the display probability, the problem of insufficient flexibility of smart terminals in the prior art is solved, and personalized brightness adjustment and higher user experience are achieved.
Patent Information
- Application Number
- CN202411803613.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-11
AI Technical Summary
The prior art cannot meet the personalized needs of users in smart terminals, and has poor flexibility, so it is impossible to effectively adjust the brightness to adapt to different lighting environments.
The current usage environment of the electronic device is determined through ambient light intensity data, and the corresponding prompt information is displayed according to the environment type, user feedback information is collected, and the display probability of prompt information is updated to adjust the brightness and display method.
It realizes that users can provide diversified prompt information based on changes in ambient light conditions, allowing users to adjust their smart terminals when they know it, meet personalized needs, and improve user experience.
Smart Images

Figure CN119811033A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information prompting method, an electronic device and a computer-readable storage medium. Background Art
[0002] With the continuous development of communication technology, an ambient light sensor (ALS) is usually integrated on a smart terminal to detect the light intensity of the environment.
[0003] In the related art, when a smart terminal detects a change in ambient light intensity through an ambient light sensor, it will automatically adjust the ambient brightness to adapt to different lighting environments.
[0004] However, the relevant technology has poor flexibility and cannot meet the personalized needs of users. Summary of the invention
[0005] The main technical problem solved by the present application is to provide an information prompt method, an electronic device and a computer-readable storage medium, which can solve the problem that related technologies cannot meet the personalized needs of users.
[0006] To solve the above technical problems, the first technical solution adopted in the present application is to provide an information prompt method, including: determining the current usage environment of the electronic device based on ambient light intensity data; displaying corresponding prompt information according to the type of the current usage environment; collecting user feedback information based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information; and updating the display probability of the prompt information based on the corresponding feedback information.
[0007] Among them, the step of updating the display probability of the prompt information based on the corresponding feedback information includes: in response to the feedback information being positive feedback information, executing the brightness adjustment operation corresponding to the prompt information and increasing the display probability of the prompt information; in response to the feedback information being negative feedback information, refusing to execute the brightness adjustment operation corresponding to the prompt information and reducing the display probability of the prompt information.
[0008] Among them, the step of displaying corresponding prompt information according to the type of the current use environment includes: generating or retrieving corresponding prompt information according to the type of the current use environment, and displaying the prompt information through the display interface of the electronic device.
[0009] Among them, the step of generating or retrieving corresponding prompt information according to the type of the current usage environment includes: collecting user usage data, and generating prompt information through a machine learning algorithm based on the user usage data and the type of the current usage environment; or, retrieving matching prompt information from a database based on the type of the current usage environment.
[0010] The step of determining the current use environment of the electronic device based on the ambient light intensity data includes: comparing the ambient light intensity data with a set threshold, and determining the current use environment of the electronic device based on the comparison result.
[0011] Among them, the step of comparing the ambient light intensity data with the set threshold and determining the current usage environment of the electronic device based on the comparison result includes: in response to the ambient light intensity data being greater than the first set threshold, determining that the current usage environment is a strong light environment; in response to the ambient light intensity data being less than or equal to the first set threshold and greater than or equal to the second set threshold, determining that the current usage environment is a normal environment; in response to the ambient light intensity data being less than the second set threshold, determining that the current usage environment is a weak light environment; wherein the second set threshold is less than the first set threshold.
[0012] Among them, the step of displaying corresponding prompt information according to the type of the current usage environment includes: in response to the current usage environment being a strong light environment, obtaining a first prompt information reminding to increase the screen brightness; in response to the current usage environment being a normal environment, obtaining a second prompt information reminding to lower the screen brightness; in response to the current usage environment being a low light environment, obtaining a third prompt information reminding to turn on the eye protection mode; and displaying the first prompt information, the second prompt information, or the third prompt information through the display interface of the electronic device.
[0013] Among them, the electronic device includes a frame, a screen and an ambient light sensor, and the ambient light sensor is integrated in the frame or arranged under the screen; before the step of determining the current usage environment of the electronic device based on the ambient light intensity data, it includes: detecting the ambient brightness information in real time through the ambient light sensor to obtain the ambient light intensity data based on the ambient brightness information.
[0014] In order to solve the above technical problems, the second technical solution adopted in the present application is to provide an electronic device, comprising: a memory, used to store program data, and when the program data is executed, the steps in the information prompt method as mentioned above are implemented; a processor, used to execute the program data stored in the memory to implement the steps in the information prompt method as mentioned above.
[0015] To solve the above technical problems, the third technical solution adopted in the present application is to provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the information prompt method described in any one of the above items are implemented.
[0016] The beneficial effects of the present application are as follows: the present application provides an information prompt method, an electronic device and a computer-readable storage medium, which determines the current use environment of the electronic device through ambient light intensity data, and displays corresponding prompt information according to the type of the current use environment, and can provide users with diversified prompt information based on changes in ambient light conditions, so as to adjust the smart terminal with the user's knowledge. Furthermore, by collecting user feedback information based on the prompt information, and updating the display probability of the prompt information based on the corresponding feedback information, the display mode of the prompt information can be flexibly adjusted to make the prompt information more in line with the user's usage habits, thereby meeting the user's personalized needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 It is a flowchart of the first implementation method of the information prompt method of this application;
[0019] Figure 2 It is a flow chart of the second implementation method of the information prompt method of the present application;
[0020] Figure 3 It is a flowchart of the third implementation method of the information prompt method of this application;
[0021] Figure 4 It is a flowchart of the fourth implementation method of the information prompt method of the present application;
[0022] Figure 5 This is a workflow diagram of the application scenario of the first application information prompt method;
[0023] Figure 6 It is a structural schematic diagram of an embodiment of the electronic device of the present application;
[0024] Figure 7 It is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present invention. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0026] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless otherwise clearly indicated above, and "multiple" generally includes at least two, but does not exclude the inclusion of at least one.
[0027] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0028] It should be understood that the terms "include", "comprises" or any other variations used herein are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "includes..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.
[0029] In the related art, when the intelligent terminal detects a change in the light intensity of the environment through an ambient light sensor, it will automatically adjust the ambient brightness to adapt to different lighting environments. However, the related art has poor flexibility and cannot meet the personalized needs of users.
[0030] Based on the above situation, the present application provides an information prompt method, an electronic device and a computer-readable storage medium, which can solve the problem that related technologies cannot meet the personalized needs of users.
[0031] The information prompt method provided in the present application includes: determining the current use environment of the electronic device based on ambient light intensity data; displaying corresponding prompt information according to the type of the current use environment; collecting feedback information from the user based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information; and updating the display probability of the prompt information based on the corresponding feedback information. By determining the current use environment of the electronic device through ambient light intensity data and displaying corresponding prompt information according to the type of the current use environment, it is possible to provide users with diversified prompt information based on changes in ambient light conditions, so as to adjust the smart terminal with the knowledge of the user. Furthermore, by collecting feedback information from the user based on the prompt information and updating the display probability of the prompt information based on the corresponding feedback information, it is possible to flexibly adjust the display mode of the prompt information so that the prompt information is more in line with the user's usage habits, thereby meeting the user's personalized needs.
[0032] Specifically, see Figure 1 , Figure 1 : is a flowchart of the first implementation method of the information prompt method of the present application. In this implementation method, the method includes:
[0033] S11: Determine the current usage environment of the electronic device based on the ambient light intensity data.
[0034] In this implementation, the electronic device may be any intelligent terminal with Internet access function.
[0035] In some implementations, the electronic device includes any one of a mobile phone, a tablet, and a portable notebook.
[0036] In this embodiment, the current use environment of the electronic device includes a normal environment, a strong light environment, and a weak light environment. In a normal environment, the contrast between the screen light intensity of the electronic device and the ambient light is small, and when the electronic device is used in a strong light environment or a weak light environment, the contrast between the ambient light and the screen light is large.
[0037] In some embodiments, indoors on a sunny day or indoors at night with lights on is a normal environment, outdoors on a sunny day is a strong light environment, and outdoors at night or indoors at night with lights off is a weak light environment.
[0038] In this embodiment, a brightness acquisition unit is provided in the electronic device, and the brightness of the ambient light around the electronic device is detected by the brightness acquisition unit to obtain corresponding ambient light intensity data.
[0039] Specifically, ambient light is the superposition of light waves emitted, refracted, and reflected by all light sources in the environment and propagated to electronic devices. The intensity of ambient light can be used to measure the intensity of light irradiated on electronic devices. The unit of measurement for light intensity is the luminous flux of visible light received by a single surface area, referred to as illumination.
[0040] S12: Display corresponding prompt information according to the type of the current use environment.
[0041] In this embodiment, if the current use environment is a normal environment, no prompt is given. If the current use environment is a strong light environment or a weak light environment, corresponding prompt information is displayed on the display interface (screen or other visual output device) of the electronic device according to the type of the current use environment.
[0042] In this embodiment, the prompt information is usage suggestion information that matches the current ambient light conditions. In some embodiments, the prompt information also includes ambient light intensity data.
[0043] In some specific embodiments, if the user walks from indoors to outdoors and the ambient light brightness increases instantaneously, a prompt message suggesting to increase the screen brightness is displayed to facilitate viewing of the screen information. In other specific embodiments, if the user walks from outdoors to indoors and the ambient light brightness decreases instantaneously, a prompt message suggesting to lower the screen brightness is displayed to reduce the power consumption of the electronic device and thus extend the use time of the electronic device. In still other specific embodiments, if the user turns off the lights at night and the ambient light brightness decreases sharply, a prompt message to turn on eye protection is displayed to reduce the adverse effects on the user's eyes.
[0044] It can be understood that when the current usage environment switches rapidly, the user can be reminded in time through prompt information, and the brightness of the electronic device can be adjusted with the user's knowledge to adapt to different ambient light conditions, thereby providing the best visual effect and reducing visual fatigue, thereby improving the user's usage experience.
[0045] S13: Collecting feedback information from the user based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information.
[0046] In this embodiment, the electronic device collects user feedback information based on the prompt information through a user interface, wherein the user interface is an interface provided by the electronic device for the user to interact with the system of the electronic device.
[0047] In some implementations, the user interface includes input devices such as a touch screen and buttons. In other implementations, the user interface includes output devices such as a display screen, which is not limited in this application.
[0048] In this implementation, the feedback information includes positive feedback information and negative feedback information.
[0049] Among them, positive feedback information indicates that the user's idea is consistent with the prompt information, and negative feedback information indicates that the user's idea is inconsistent with the prompt information.
[0050] In some implementations, the prompt information includes two selection buttons. If the user clicks the "yes" button, positive feedback information is collected. If the user clicks the "no" button, negative feedback information is collected.
[0051] In some other implementations, the prompt information includes an input box, and if the user does not input anything, positive feedback information is collected. If the user inputs information rejecting the corresponding operation in the prompt information, negative feedback information is collected.
[0052] In some specific implementations, when entering a bright light environment from a normal environment, the prompt information is a suggestion to increase the screen brightness. If the user's idea is consistent with the prompt information, no operation is performed or the "yes" button is clicked, so that the electronic device collects positive feedback information. When entering a dim light environment from a normal environment, the prompt information is a suggestion to lower the screen brightness. If the user's idea is consistent with the prompt information, no operation is performed or the "yes" button is clicked, so that the electronic device collects positive feedback information.
[0053] In some specific implementations, when entering a strong light environment from a normal environment, the prompt information is to suggest turning up the screen brightness, but the user does not want to turn up the brightness for the sake of saving power, so the electronic device collects negative feedback information by inputting information to refuse to turn up the brightness or clicking the "No" button. When entering a weak light environment from a normal environment, the prompt information is to suggest turning down the screen brightness, but the user does not need to turn down the brightness due to usage habits, so the electronic device collects negative feedback information by inputting information to refuse to turn down the brightness or clicking the "No" button.
[0054] S14: updating the display probability of the prompt information based on the corresponding feedback information.
[0055] In this implementation, the electronic device stores the corresponding feedback information, and adjusts the display probability of the prompt information based on the feedback information to improve the prediction accuracy of the prompt information.
[0056] In this embodiment, in response to the collection of positive feedback information, the display probability of the prompt information is increased so that the prompt information can continue to be displayed when the same usage environment is subsequently identified. In response to the collection of negative feedback information, the display probability of the prompt information is reduced so that the display probability of the prompt information can be reduced when the same usage environment is subsequently identified.
[0057] In some implementations, when negative feedback information is collected based on the same prompt information for two or more times (e.g., three or more times), the display probability of the prompt information is reduced to 0. In other implementations, for a certain prompt information, as long as negative feedback information is collected, the display probability of the prompt information is immediately reduced to 0. In still other implementations, when positive feedback information is collected based on the same prompt information for two or more times, the display probability of the prompt information is increased to 100%, which is not limited in this application.
[0058] It is understandable that the prompt information displayed when switching between different environments may not completely match the user's usage habits. If the brightness is adjusted directly according to the operations corresponding to the prompt information, it is very likely that the user will need to manually adjust the brightness again to suit his or her usage habits. This will increase the number of user operations and thus reduce the user's usage experience.
[0059] Different from the related art, this embodiment determines the current use environment of the electronic device through the ambient light intensity data, and displays the corresponding prompt information according to the type of the current use environment, and can provide users with diversified prompt information based on the changes in ambient light conditions, so as to adjust the smart terminal with the user's knowledge. Furthermore, by receiving feedback information input by the user based on the prompt information and adjusting the prompt information according to the feedback information, the prompt information can be flexibly adjusted to make the prompt information more in line with the user's usage habits, thereby meeting the user's personalized needs.
[0060] See also Figure 2 , Figure 2 : is a flow chart of the second implementation method of the information prompt method of the present application. In this implementation method, the method includes:
[0061] S21: Determine the current usage environment of the electronic device based on the ambient light intensity data.
[0062] For the specific process, please refer to the description in S11 and will not be repeated here.
[0063] S22: Display corresponding prompt information according to the type of the current use environment.
[0064] For the specific process, please refer to the description in S13 and will not be repeated here.
[0065] S23: Collecting feedback information from the user based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information.
[0066] For the specific process, please refer to the description in S13 and will not be repeated here.
[0067] S24: In response to the feedback information being positive feedback information, executing a brightness adjustment operation corresponding to the prompt information, and increasing the display probability of the prompt information.
[0068] In some embodiments, when entering a strong light environment from a normal environment, the prompt information is a suggestion to increase the screen brightness. After the electronic device collects the positive feedback information, it executes the operation of increasing the screen brightness and increases the display probability corresponding to the prompt information so that the prompt information can continue to be displayed in the same environment later.
[0069] In other embodiments, when entering a low-light environment from a normal environment, the prompt information is a suggestion to lower the screen brightness. After the electronic device collects the positive feedback information, it executes the operation of lowering the screen brightness and increases the display probability corresponding to the prompt information, so as to continue to display the prompt information in the same environment later.
[0070] It can be understood that the collection of positive feedback information indicates that the prompt information is consistent with the user's idea and the prompt information fits the user's usage habits. At this time, directly executing the brightness adjustment operation corresponding to the prompt information can meet the user's usage needs, thereby improving the user's usage experience.
[0071] S25: In response to the feedback information being negative feedback information, refusing to execute the brightness adjustment operation corresponding to the prompt information, and reducing the display probability of the prompt information.
[0072] In some embodiments, when entering a strong light environment from a normal environment, the prompt information is a suggestion to increase the screen brightness. After the electronic device collects negative feedback information, it refuses to execute the operation of increasing the screen brightness and reduces the display probability corresponding to the prompt information, so as to reduce the display probability of the prompt information in the same environment later.
[0073] In other embodiments, when entering a low-light environment from a normal environment, the prompt information is a suggestion to lower the screen brightness. After the electronic device collects the negative feedback information, it refuses to execute the operation of lowering the screen brightness and reduces the display probability corresponding to the prompt information, so as to reduce the display probability of the prompt information in the same environment later.
[0074] It can be understood that the collection of negative feedback information indicates that the prompt information is inconsistent with the user's idea and the prompt information does not fit the user's usage habits. At this time, refusing to execute the brightness adjustment operation corresponding to the prompt information can meet the user's usage needs and thus improve the user's usage experience.
[0075] Different from the related art, this implementation performs corresponding operations based on different feedback information of users, and can provide users with a richer user experience through light sensing technology, thereby meeting the personalized needs of users.
[0076] See also Figure 3 , Figure 3 : is a flowchart of the third implementation method of the information prompt method of the present application. In this implementation method, the method includes:
[0077] S31: Determine the current usage environment of the electronic device based on the ambient light intensity data.
[0078] For the specific process, please refer to the description in S11 and will not be repeated here.
[0079] S32: Generate or retrieve corresponding prompt information according to the type of the current use environment, and display the prompt information through the display interface of the electronic device.
[0080] In this embodiment, a database for storing set thresholds and prompt information is provided in the electronic device, and a machine learning algorithm for processing data and generating prompt information is also installed.
[0081] In some implementations, user usage data is collected, and prompt information is generated through a machine learning algorithm based on the user usage data and the type of usage environment.
[0082] Among them, user usage data can reflect the user's usage preferences, that is, how bright the screen is that the user likes in different environments. Taking environmental factors and the user's actual usage preferences into consideration at the same time can make the brightness adjustment more in line with the user's usage needs, thereby further improving the user's usage experience.
[0083] Among them, when collecting and processing user usage data, effective privacy protection measures are taken to ensure the security and privacy of user data.
[0084] It is understandable that if the prompt information corresponding to the current usage environment is not stored in the database, prompt information that meets the user's needs can be generated through a machine learning algorithm based on the user's usage data and the type of environment the user is in.
[0085] In other implementations, matching prompt information is retrieved from a database based on the type of usage environment.
[0086] It can be understood that if prompt information corresponding to the current use environment is stored in the database, the corresponding prompt information can be directly obtained through retrieval, thereby improving the speed of obtaining the prompt information.
[0087] In this implementation, a prompt area may be provided on a lock screen or a main screen of the electronic device, and prompt information may be displayed through the prompt area.
[0088] S33: Collecting feedback information from the user based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information.
[0089] For the specific process, please refer to the description in S13 and will not be repeated here.
[0090] S34: updating the display probability of the prompt information based on the corresponding feedback information.
[0091] For the specific process, please refer to the description in S14 and S24-S25, which will not be repeated here.
[0092] Different from related technologies, this embodiment uses a machine learning algorithm to predict the possible needs of users in specific environments, and stores the generated prompt information in a database. When the current usage environment of the electronic device is subsequently determined, corresponding prompts or adjustments can be made in advance to make the prompt information more in line with the user's usage habits, thereby meeting the user's personalized needs.
[0093] See also Figure 4 , Figure 4 1 is a flow chart of the fourth embodiment of the information prompt method of the present application. In this embodiment, the electronic device includes a frame, a screen and an ambient light sensor, the ambient light sensor is integrated in the frame or arranged under the screen, and the method includes:
[0094] S41: Detecting ambient brightness information in real time through an ambient light sensor to obtain ambient light intensity data based on the ambient brightness information.
[0095] In this embodiment, after the ambient light sensor is turned on, the ambient brightness information can be detected in real time by the ambient light sensor, so as to more accurately detect the change of ambient light, thereby providing more precise brightness adjustment.
[0096] In some implementations, the user can bring up a drop-down menu bar by sliding down or the like, in which a button for turning on or off the ambient light sensor can be seen, and the user can decide to turn on or off the ambient light sensor. If the user turns on the ambient light sensor, the electronic device can accurately identify the intensity and color temperature of the ambient light based on the data collected by the ambient light sensor, thereby obtaining ambient light intensity data.
[0097] S42: Compare the ambient light intensity data with a set threshold, and determine the current use environment of the electronic device based on the comparison result.
[0098] In this embodiment, in response to the ambient light intensity data being greater than the first set threshold, the current use environment is determined to be a strong light environment. In response to the ambient light intensity data being less than or equal to the first set threshold, and greater than or equal to the second set threshold, the current use environment is determined to be a normal environment. In response to the ambient light intensity data being less than the second set threshold, the current use environment is determined to be a weak light environment. The second set threshold is less than the first set threshold.
[0099] In some embodiments, indoors on a sunny day or indoors at night with lights on is a normal environment, outdoors on a sunny day is a strong light environment, and outdoors at night or indoors at night with lights off is a weak light environment.
[0100] S43: Display corresponding prompt information according to the type of the current use environment.
[0101] In this embodiment, in response to the current use environment being a strong light environment, a first prompt message is obtained to remind you to increase the screen brightness. In response to the current use environment being a normal environment, a second prompt message is obtained to remind you to lower the screen brightness. In response to the current use environment being a weak light environment, a third prompt message is obtained to remind you to turn on the eye protection mode. Furthermore, the first prompt message, the second prompt message, or the third prompt message is displayed through the display interface of the electronic device.
[0102] In some specific implementations, if the current usage environment is outdoors on a sunny day, it is determined that the current usage environment is a strong light environment, the electronic device obtains a first prompt message reminding to increase the screen brightness, and displays the first prompt message on the screen of the electronic device.
[0103] In other specific implementations, if the current usage environment is indoors on a sunny day, the current usage environment is determined to be a normal environment, the electronic device obtains a second prompt message reminding to lower the screen brightness, and displays the second prompt message on the screen of the electronic device.
[0104] In some other specific implementations, if the current usage environment is indoors at night with the lights off, it is determined that the current usage environment is a low-light environment, the electronic device obtains a third prompt message reminding to turn on the eye protection mode, and displays the third prompt message on the screen of the electronic device.
[0105] S44: Collecting feedback information from the user based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information.
[0106] For the specific process, please refer to the description in S13 and will not be repeated here.
[0107] S45: updating the display probability of the prompt information based on the corresponding feedback information.
[0108] For the specific process, please refer to the description in S14 and will not be repeated here.
[0109] Different from the related art, this embodiment can accurately identify the current use environment of the electronic device by comparing the ambient light intensity data with the set threshold. Then, the corresponding prompt information is displayed according to the type of the current use environment, and useful prompt information can be accurately obtained when the current use environment is switched. Furthermore, by collecting the user's feedback information based on the prompt information and updating the display probability of the prompt information based on the corresponding feedback information, the display mode of the prompt information can be flexibly adjusted to make the prompt information more in line with the user's usage habits, thereby meeting the user's personalized needs.
[0110] See also Figure 5 , Figure 5 This is a workflow diagram of an application scenario of the information prompt method of this application. In this embodiment, the ambient light sensor of the electronic device is turned on to detect the ambient brightness information in real time, and the ambient light intensity data is obtained based on the ambient brightness information. Then the ambient light intensity data is compared with the set threshold, and the current use environment of the electronic device is determined based on the comparison result. Then, the corresponding prompt information is displayed according to the type of the current use environment. Finally, the user's feedback information based on the prompt information is collected, and the display probability of the prompt information is updated based on the corresponding feedback information.
[0111] Different from the related art, this embodiment determines the current use environment of the electronic device through the ambient light intensity data, and displays the corresponding prompt information according to the type of the current use environment, and can provide users with diversified prompt information based on the changes in ambient light conditions, so as to adjust the smart terminal with the user's knowledge. Furthermore, by collecting the user's feedback information based on the prompt information, and updating the display probability of the prompt information based on the corresponding feedback information, the display mode of the prompt information can be flexibly adjusted to make the prompt information more in line with the user's usage habits, thereby meeting the user's personalized needs.
[0112] Correspondingly, the present application provides an electronic device.
[0113] See also Figure 6 , Figure 6 Schematic diagram of the structure of an electronic device of the present application. Figure 6 As shown, in this embodiment, the electronic device 60 includes a memory 61 and a processor 62 .
[0114] In this embodiment, the memory 61 is used to store program data, and when the program data is executed, the steps in the above-mentioned information prompt method are implemented. The processor 62 is used to execute the program instructions stored in the memory 61 to implement the steps in the above-mentioned information prompt method.
[0115] Specifically, the processor 62 is used to control itself and the memory 61 to implement the steps in the information prompt method as described above. The processor 62 can also be called a CPU (Central Processing Unit). The processor 62 may be an integrated circuit chip with signal processing capabilities. The processor 62 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 62 can be implemented by multiple integrated circuit chips.
[0116] Correspondingly, the present application provides a computer-readable storage medium.
[0117] See also Figure 7 , Figure 7 It is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present invention.
[0118] The computer-readable storage medium 70 includes a computer program 701 stored on the computer-readable storage medium 70, and the computer program 701 implements the steps in the above-mentioned information prompt method when executed by the above-mentioned processor. Specifically, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium 70. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable storage medium 70, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned computer-readable storage medium 70 includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0119] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0120] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0121] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0122] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0123] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An information prompting method, characterized in that: include: Determine the current usage environment of the electronic device based on the ambient light intensity data; Display corresponding prompt information according to the type of the current usage environment; Collecting feedback information from users based on the prompt information; wherein the feedback information includes positive feedback information and negative feedback information; The display probability of the prompt information is updated based on the corresponding feedback information.
2. The information prompting method according to claim 1, characterized in that: The step of updating the display probability of the prompt information based on the corresponding feedback information comprises: In response to the feedback information being the positive feedback information, performing a brightness adjustment operation corresponding to the prompt information, and increasing the display probability of the prompt information; In response to the feedback information being the negative feedback information, refusing to execute the brightness adjustment operation corresponding to the prompt information, and reducing the display probability of the prompt information.
3. The information prompting method according to claim 1, characterized in that: The step of displaying corresponding prompt information according to the type of the current use environment includes: The corresponding prompt information is generated or retrieved according to the type of the current use environment, and the prompt information is displayed through the display interface of the electronic device.
4. The information prompting method according to claim 3, characterized in that: The step of generating or retrieving the corresponding prompt information according to the type of the current use environment includes: Collecting user usage data, and generating the prompt information through a machine learning algorithm based on the user usage data and the type of the current usage environment; or, The matching prompt information is retrieved from a database based on the type of the current use environment.
5. The information prompting method according to claim 1, characterized in that: The step of determining the current use environment of the electronic device based on the ambient light intensity data includes: The ambient light intensity data is compared with a set threshold, and the current use environment of the electronic device is determined based on the comparison result.
6. The information prompting method according to claim 5, characterized in that: The step of comparing the ambient light intensity data with a set threshold and determining the current use environment of the electronic device based on the comparison result includes: In response to the ambient light intensity data being greater than a first set threshold, determining that the current use environment is a strong light environment; In response to the ambient light intensity data being less than or equal to the first set threshold and greater than or equal to a second set threshold, determining that the current use environment is a normal environment; In response to the ambient light intensity data being less than the second set threshold, it is determined that the current usage environment is a low-light environment; wherein the second set threshold is less than the first set threshold.
7. The information prompting method according to claim 6, characterized in that: The step of displaying corresponding prompt information according to the type of the current use environment includes: In response to the current usage environment being the strong light environment, obtaining first prompt information for prompting to increase screen brightness; In response to the current usage environment being the normal environment, obtaining second prompt information for prompting to lower the screen brightness; In response to the current usage environment being the low-light environment, obtaining third prompt information for prompting to turn on the eye protection mode; The first prompt information, the second prompt information, or the third prompt information is displayed through a display interface of the electronic device.
8. The information prompting method according to claim 1, characterized in that: The electronic device comprises a frame, a screen and an ambient light sensor, wherein the ambient light sensor is integrated in the frame or arranged below the screen; Before the step of determining the current use environment of the electronic device based on the ambient light intensity data, the method includes: The ambient light sensor detects ambient brightness information in real time, so as to obtain the ambient light intensity data based on the ambient brightness information.
9. An electronic device, characterized in that: include: A memory for storing program data, wherein the program data, when executed, implements the steps of the information prompt method according to any one of claims 1 to 8; A processor is used to execute the program data stored in the memory to implement the steps in the information prompt method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information prompting method according to any one of claims 1 to 8 are implemented.