CN111596986B - Information prompting method and electronic equipment - Google Patents
Information prompting method and electronic equipment Download PDFInfo
- Publication number
- CN111596986B CN111596986B CN202010335126.XA CN202010335126A CN111596986B CN 111596986 B CN111596986 B CN 111596986B CN 202010335126 A CN202010335126 A CN 202010335126A CN 111596986 B CN111596986 B CN 111596986B
- Authority
- CN
- China
- Prior art keywords
- target
- information
- state information
- prompt
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000006870 function Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/224—Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an information prompting method and electronic equipment. The method comprises the following steps: the method comprises the steps that under the condition that the electronic equipment detects that target state information meets preset information prompt conditions, target attribute information of the target state information is obtained; the electronic equipment determines a target prompt area and a target prompt mode of target state information on a screen of the electronic equipment based on the target attribute information; and the electronic equipment prompts the target state information in a target prompt mode on the target prompt area. The target prompting mode comprises a target display color of a target prompting area and/or a target brightness display mode of the target prompting area. According to the method, the state information related to the electronic equipment can be timely prompted to the user, and the convenience of the user in using the electronic equipment is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an information prompting method and electronic equipment.
Background
As electronic devices have increased in application functionality, they have taken up increasingly important positions in people's lives. In the process of using an electronic device, a user often needs to obtain a lot of state information related to the electronic device in time, for example, information such as electric quantity state information of the electronic device, unread state information of a message received by an application program in the electronic device, and the like.
Therefore, in order to improve the convenience of users using electronic devices, it is highly desirable to provide an information prompting method for prompting users of status information related to the electronic devices.
Disclosure of Invention
The embodiment of the invention provides an information prompting method and electronic equipment, which can prompt a user for state information related to the electronic equipment in time and improve the convenience of using the electronic equipment by the user.
In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information prompting method, including:
acquiring target attribute information of the target state information under the condition that the target state information is detected to meet the preset information prompt condition;
determining a target prompt area and a target prompt mode of target state information on a screen of the electronic equipment based on the target attribute information;
prompting the target state information in a target prompting mode on a target prompting area;
the target prompting mode comprises a target display color of a target prompting area and/or a target brightness display mode of the target prompting area.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
The information acquisition module is used for acquiring target attribute information of the target state information under the condition that the target state information is detected to meet the preset information prompt condition;
the determining module is used for determining a target prompt area and a target prompt mode of the target state information on a screen of the electronic equipment based on the target attribute information;
the prompting module is used for prompting the target state information in a target prompting mode on the target prompting area;
the target prompting mode comprises a target display color of a target prompting area and/or a target brightness display mode of the target prompting area.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the information prompting method as provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, on which computer program instructions are stored, which when executed by a processor implement an information prompting method as provided in the first aspect above.
In the embodiment of the invention, for the target state information meeting the preset information prompt condition, the target state information is prompted on the target prompt area by utilizing the display color of the target prompt area and/or the brightness display mode of the target prompt area corresponding to the target state information on the screen of the electronic equipment, so that the information prompt on the target state information can be realized in time, and the convenience of using the electronic equipment by a user is improved.
Drawings
The invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings in which like or similar reference characters designate like or similar features.
FIG. 1 is a schematic flow chart of an information prompting method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for setting a reminder of remaining capacity status information according to an embodiment of the present invention;
fig. 3 shows prompt areas corresponding to different residual capacity state information provided by the embodiment of the invention;
fig. 4 is a schematic flow chart of a method for setting a hint for charging state information according to an embodiment of the present invention;
fig. 5 is a flow chart illustrating a method for setting a hint for unread status information of different information sources according to an embodiment of the present invention;
FIG. 6 is a second flowchart of an information prompting method according to an embodiment of the present invention;
FIG. 7 illustrates display colors of a hint area having unread status information of different information sources provided by an embodiment of the present invention;
fig. 8 shows one of schematic structural diagrams of an electronic device according to an embodiment of the present invention.
Fig. 9 shows a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Based on the technical problem that the state information related to the electronic equipment needs to be prompted, the embodiment of the invention provides an information prompting method and the electronic equipment, and the information prompting can be performed on the target state information by changing the display color and/or the brightness display mode of the target prompting area corresponding to the target state information needing to be prompted on the screen of the electronic equipment. The following detailed description refers to the accompanying drawings and examples.
Fig. 1 shows a flow chart of an information prompting method according to an embodiment of the present invention. As shown in fig. 1, the information prompting method provided by the embodiment of the invention is applied to electronic equipment, and comprises the following steps:
step 110, the electronic device obtains the target attribute information of the target state information when detecting that the target state information meets the preset information prompt condition.
Step 120, the electronic device determines, based on the target attribute information, a target prompt area and a target prompt mode of the target state information on a screen of the electronic device.
And 130, the electronic equipment prompts the target state information in a target prompt mode on the target prompt area.
The target prompting mode comprises a target display color of a target prompting area and/or a target brightness display mode of the target prompting area.
In the embodiment of the invention, the target state information is prompted on the target prompt area by utilizing the display color of the target prompt area and/or the brightness display mode of the target prompt area corresponding to the target state information on the screen of the electronic equipment, so that the information prompt on the target state information can be realized in time, and the convenience of using the electronic equipment by a user is improved.
Wherein, the display color of the target is different from the display color of the target prompt area before the target state information is prompted, and the brightness display mode of the target is different from the brightness display mode of the target prompt area before the target state information is prompted.
In some embodiments, the target display color is different from the display color of the target alert area within a preset time period prior to the alert of the target state information. The target brightness display mode is different from the brightness display mode of the target prompt area in a preset time period before the target state information is prompted.
In the embodiment of the invention, the display color of the target is different from the display color of the target prompt area before the target state information is prompted, and the display mode of the target prompt area is different from the display mode of the target prompt area before the target state information is prompted, so that the display mode of the representative target prompt area is different before and after the target state information is prompted, and the clear prompt of the target state information can be realized. That is, the information prompt of the target state information can be realized simply and conveniently by directly changing the display color and/or the brightness display mode of the target prompt area on the screen of the electronic equipment.
And the signal prompt device is not required to be specially arranged, so that the waste of resources is avoided, the screen occupation ratio of the electronic equipment can be improved, and the use experience of a user on the electronic equipment is improved.
The specific implementation of each of steps 110-130 is described below.
First, a specific implementation of step 110 is described. In some embodiments of the present invention, the preset information prompt condition may include that an information type of the status information satisfies a preset information type.
For example, the preset information type may be information related to a remaining power of the electronic device, information related to a state of charge of the electronic device, or information related to an unread state of information received in the electronic device.
For another example, the preset information prompting condition may further include that the information source of the status information satisfies the preset information source. For example, the predetermined information source may be a predetermined application program.
In some embodiments of the invention, the target state information includes any one of the following: unread state information of a message received by an application program in the electronic equipment, missed state information of an incoming call received by the electronic equipment, electric quantity state information of the electronic equipment and charging state information of the electronic equipment.
The target state information may be other state information associated with the electronic device, which is acquired by the user when the user wants to do so, and is not particularly limited. For example, the target state information may also be information such as screen usage state information of the electronic device.
In some embodiments of the present invention, the target attribute information of the target state information may include an information source of the target state information. For example, the target state information is unread state information of a new message received by the application program a of the electronic device, and the information source of the target state information may be the application program a. If the target state information is charging state information, the information source of the target state information may be a charging state acquisition module. If the target state information is electric quantity state information, the information source of the target state information can be an electric quantity acquisition chip.
In other embodiments of the present invention, the target attribute information of the target state information may further include an information type of the target state information, identification information of the target state information, or the target state information itself, or the like.
A specific implementation of step 120 is described below. In some embodiments, the user may preset a first correspondence between attribute information and a prompt area, and a second correspondence between attribute information and a prompt area.
Then, the electronic device may use the prompt area corresponding to the attribute information matched with the target attribute information in the first correspondence relationship as a target prompt area of the target state information on the screen of the electronic device.
The electronic device may further use a prompting mode corresponding to the attribute information matched with the target attribute information in the second corresponding relationship as a target prompting mode of the target state information.
In other embodiments, in order to further improve accuracy of information prompt, the information prompt method provided by the embodiment of the present invention further includes: and acquiring the screen state of the electronic equipment. On this basis, step 120 includes step 1201. Step 1201, determining a target prompt area and a target prompt mode of target state information on a screen of the electronic device based on the screen state and the target attribute information.
When the screen state of the electronic device is a bright screen state, the display modes of the target prompt area may be different at different time points, so that in order to improve the accuracy of the prompt of the target state information, the target prompt area and the target prompt mode may be determined by combining the screen state of the electronic device.
In some embodiments, step 1201 specifically includes: step A to step D. And step A, determining a target prompt area of target state information corresponding to target attribute information on a screen of the electronic equipment based on a first corresponding relation between preset attribute information and the prompt area. And B, under the condition that the screen state is a bright screen state, acquiring a display mode of pixel points in a preset area taking the target prompt area as the center on the screen. The display mode of the pixel points comprises display brightness of the pixel points and/or display color of the pixel points. And C, determining a target prompt mode based on the display mode of the pixel points. And D, determining a prompting mode corresponding to the target attribute information as a target prompting mode in a second corresponding relation between the preset attribute information and the prompting mode under the condition that the screen state is the screen-off state.
In step a, a presentation area corresponding to the attribute information matched with the target attribute information in the first correspondence is used as a target presentation area of the target state information on the screen of the electronic device.
The first correspondence between the attribute information and the prompt area may be a correspondence preset by a user. As one example, the attribute information may be the state information itself. For example, if the user needs to prompt the remaining power of the electronic device. The user can set the correspondence between the different remaining battery status information and the prompt area. Namely, the first corresponding relation comprises the corresponding relation between the residual electric quantity state information and the prompt area.
Referring to fig. 2, when a user first uses the electronic device or when the electronic device receives a remaining battery state information prompt setting request, the electronic device displays first prompt information prompting whether the user performs prompt setting of the remaining battery state information. In addition, the first prompt message also comprises a first control and a second control, wherein the first control is displayed with prompt message "Yes" and the second control is displayed with prompt message "No".
And if the user clicks the first control, displaying a setting interface of the prompt area corresponding to the residual electric quantity state information, namely a setting interface of the first corresponding relation. In the setting interface of the first corresponding relation, the user can set different prompt areas for different residual electric quantity state information respectively.
As an example, if the display screen of the electronic device is a hole digging screen. The user may set the cue area to an annular area on the screen around the scoop.
As an example, referring to fig. 3, the screen around the leftmost cutout in fig. 3 is normally displayed, representing that the electronic device does not prompt for the state of charge information. The half-ring area on the screen around the hollowed-out part in the middle of fig. 3 is a corresponding prompt area when the residual electric quantity is 50%. The full-circle area on the screen around the hollowed-out part on the right side of fig. 3 is a prompt area corresponding to the electric quantity of the electronic equipment being 100%.
That is, the user can set different annular areas on the screen around the hollowed-out place for different state of charge information as the prompt area.
Note that, the prompt area may be any part of the area on the screen of the electronic device, and is not limited to the area around the hollowed-out portion. The information prompting method provided by the embodiment of the invention is not limited to being applied to electronic equipment with a hole digging screen, and is applicable to electronic equipment with a water drop screen, a Liu Haibing screen or a comprehensive screen. That is, the information prompting method provided by the embodiment of the invention is applicable only to the electronic device with the display screen with changeable display modes of the pixel points.
With continued reference to fig. 2, the user may also set a prompting manner for different remaining battery status information. The presentation means includes a display color of the presentation area and a brightness display means. The brightness display mode comprises display brightness of the prompt area and/or brightness display state of the prompt area. As one example, the brightness display state may be a different state of constant brightness, blinking, or the like.
After the user finishes setting the prompt areas and the prompt modes of the different residual electric quantity state information, the prompt configuration of the residual electric quantity state information is finished.
As another example, if the user desires to prompt the state of charge of the electronic device. The user may set the correspondence of the charge state information to the prompt area. Referring to fig. 4, when a user first uses the electronic device or when the electronic device receives a prompt setting request for the charge state information that the user needs to make, the electronic device displays second prompt information prompting whether the user makes a prompt setting for the charge state information. In addition, the second prompt message also comprises a third control and a fourth control, wherein the third control is displayed with prompt message "Yes" and the fourth control is displayed with prompt message "No".
And if the user clicks the third control, displaying a setting interface of the prompt area corresponding to the charging state information, namely a first corresponding relation setting interface. At the first correspondence setting interface, the user may set a prompt area for the charge state information.
As an example, the presentation area corresponding to the charge state information may be set as an annular area around the screen. With continued reference to fig. 4, the user may also set a prompting manner for the charge state information.
In another example, if the user needs to prompt the unread information of the electronic device, the user may set the corresponding relationship between the unread state information of the information received by the electronic device and the prompt area, and the specific setting manner is not described herein.
That is, if the attribute information of the state information of the electronic device is the state information itself, the user may set the correspondence between different state information and the presentation area.
In some embodiments, because the information sources of the different state information are different, in order to perform different prompting on the different state information so as to realize more accurate prompting, the target attribute information of the target state information may further include the information source of the target state information. The first correspondence includes a correspondence of information sources and alert areas.
The corresponding relation between the information source and the prompt area can be preset by a user. Referring to fig. 5, when the user first uses the electronic device or receives a request for setting the correspondence between the information sources and the prompt area, third prompt information is displayed.
The third prompting information is used for prompting whether the user self-defines to prompt and set the state information of different information sources in the screen-off state. In addition, the third prompt message also comprises a fifth control and a sixth control, wherein the fifth control is displayed with prompt message "Yes" and the sixth control is displayed with prompt message "No".
And if the user clicks the fifth control, displaying a corresponding relation setting interface. In the corresponding relation setting interface, the user can set corresponding prompt areas and prompt modes for different information sources respectively.
The information sources can be different information sources such as video application programs, social application programs, short message application programs, incoming call application programs, charging state acquisition modules or electric quantity state acquisition modules.
It should be noted that, the first correspondence relationship and the second correspondence relationship may also be preset by a developer. If the user clicks the second control, the fourth control or the sixth control, the user does not define the first corresponding relation and the second corresponding relation, and the target prompt area and the target prompt mode can be determined by using the first corresponding relation and the second corresponding relation which are stored in the electronic device in advance.
In step B, if the screen state is a bright screen state, in order to improve the accuracy of information presentation, a display mode having a clear contrast with a display mode of a surrounding area of the target presentation area is used as the target presentation mode of the target state information.
The display mode of the target prompt area and the surrounding area thereof can be embodied by the display mode of the pixel points in the preset area taking the target prompt area as the center on the screen. The number of the pixel points in the preset area may be one or more.
In step C, a display mode capable of distinguishing the target presenting area from the display modes of the surrounding areas and clearly distinguishing the display mode from the original display mode of the target presenting area can be determined as the target presenting mode by using the display mode of each pixel point in at least one pixel point in the preset area centering on the target presenting area before presenting the target state information.
As an example, if the brightness of each pixel point in the preset area centered on the target presenting area is I1 and the display color of each pixel point is blue before presenting the target state information, the display brightness of the target presenting area may be set to I2, where I2 is greater than I1 and the display color of the target presenting area is set to red, thereby achieving the purpose of being able to present the user.
In step D, if the screen state is the screen-off state, the display brightness of all the pixels on the screen is very low, so in order to quickly determine the target prompting mode, the prompting mode corresponding to the target attribute information in the second correspondence between the preset attribute information and the prompting mode can be determined as the target prompting mode.
When the target presentation area does not need to be presented with information, the area may be displayed normally.
In some embodiments, the target attribute information of the target state information includes an information source of the target state information. The first correspondence between the attribute information and the prompt area includes a correspondence between the information source and the prompt area. The second corresponding relation between the attribute information and the prompting mode comprises a corresponding relation between an information source and the prompting mode.
The information prompting method provided by the embodiment of the invention is described below with reference to a specific example. Referring to fig. 6, in the case where the electronic device detects that a message received by the application B is in an unread state, the electronic device detects unread state information satisfying the preset information prompting condition. The electronic device then obtains the information source of the unread state information, application B.
Then, the electronic device uses the prompt area corresponding to the application program B as a target prompt area of target state information on a screen of the electronic device based on the corresponding relation between the information source and the prompt area.
Then, the electronic equipment acquires the electronic equipment and judges whether the screen state of the electronic equipment is a screen-off state or not. If the screen state of the electronic equipment is the screen-off state, the corresponding prompting mode when the information source is the application program B is taken as the target prompting mode based on the corresponding relation between the information source and the prompting mode. The target prompting mode may include a display color and a display brightness of the target prompting area.
It is assumed that the presentation areas corresponding to the application program a and the application program B are annular areas around the screen. However, the display color of the presentation area in the presentation mode corresponding to the application program a is blue, and the display color of the presentation area in the presentation mode corresponding to the application program B is orange. The unread state information from different application programs can be respectively prompted by different prompting modes corresponding to different information sources.
Finally, on the prompting area (i.e., the target prompting area) corresponding to the application program B, the unread state information (i.e., the target state information) of the information received from the application program B is prompted in a prompting manner (i.e., the target prompting manner) corresponding to the application program B, so as to prompt the user that the application program receives a new message and is in an unread state.
Referring to fig. 7, the annular area around the hole digging screen on the left in fig. 7 is displayed in a first color (e.g., red), which is the normal display color of the annular area. The annular area around the screen in the middle of fig. 7 is displayed in a second color (e.g., blue) to indicate unread status information of the message received by application a. The annular area around the screen in fig. 7 is displayed in a third color (e.g., orange) to indicate unread status information of the message received by application B.
If the screen state of the electronic device is a bright screen state, the electronic device determines a target prompting mode by using a mode of pixels in a preset area with a target prompting area as a center on the screen before prompting the target state information, namely, determines a target prompting mode by using a current display mode of the target prompting area and surrounding areas on the screen.
Then, on the presentation area (i.e., the target presentation area) corresponding to the application program B, the unread status information of the information received from the application program B is presented in a target presentation mode in which the display mode of the screen has a significant contrast before presenting the target status information.
In some embodiments of the present invention, in order not to affect the normal use of the electronic device by the user, a target prompting duration for the target state information may be set. Because the importance degrees of different target state information are different, different target prompt time lengths can be set for different target state information according to the importance degrees of the target state information in order to further improve the use convenience of users on the electronic equipment.
In some embodiments of the present invention, the target prompting mode of the target state information further includes a target prompting duration of the target state information, where the target prompting duration is determined based on the priority associated with the target state information.
Wherein the priority of the target state information is used for representing the importance degree of the target state information. The priority associated with the target state information can be preset by the user according to the requirement of the user. Wherein, the target prompt time length is proportional to the priority of the target state information. That is, if the priority associated with the target state information is higher, the target presentation duration corresponding to the target state information is longer.
As an example, for unread information of some office applications or information with low power, etc. which is important for users, and needs to be processed in time, a higher priority may be set for the status information.
If the priority associated with the target state information is higher, the target state information needs to be paid attention to by the representative user, so that important prompt needs to be carried out on the target state information, the target prompt time of the target state information can be prolonged, and the convenience of the user for using the electronic equipment is improved.
In some embodiments of the present invention, a user may have a need to prompt for multiple pieces of target state information simultaneously. For example, a user may want to present the battery state information and may want to present unread state information of information received from an application. In order to meet the requirement of more information prompt of the user, when the number of the target state information is multiple, the target prompt areas of any two target state information are different for any two target state information, and/or the target prompt modes of any two target state information are different.
By setting that the target prompt areas of the two target state information are different and/or the target prompt modes of the two target state information are different, different modes of prompt can be carried out on the different target state information, and the prompt requirement of a user is met.
Fig. 8 shows a schematic structural diagram of an electronic device 800 according to an embodiment of the present invention. As shown in fig. 8, the electronic device 800 includes:
the information obtaining module 810 is configured to obtain target attribute information of the target state information and obtain target attribute information of the target state information when it is detected that the target state information meets a preset information prompting condition.
The determining module 820 is configured to determine, based on the target attribute information, a target prompt area and a target prompt mode of the target state information on a screen of the electronic device.
The prompting module 830 is configured to prompt, on the target prompting area, the target state information in a target prompting manner.
The target prompting mode comprises a target display color of a target prompting area and/or a target brightness display mode of the target prompting area.
In the embodiment of the invention, the target state information is prompted on the target prompt area by utilizing the display color of the target prompt area and/or the brightness display mode of the target prompt area corresponding to the target state information on the screen of the electronic equipment, so that the information prompt on the target state information can be realized in time, and the convenience of using the electronic equipment by a user is improved.
In some embodiments of the invention, the electronic device 800 further comprises:
and the screen state acquisition module is used for acquiring the screen state of the electronic equipment.
Wherein the determining module 820 includes:
and the first determining unit is used for determining a target prompt area and a target prompt mode of the target state information on the screen of the electronic equipment based on the screen state and the target attribute information.
In some embodiments of the invention, the first determining unit comprises:
the target prompt area determining subunit is configured to determine, based on a first correspondence between preset attribute information and a prompt area, a target prompt area of target state information corresponding to the target attribute information on a screen of the electronic device.
The display mode obtaining subunit is configured to obtain, when the screen state is a bright screen state, a display mode of a pixel point in a preset area on the screen with the target prompt area as a center. The display mode of the pixel points comprises display brightness of the pixel points and/or display color of the pixel points.
And the target prompt mode determining subunit is used for determining the target prompt mode based on the display mode of the pixel points.
And the target prompt mode determining subunit is further configured to determine, as the target prompt mode, a prompt mode corresponding to the target attribute information in a second correspondence between preset attribute information and the prompt mode when the screen state is the screen-off state.
In some embodiments of the present invention, the target alert mode further includes a target alert duration of the target state information, the target alert duration being determined based on a priority associated with the target state information.
In some embodiments of the present invention, in the case where the number of target state information is plural, the target prompt areas of any two target state information are different for any two target state information, and/or the target prompt manners of any two target state information are different.
The electronic device provided in the embodiment of the present invention can implement each process in the method embodiments of fig. 1 to 7, and in order to avoid repetition, a description is omitted here.
Fig. 9 is a schematic hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device 900 includes, but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor 910, and power source 911. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
The processor 910 is configured to obtain target attribute information of the target state information when it is detected that the target state information meets a preset information prompting condition, and obtain target attribute information of the target state information; determining a target prompt area and a target prompt mode of target state information on a screen of the electronic equipment based on the target attribute information; and prompting the target state information in a target prompting mode on the target prompting area. The target prompting mode comprises a target display color of a target prompting area and/or a target brightness display mode of the target prompting area.
In the embodiment of the invention, the target state information is prompted on the target prompt area by utilizing the display color of the target prompt area and/or the brightness display mode of the target prompt area corresponding to the target state information on the screen of the electronic equipment, so that the information prompt on the target state information can be realized in time, and the convenience of using the electronic equipment by a user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station and then processing the downlink data by the processor 910; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 may also communicate with networks and other devices via a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 902, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 900. The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive an audio or video signal. The input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, the graphics processor 9041 processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphics processor 9041 may be stored in memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 901 in the case of a telephone call mode.
The electronic device 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 9061 and/or the backlight when the electronic device 900 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 905 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 906 is used to display information input by a user or information provided to the user. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 is operable to receive input numeric or character information, and to generate key signal inputs related to user settings and function controls of the electronic device. In particular, the user input unit 907 includes a touch panel 9071 and other input devices 9072. Touch panel 9071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (such as operations of the user on touch panel 9071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, and receives and executes commands sent by the processor 910. In addition, the touch panel 9071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 907 may also include other input devices 9072 in addition to the touch panel 9071. In particular, other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 910 to determine a type of touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of touch event. Although in fig. 9, the touch panel 9071 and the display panel 9061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 908 is an interface to which an external device is connected to the electronic apparatus 900. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 900 or may be used to transmit data between the electronic apparatus 900 and an external device.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 909 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 909, and calling data stored in the memory 909, thereby performing overall monitoring of the electronic device. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 910.
The electronic device 900 may also include a power supply 911 (e.g., a battery) for powering the various components, and the power supply 911 may preferably be logically coupled to the processor 910 by a power management system, such as to perform charge, discharge, and power consumption management functions.
In addition, the electronic device 900 includes some functional modules that are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, further including a processor 910, a memory 909, and a computer program stored in the memory 909 and capable of running on the processor 910, where the computer program when executed by the processor 910 implements each process of the above information prompting method embodiment, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the information prompting method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (8)
1. An information prompting method applied to electronic equipment, which is characterized by comprising the following steps:
acquiring target attribute information of target state information under the condition that the target state information is detected to meet preset information prompt conditions, wherein the target state information comprises state information of the electronic equipment;
acquiring a screen state of the electronic equipment, wherein the screen state comprises a bright screen state and a screen-off state;
determining a target prompt area and a target prompt mode of the target state information on a screen of the electronic equipment based on the screen state and the target attribute information;
prompting the target state information in the target prompting area in the target prompting mode;
The target prompt mode comprises a target display color of the target prompt area and/or a target brightness display mode of the target prompt area.
2. The method of claim 1, wherein the determining a target hint area and a target hint manner for the target state information on a screen of the electronic device based on the screen state and the target attribute information comprises:
determining a target prompt area of the target state information corresponding to the target attribute information on a screen of the electronic equipment based on a first corresponding relation between preset attribute information and the prompt area;
acquiring a display mode of pixel points in a preset area taking the target prompt area as the center on the screen under the condition that the screen state is a bright screen state; the display mode of the pixel points comprises display brightness of the pixel points and/or display color of the pixel points;
determining the target prompting mode based on the display mode of the pixel point;
and under the condition that the screen state is a screen-off state, determining a prompting mode corresponding to the target attribute information as the target prompting mode in a second corresponding relation between preset attribute information and the prompting mode.
3. The method of claim 1, wherein the target alert style further comprises a target alert duration for the target state information, the target alert duration being determined based on a priority associated with the target state information.
4. The method according to claim 1, wherein in the case where the number of the target state information is plural, target presentation areas of any two of the target state information are different, and/or target presentation manners of any two of the target state information are different.
5. An electronic device, the electronic device comprising:
the information acquisition module is used for acquiring target attribute information of target state information under the condition that the target state information is detected to meet preset information prompt conditions, wherein the target state information comprises state information of the electronic equipment;
the screen state acquisition module is used for acquiring the screen state of the electronic equipment, wherein the screen state comprises a bright screen state and a screen-off state;
the determining module is used for determining a target prompt area and a target prompt mode of the target state information on the screen of the electronic equipment based on the screen state and the target attribute information;
The prompting module is used for prompting the target state information in the target prompting mode on the target prompting area;
the target prompt mode comprises a target display color of the target prompt area and/or a target brightness display mode of the target prompt area.
6. The electronic device of claim 5, wherein the determination module comprises:
a target prompt area determining subunit, configured to determine a target prompt area of the target state information corresponding to the target attribute information on a screen of the electronic device, based on a first correspondence between preset attribute information and a prompt area;
a display mode obtaining subunit, configured to obtain, when the screen state is a bright screen state, a display mode of a pixel point in a preset area on the screen with the target prompt area as a center; the display mode of the pixel points comprises display brightness of the pixel points and/or display color of the pixel points;
a target prompt mode determining subunit, configured to determine the target prompt mode based on a display mode of the pixel point;
the target prompting mode determining subunit is further configured to determine, as the target prompting mode, a prompting mode corresponding to the target attribute information in a second correspondence between preset attribute information and a prompting mode when the screen state is a screen-off state.
7. The electronic device of claim 5, wherein the target alert style further comprises a target alert duration for the target state information, the target alert duration being determined based on a priority associated with the target state information.
8. The electronic device according to claim 5, wherein in a case where the number of the target state information is plural, target presentation areas of any two of the target state information are different, and/or target presentation manners of any two of the target state information are different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010335126.XA CN111596986B (en) | 2020-04-24 | 2020-04-24 | Information prompting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010335126.XA CN111596986B (en) | 2020-04-24 | 2020-04-24 | Information prompting method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111596986A CN111596986A (en) | 2020-08-28 |
CN111596986B true CN111596986B (en) | 2024-04-02 |
Family
ID=72182014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010335126.XA Active CN111596986B (en) | 2020-04-24 | 2020-04-24 | Information prompting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111596986B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115514841A (en) * | 2021-06-10 | 2022-12-23 | 荣耀终端有限公司 | Method, device, chip and storage medium for prompting device power information |
CN114218456A (en) * | 2021-12-21 | 2022-03-22 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371789A (en) * | 2016-09-30 | 2017-02-01 | 维沃移动通信有限公司 | Method for displaying prompt message in application program, and mobile terminal |
CN107786416A (en) * | 2016-08-25 | 2018-03-09 | 腾讯科技(深圳)有限公司 | Information processing method and device |
CN110928407A (en) * | 2019-10-30 | 2020-03-27 | 维沃移动通信有限公司 | Information display method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108122528A (en) * | 2017-12-13 | 2018-06-05 | 广东欧珀移动通信有限公司 | Display control method and related product |
-
2020
- 2020-04-24 CN CN202010335126.XA patent/CN111596986B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107786416A (en) * | 2016-08-25 | 2018-03-09 | 腾讯科技(深圳)有限公司 | Information processing method and device |
CN106371789A (en) * | 2016-09-30 | 2017-02-01 | 维沃移动通信有限公司 | Method for displaying prompt message in application program, and mobile terminal |
CN110928407A (en) * | 2019-10-30 | 2020-03-27 | 维沃移动通信有限公司 | Information display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111596986A (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110995923B (en) | Screen projection control method and electronic equipment | |
CN108234289B (en) | Message display method and device and mobile terminal | |
CN108491123B (en) | Method for adjusting application program icon and mobile terminal | |
CN107734179A (en) | A kind of message prompt method, mobile terminal | |
CN110062105B (en) | Interface display method and terminal equipment | |
CN108279948B (en) | Application program starting method and mobile terminal | |
CN109523253B (en) | Payment method and device | |
CN111130989B (en) | Information display and sending method and electronic equipment | |
CN110752981B (en) | Information control method and electronic equipment | |
CN110750189B (en) | Icon display method and device | |
CN108881617B (en) | Display switching method and mobile terminal | |
CN109189303B (en) | Text editing method and mobile terminal | |
CN108196781B (en) | Interface display method and mobile terminal | |
CN110096203B (en) | Screenshot method and mobile terminal | |
CN111459362A (en) | Information display method, information display device, electronic apparatus, and storage medium | |
CN109246298B (en) | Information prompting method and mobile terminal | |
CN109982273B (en) | Information reply method and mobile terminal | |
CN111596986B (en) | Information prompting method and electronic equipment | |
CN110929273A (en) | Permission setting method and electronic equipment | |
CN110784394A (en) | Prompting method and electronic equipment | |
CN108093119B (en) | Strange incoming call number marking method and mobile terminal | |
CN107967086B (en) | Icon arrangement method and device for mobile terminal and mobile terminal | |
CN110740265B (en) | Image processing method and terminal equipment | |
CN110099170B (en) | Picture deleting method and mobile terminal | |
CN109660657B (en) | Application program control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |