CN108600498B - Information prompting method and device - Google Patents
Information prompting method and device Download PDFInfo
- Publication number
- CN108600498B CN108600498B CN201810162360.XA CN201810162360A CN108600498B CN 108600498 B CN108600498 B CN 108600498B CN 201810162360 A CN201810162360 A CN 201810162360A CN 108600498 B CN108600498 B CN 108600498B
- Authority
- CN
- China
- Prior art keywords
- information
- area
- application program
- prompted
- suspension
- 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 66
- 239000000725 suspension Substances 0.000 claims abstract description 98
- 238000007667 floating Methods 0.000 claims description 111
- 238000001514 detection method Methods 0.000 claims description 7
- 238000005096 rolling process Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an information prompting method and a device, wherein the method comprises the following steps: when a first application program is in a foreground running state, detecting whether to receive information to be prompted of a second application program; if the information to be prompted of the second application program is received, displaying the information to be prompted in a suspending mode on a current display interface; and the position of the suspension area of the suspension display on the current display interface can be adjusted. In the invention, the information to be prompted is displayed in a suspension display mode, and the position of the suspension area can be adjusted, so that the area originally shielded by the suspension area can be displayed by moving the position of the suspension area during the period of displaying the information to be prompted in the current display interface, the normal operation of a user on the mobile terminal is facilitated, and the operation experience of the user is improved.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to an information prompting method and device.
Background
With the continuous development of science and technology, mobile terminals such as mobile phones and tablet computers are widely applied to the work and life of people. For example, people may use mobile terminals to watch videos, chat, browse web pages, and the like. When a user is opening an application on a mobile terminal, such as a video player, a browser, etc., another application installed on the mobile terminal may generate a prompt or receive information sent by another user.
In the prior art, in order to facilitate a user to view or reply information of another application program in time, the information is displayed on the top of an interface of a currently opened application program of a mobile terminal. As shown in fig. 1(a) and 1(b), fig. 1(a) shows that the user is editing the short message, and if the user receives the message of the short message, the message is displayed at the top of the current interface, as shown in fig. 1 (b).
However, if a plurality of pieces of information are continuously received or the information is relatively long, the information is always displayed at the top of the interface of the currently opened application, and a part of the functional area at the top of the currently opened interface may be blocked, for example, in the case shown in fig. 1(a) and fig. 1(b), two operation objects of "cancel" and "+" on the currently opened interface are blocked during the period of displaying the information, which affects the normal operation of the mobile terminal.
In summary, in the information prompting method in the prior art, during the period when the prompting information of another application program is displayed in the interface of the application program currently being opened, part of the operation object on the interface currently being opened by the mobile terminal may be shielded by the prompting information, so that the normal operation of the mobile terminal is affected.
Disclosure of Invention
The embodiment of the invention provides an information prompting method and device, and aims to solve the problem that in the prior art, during the period of displaying prompting information of other application programs in an interface of a currently opened application program, part of operation objects on the interface of the currently opened application program of a mobile terminal are possibly shielded by the prompting information, so that the normal operation of the mobile terminal is influenced.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an information prompting method is provided, and the method includes:
when a first application program is in a foreground running state, detecting whether to receive information to be prompted of a second application program;
if the information to be prompted of the second application program is received, displaying the information to be prompted in a suspending mode on a current display interface; and the position of the suspension area of the suspension display on the display interface can be adjusted.
In a second aspect, an information prompting device is provided, which includes:
the detection module is used for detecting whether to receive information to be prompted of a second application program when the first application program is in a foreground running state;
the display module is used for displaying the information to be prompted in a floating mode on a current display interface if the information to be prompted of the second application program is received; and the position of the suspension area of the suspension display on the current display interface can be adjusted.
In a third aspect, a mobile terminal is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the information prompting method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the information prompting method according to the first aspect.
In the embodiment of the invention, when the first application program is in the foreground running state, if the information to be prompted of the second application program is received, the information to be prompted is displayed in a suspending manner on the current display interface, and the position of a suspending area displayed in a suspending manner on the current display interface can be adjusted; through the mode with the suspension demonstration show treat the reminder information, the position in suspension region can be adjusted, shows the period of treating the reminder information in present display interface like this, can be through removing the position in suspension region for the region that originally is sheltered from by the suspension region can show, and the user of being convenient for normally operates on mobile terminal, has improved user's operation experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1(a) is an interface schematic diagram of a short message editing interface in the prior art.
Fig. 1(b) is a schematic interface diagram of a case where a micro message is received when editing a message in the prior art.
Fig. 2 is a flow chart of a first method of an information prompting method according to an embodiment of the present invention.
Fig. 3(a) is a schematic diagram of a first interface for displaying information to be prompted of a second application according to an embodiment of the present invention.
Fig. 3(b) is a schematic diagram of a second interface for displaying information to be prompted of a second application according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of an interface for a user to perform a two-finger zoom operation on a hover region, in accordance with an embodiment of the present invention.
Fig. 5 is a schematic diagram of a third interface for displaying information to be prompted of a second application according to an embodiment of the present invention.
Fig. 6 is a flow chart of a second method of a method for prompting information according to an embodiment of the present invention.
Fig. 7 is a flow chart of a third method of prompting information according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of an information prompt apparatus according to an embodiment of the present invention.
Fig. 9 is a schematic hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an information prompting method which can be applied to a mobile terminal, such as a mobile phone, a tablet computer and the like. Fig. 2 is a flowchart of a first method of an information prompting method according to an embodiment of the present invention, where the method shown in fig. 2 at least includes the following steps:
s102, when the first application program is in a foreground running state, whether to-be-prompted information of the second application program is received or not is detected.
The first application program is any one application program installed on the mobile terminal, such as: browsers, video players, etc.; the second application program is any application program installed on the mobile terminal except the first application program.
For example, if the first application is the love art, the second application is any application on the mobile terminal except the love art.
Specifically, the first application is in a foreground running state, which means that the first application is in an open state and runs in the foreground, that is, a currently open page of the first application is currently displayed on the screen of the mobile terminal.
In the embodiment of the present invention, the information to be prompted of the second application program may be information that the second application program receives from other mobile terminals, for example, information of WeChat and short message sent by other mobile terminals, or information that the second application program generates by itself, for example, push information; or, the second application program may be a reminder event set by the user on the second application program.
The execution main body of the information prompting method provided by the embodiment of the invention is an information prompting device, and when the second application program receives or generates the information to be prompted, the information to be prompted is sent to the information prompting device.
The information prompting device can detect whether to receive the information to be prompted of the second application program in real time or at preset time intervals.
S104, if the information to be prompted of the second application program is received, displaying the information to be prompted in a floating mode on the current display interface; and the position of the suspension area of the suspension display on the current display interface can be adjusted.
In the embodiment of the invention, the information to be prompted can be displayed in a floating manner at any position on the current display interface. Wherein the current display interface refers to an interface currently being opened by the first application program.
The method comprises the following steps of (1) displaying information to be prompted in a suspension mode on a current display interface, wherein the information to be prompted specifically comprises the following steps (1) and (2);
(1) generating a suspension area on the current display interface;
(2) and displaying the information to be prompted in the suspension area.
The shape of the floating region may be any shape such as a circle, an ellipse, or a rectangle.
In step S104, the information to be presented is displayed in a floating manner on the current display interface, and the information to be presented may be displayed in a floating manner in a rolling manner in the floating area.
The scrolling display of the information to be prompted means that one line or a plurality of lines of information to be prompted is displayed in the suspension area each time, after the preset time length, the currently displayed one line or a plurality of lines of information to be prompted disappears, and the subsequent content of the information to be prompted is continuously displayed.
In the embodiment of the invention, the information to be prompted is displayed in the suspension area in a scrolling display mode, and when the content of the information to be prompted is more, the information to be prompted can be completely displayed without a larger suspension area, so that the area of the screen occupied by the suspension area is smaller, namely the area covering the interface of the first application program currently displayed on the screen is smaller, and the visual effect of a user is better.
For example, in a specific embodiment, the first application currently being opened on the mobile terminal is a short message, the current display interface may be a short message editing interface, if a second application (e.g. a WeChat) installed on the mobile terminal receives information sent by another user, for example, the information content is "hel lo", the information is displayed in a floating manner on the current display interface of the mobile terminal, and a display interface schematic diagram is shown in fig. 3 (a).
In the embodiment of the invention, the position of the floating area on the current display interface can be adjusted, and a user can realize the operation on the operation object arranged at the lower layer of the floating area by adjusting the position of the floating area. If the floating area displayed on the current display interface just covers some operation objects on the current display interface, when the user needs to perform operations on the operation objects, the position of the floating area on the current display interface can be adjusted, so that the operation objects which are covered by the floating area can be displayed on the current display interface.
Continuing with the above example, in fig. 3(a), two operation objects of "cancel" and "+" on the short message editing interface are blocked by the floating area, and in the period of displaying the information to be prompted, the user cannot perform operations on the two operation objects, so that the functions corresponding to the two operation objects cannot be used normally. Therefore, in the embodiment of the present invention, when the user needs to use the functions corresponding to the two operation objects, the floating area may be adjusted to other positions on the display screen, as shown in fig. 3(b), so that the two operation objects of "cancel" and "+" on the short message editing interface can be displayed on the current display interface, which is convenient for the user to operate.
In the embodiment of the invention, when the user adjusts the position of the floating area, the floating area can be directly dragged. The suspension area is dragged to the position to be placed by dragging the suspension area, and the operation is simple and convenient.
In the embodiment of the present invention, in order to improve user experience, the size of the floating area on the current display interface and the number of lines of the information to be prompted that can be displayed in the floating area may also be adjusted, which specifically includes:
and adjusting the size of the suspension area and/or the display line number of the information to be prompted in the suspension area according to a fifth operation executed by the user on the suspension area or the current display interface.
The fifth operation may be a sliding operation performed on the current display interface, or may be a two-finger zoom operation performed on the hover area.
In one embodiment, the user may resize the hover region by performing a two-finger zoom operation on the hover region. Fig. 4 is a schematic interface diagram illustrating a user performing a two-finger zoom operation on a hover region according to an embodiment of the present invention, where two fingers are respectively placed at different positions of a border of the hover region, the area of the hover region may be increased by sliding the two fingers outward, and the area of the hover region may be decreased by sliding the two fingers inward. In this case, the user may increase or decrease the hover region from different directions. For example, the height of the floating area can be adjusted by respectively placing two fingers on the upper frame and the lower frame of the floating area; the width of the floating area can be adjusted by respectively placing the two fingers on the left frame and the right frame of the floating area.
In another embodiment, the user may further perform a sliding operation on the current display interface to adjust the size of the hover region and the number of display lines of the information to be prompted in the hover region. For example, a user performs a vertical sliding operation on the current display interface to adjust the size of the floating area; and the user executes left-right sliding operation on the current display interface to adjust the display line number of the information to be prompted in the suspension area.
Specifically, when the fifth operation is executed on the current display interface, the size of the suspension area may be adjusted independently, the number of display lines of the information to be prompted in the suspension area may also be adjusted independently, or the size of the suspension area and the number of display lines of the information to be prompted in the suspension area may be adjusted simultaneously.
For example, when the user performs the two-finger zoom operation on the current display interface, the size of the hover region and the number of display lines of the information to be prompted in the hover region may be adjusted at the same time. For example, two fingers are respectively arranged at different positions of a frame of the floating area, the area of the floating area can be increased by sliding the two fingers outwards, and the display line number of the information to be prompted in the floating area is increased; the area of the floating area can be reduced by sliding the two fingers inwards, and the display line number of the information to be prompted in the floating area is reduced.
In the embodiment of the invention, the size of the suspension area and/or the number of display lines of the information to be prompted in the suspension area can be adjusted, and a user can adjust the size of the suspension area and/or the number of display lines of the information to be prompted in the suspension area according to actual requirements, so that the size of the suspension area and/or the information to be prompted in the suspension area are presented on the current interface in a better way, and the user experience is better.
In this embodiment of the present invention, after the floating area is displayed on the currently opened interface of the first application, the user may further perform an operation on the floating area, which specifically includes:
responding to the first operation in the floating area, and executing an operation event corresponding to an operation object positioned at the lower layer of the floating area; or responding to the second operation on the floating area, and switching the current foreground running application program to the second application program.
For example, in a specific embodiment, the first operation may be a click operation, and the second operation may be a long-press operation.
In the embodiment of the present invention, if the operation object is disposed at the lower layer of the floating area, for example, in the case shown in fig. 3(a), the operation object "cancel" and "+" on the short message editing interface are blocked by the floating area and disposed at the lower layer of the floating area. In this case, when the user performs the second operation on the hover area, the mobile terminal switches the currently foreground-running application to the second application, and when the user performs the first operation on the hover area, performs the operation event corresponding to the operation located at the lower layer of the hover area, that is, performs the operation event corresponding to "cancel" or "+".
Specifically, in the above embodiment, two operation objects, namely "cancel" and "+" are provided at the lower layer of the hover area, and when the user performs the first operation on the hover area, the operation event corresponding to "cancel" or "+" is specifically performed, which may be determined according to the position where the user performs the first operation. If the first operation executed by the user is positioned above the operation object 'cancel', executing an operation event corresponding to 'cancel'; and if the first operation executed by the user is positioned above the operation object "+", executing the operation event corresponding to the "+".
In the embodiment of the invention, the mobile terminal can be triggered to execute different events by executing different operations on the floating area, so that a user can execute corresponding operations on the floating area according to the events triggered by actual needs, the operation is simple and convenient, and the rapid switching of the application program currently running in the foreground can be realized, thereby facilitating the user operation.
In another embodiment of the present invention, when the user performs an operation in the hover region, whether to perform a corresponding process on an operation object below the hover region or to switch the currently foreground-running application to the second application may be determined according to a preset condition.
For example, the preset condition may be that the transparency of the floating area reaches a certain preset value; of course, other conditions are also possible.
In a specific embodiment, when the user performs a third operation in the hovering area, in response to the third operation in the hovering area, detecting whether the current transparency of the hovering area is greater than a first preset value; and if so, executing the operation event corresponding to the operation object positioned at the lower layer of the floating area.
And if the transparency of the floating area is less than or equal to the first preset value, switching the current foreground running application program to a second application program.
The third operation may be a long press operation or the like.
The value of the first preset value can be set according to practical application. For example, the first preset value may be 100%, that is, when the transparency of the floating area is 100%, if the user performs the third operation on the floating area, the mobile terminal performs an operation event corresponding to an operation object located in a lower layer of the floating area; if the transparency of the floating area is less than or equal to 100%, then, if the user executes the third operation on the floating area, the mobile terminal switches the currently running foreground application program to the second application program.
For example, on the interface shown in fig. 3(a), the current floating area is opaque, and at this time, if the user performs the third operation on the floating area, the mobile terminal switches the application program currently running in the foreground to the second application program; if the transparency of the floating area reaches 100%, that is, completely transparent, at this time, the operation object in the lower layer of the floating area may be displayed on the current display interface, as shown in fig. 5, if the user performs the third operation on the floating area, at this time, the mobile terminal performs the operation event corresponding to "cancel" or "+" of the operation object in the lower layer of the floating area.
In the embodiment of the invention, the current transparency of the floating area is compared with the set first preset value to judge whether the current foreground running application program is switched to the second application program or the operation event corresponding to the operation object positioned at the lower layer of the floating area is executed, so that the method and the device are simple and convenient, and the user can intuitively display which kind of processing can be executed by the current mobile terminal so as to conveniently make corresponding adjustment, and the user experience effect is better.
In addition, in the embodiment of the present invention, if the transparency of the floating area is less than or equal to the first preset value, when the user performs the third operation in the floating area, the user may also directly edit the characters in the floating area, for example, the user may directly reply the message or mark, copy, cut, and the like some characters in the message. Therefore, the user can realize the processing of the information to be prompted without switching the current foreground running application sequence to the second application program, so that the operation of the user is more convenient.
In this embodiment of the present invention, before detecting whether the current transparency of the floating area is greater than the first preset value in response to the third operation in the floating area, the method provided in this embodiment of the present invention further includes:
and adjusting the transparency of the floating area according to a fourth operation executed by the user on the floating area or the current display interface.
The fourth operation may be a long press operation, a slide operation, or the like.
If the floating area displayed on the current display interface is the opaque floating area, at this time, the operation object placed on the lower layer of the floating area is blocked, and when the user needs to execute the operation event corresponding to the operation object located on the lower layer of the floating area, the transparency of the floating area needs to be adjusted, so that the transparency of the floating area is greater than the first preset value.
If the floating area displayed on the current display interface is the transparent floating area, when a user needs to execute relevant processing such as switching the currently running foreground application program to a second application program or editing characters in the floating area on the mobile terminal, the transparency of the floating area needs to be adjusted so that the transparency of the floating area is smaller than a first preset value.
Specifically, in the embodiment of the present invention, a user may press the floating area for a long time to adjust the transparency of the floating area; or, the transparency of the floating area may be adjusted by performing a sliding operation on the current display interface of the mobile terminal.
In the embodiment of the invention, the transparency of the floating area can be adjusted by executing the fourth operation on the floating area or the current display interface, so that the operation is simple and convenient, and the user can conveniently execute the operation.
In addition, the method provided by the embodiment of the invention further comprises the following steps:
and hiding the floating area according to a sixth operation executed by the user on the floating area or the current display interface.
In the embodiment of the present invention, after the user temporarily does not want to see the information to be prompted or knows the content of the information to be prompted, the floating area may be selected to be hidden so as not to affect the use of the current first application program, which may improve the use experience of the user.
Specifically, the sixth operation may be a double-click operation on the hover area, a slide operation on the current display interface, or the like.
Fig. 6 is a flowchart of a second method of an information prompting method according to an embodiment of the present invention, where the method shown in fig. 6 is applied to a mobile terminal, and the method shown in fig. 6 at least includes the following steps:
s202, when the first application program is in a foreground running state, detecting whether to receive information to be prompted of a second application program; if yes, go to step S204;
the second application program is any application program except the first application program on the mobile terminal.
S204, generating a suspension area on the current display interface;
s206, displaying the information to be prompted in a rolling mode in the suspension area;
s208, according to a fourth operation executed by the user on the floating area or the screen, the transparency of the floating area is adjusted;
and S210, when the current transparency of the floating area is greater than the first preset value, if it is detected that the user executes a third operation at the floating area, executing an operation event corresponding to an operation object located at the lower layer of the floating area.
Fig. 7 is a flowchart of a third method of an information prompting method according to an embodiment of the present invention, where the method shown in fig. 7 is applied to a mobile terminal, and the method shown in fig. 7 at least includes the following steps:
s302, when the first application program is in a foreground running state, detecting whether to receive information to be prompted of a second application program; if yes, go to step S304;
the second application program is any application program except the first application program on the mobile terminal.
S304, generating a suspension area on the current display interface;
s306, displaying the information to be prompted in a rolling mode in the suspension area;
s308, if the transparency of the current suspension area is smaller than a first preset value, when the fact that a user performs dragging operation on the suspension area is detected, the position of the suspension area on the current display interface is moved;
s310, when the operation object originally placed on the lower layer of the suspension area is not shielded by the suspension area and the user is detected to execute the operation on the operation object, executing the operation event corresponding to the operation object.
According to the information prompting method provided by the embodiment of the invention, when the first application program is in the foreground running state, if the information to be prompted of the second application program is received, the information to be prompted is displayed in a suspending manner on the current display interface, and the position of a suspending area displayed in a suspending manner on the current display interface can be adjusted; through the mode with the suspension demonstration show treat the reminder information, the position in suspension region can be adjusted, shows the period of treating the reminder information in present display interface like this, can be through removing the position in suspension region for the region that originally is sheltered from by the suspension region can show, and the user of being convenient for normally operates on mobile terminal, has improved user's operation experience.
Based on the same idea as the information prompting method provided by the embodiment of the present invention, an embodiment of the present invention further provides an information prompting device, which is applied to a mobile terminal, fig. 8 illustrates a schematic structural diagram of the information prompting device provided by the embodiment of the present invention, and the device illustrated in fig. 8 includes:
the detection module 41 is configured to detect whether to receive information to be prompted of a second application program when the first application program is in a foreground running state;
the display module 42 is configured to, if the to-be-prompted information of the second application program is received, display the to-be-prompted information in a floating manner on the current display interface; and the position of the suspension area of the suspension display on the current display interface can be adjusted.
Optionally, the display module 42 includes:
and the display unit is used for displaying the information to be prompted in a rolling mode in the suspension area.
Optionally, the apparatus provided in the embodiment of the present invention further includes:
the first execution module is used for responding to a first operation in the floating area and executing an operation event corresponding to an operation object positioned at the lower layer of the floating area;
or,
and the second execution module is used for responding to the second operation in the floating area and switching the current foreground running application program to the second application program.
Optionally, the apparatus provided in the embodiment of the present invention further includes:
the detection module is used for responding to the third operation in the suspension area and detecting whether the current transparency of the suspension area is greater than a first preset value;
and the third execution module is used for executing the operation event of the operation object at the lower layer of the position suspension area if the transparency is greater than the first preset value.
Optionally, the apparatus provided in the embodiment of the present invention further includes:
and the first adjusting module is used for adjusting the transparency of the floating area according to a fourth operation executed by the user on the floating area or the current display interface.
Optionally, the apparatus provided in the embodiment of the present invention further includes:
and the second adjusting module is used for adjusting the size of the suspension area and/or the display line number of the information to be prompted in the suspension area according to a fifth operation executed by the user on the suspension area or the current display interface.
The information prompting device provided by the embodiment of the invention can realize each process realized by the information prompting device in the method embodiments of fig. 1 to fig. 7, and is not repeated here for avoiding repetition.
According to the information prompting device provided by the embodiment of the invention, when the first application program is in the foreground running state, if the information to be prompted of the second application program is received, the information to be prompted is displayed in a suspending manner on the current display interface, and the position of a suspending area displayed in a suspending manner on the current display interface can be adjusted; through the mode with the suspension demonstration show treat the reminder information, the position in suspension region can be adjusted, shows in this period of time of treating the reminder information in current display interface like this, can be through removing the position in suspension region for the region that originally is sheltered from by the suspension region can show, and the user of being convenient for normally operates on mobile terminal, has improved user's operation experience.
Figure 9 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 9 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, 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.
In the embodiment of the present invention, the memory 509 stores therein a computer program, and when the computer program is executed by the processor 510, the following steps can be implemented:
when a first application program is in a foreground running state, detecting whether to receive information to be prompted of a second application program;
if the information to be prompted of the second application program is received, displaying the information to be prompted in a suspending mode on a current display interface; and the position of the suspension area of the suspension display on the current display interface can be adjusted.
Optionally, when executed by the processor 510, the computer program performs a floating display of the information to be prompted on the current display interface, including:
and displaying the information to be prompted in a rolling mode in the suspension area.
Optionally, when the computer program is executed by the processor 510, the information prompting method further includes:
responding to the first operation in the floating area, and executing an operation event corresponding to an operation object positioned at the lower layer of the floating area; or responding to the second operation in the floating area, and switching the current application program running in the foreground to the second application program.
Optionally, when the computer program is executed by the processor 510, the information prompting method further includes:
responding to a third operation in the suspension area, and detecting whether the current transparency of the suspension area is greater than a first preset value; and if so, executing the operation event corresponding to the operation object positioned at the lower layer of the floating area.
Optionally, before the computer program is executed by the processor 510 and responds to the third operation in the hovering area and detects whether the current transparency of the hovering area is greater than the first preset value, the method further includes:
and adjusting the transparency of the floating area according to a fourth operation executed by the user on the floating area or the current display interface.
Optionally, when the computer program is executed by the processor 510, the information prompting method further includes:
and adjusting the size of the suspension area and/or the display line number of the information to be prompted in the suspension area according to a fifth operation executed by the user on the suspension area or the current display interface.
According to the mobile terminal provided by the embodiment of the invention, when the first application program is in the foreground running state, if the information to be prompted of the second application program is received, the information to be prompted is displayed in a suspending manner on the current display interface, and the position of a suspending area displayed in a suspending manner on the current display interface can be adjusted; through the mode with the suspension demonstration show treat the reminder information, the position in suspension region can be adjusted, shows in this period of time of treating the reminder information in current interface like this, can be through removing the position in suspension region for the region that originally is sheltered from by the suspension region can show, and the user of being convenient for normally operates on mobile terminal, has improved user's operation experience.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 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 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 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 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 9, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (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 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 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 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned information prompting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned information prompting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. An information prompting method, characterized in that the method comprises:
when a first application program is in a foreground running state, detecting whether to receive information to be prompted of a second application program;
if the information to be prompted of the second application program is received, displaying the information to be prompted in a suspending mode on a current display interface; the position of the suspension area displayed in a suspension manner on the current display interface can be adjusted;
adjusting the transparency of the floating area according to a fourth operation executed by a user on the floating area or the current display interface;
responding to a third operation in the suspension area, and detecting whether the current transparency of the suspension area is greater than a first preset value; if so, executing an operation event corresponding to the operation object positioned at the lower layer of the suspension area; if not, switching the current foreground running application program to a second application program, or editing the characters in the floating area.
2. The method of claim 1, wherein the displaying the information to be prompted in a floating manner on the current display interface comprises:
and displaying the information to be prompted in a rolling mode in the suspension area.
3. The method of claim 1, wherein the method further comprises:
responding to a first operation in the floating area, and executing an operation event corresponding to an operation object positioned at the lower layer of the floating area;
or,
and responding to the second operation in the floating area, and switching the current application program running in the foreground to the second application program.
4. The method of claim 2, wherein the method further comprises:
and adjusting the size of the suspension area and/or the display line number of the information to be prompted in the suspension area according to a fifth operation executed by a user on the suspension area or the current display interface.
5. An information prompting device, the device comprising:
the detection module is used for detecting whether to receive information to be prompted of a second application program when the first application program is in a foreground running state;
the display module is used for displaying the information to be prompted in a floating mode on a current display interface if the information to be prompted of the second application program is received; the position of the suspension area displayed in a suspension manner on the current display interface can be adjusted;
the first adjusting module is used for adjusting the transparency of the suspension area according to a fourth operation executed by a user on the suspension area or the current display interface;
the device further comprises: the detection module is used for responding to the third operation in the suspension area and detecting whether the current transparency of the suspension area is greater than a first preset value; and the third execution module is used for executing the operation event of the operation object positioned at the lower layer of the suspension area if the transparency is greater than the first preset value, and switching the first application program currently running in the foreground to the second application program or editing the characters in the suspension area if the transparency is less than or equal to the first preset value.
6. The apparatus of claim 5, wherein the display module comprises:
and the display unit is used for displaying the information to be prompted in a rolling manner in the suspension area.
7. The apparatus of claim 5, wherein the apparatus further comprises:
the first execution module is used for responding to a first operation in the floating area and executing an operation event corresponding to an operation object positioned at the lower layer of the floating area;
or,
and the second execution module is used for responding to a second operation in the floating area and switching the current foreground running application program to the second application program.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the second adjusting module is used for adjusting the size of the suspension area and/or the display line number of the information to be prompted in the suspension area according to a fifth operation executed by a user on the suspension area or the current display interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810162360.XA CN108600498B (en) | 2018-02-27 | 2018-02-27 | Information prompting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810162360.XA CN108600498B (en) | 2018-02-27 | 2018-02-27 | Information prompting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108600498A CN108600498A (en) | 2018-09-28 |
CN108600498B true CN108600498B (en) | 2021-02-02 |
Family
ID=63609059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810162360.XA Active CN108600498B (en) | 2018-02-27 | 2018-02-27 | Information prompting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108600498B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109646952A (en) * | 2018-12-14 | 2019-04-19 | 北京智明星通科技股份有限公司 | A kind of interactive game interface display method, device and terminal |
CN110413193A (en) * | 2019-07-24 | 2019-11-05 | Oppo广东移动通信有限公司 | A kind of message treatment method, device, storage medium and electronic equipment |
CN111163205A (en) * | 2019-12-25 | 2020-05-15 | 上海传英信息技术有限公司 | Display method, display device and computer storage medium |
JP7562993B2 (en) * | 2020-06-04 | 2024-10-08 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015039445A1 (en) * | 2013-09-17 | 2015-03-26 | 小米科技有限责任公司 | Notification message display method and apparatus, and electronic device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630274A (en) * | 2014-10-31 | 2016-06-01 | 展讯通信(天津)有限公司 | Electronic equipment status bar display system and method |
CN106155870B (en) * | 2015-04-27 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Terminal optimization processing method and device and terminal |
CN105242834A (en) * | 2015-11-17 | 2016-01-13 | 中科创达软件股份有限公司 | Information reminding method and information reminding device |
CN106502560A (en) * | 2016-10-11 | 2017-03-15 | 北京小米移动软件有限公司 | Display control method and device |
CN106598397A (en) * | 2016-12-21 | 2017-04-26 | 上海传英信息技术有限公司 | Notification message display method and user terminal |
CN106843655B (en) * | 2017-02-13 | 2019-04-09 | 维沃移动通信有限公司 | A kind of information display method and electronic equipment |
CN107491250A (en) * | 2017-07-31 | 2017-12-19 | 北京小米移动软件有限公司 | Display methods, device and the equipment of notification message |
-
2018
- 2018-02-27 CN CN201810162360.XA patent/CN108600498B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015039445A1 (en) * | 2013-09-17 | 2015-03-26 | 小米科技有限责任公司 | Notification message display method and apparatus, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN108600498A (en) | 2018-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378B (en) | Display control method and mobile terminal | |
CN108182043B (en) | Information display method and mobile terminal | |
CN107943390B (en) | Character copying method and mobile terminal | |
CN110196667B (en) | Notification message processing method and terminal | |
CN109379484B (en) | Information processing method and terminal | |
CN109491738B (en) | Terminal device control method and terminal device | |
CN109782998B (en) | Display screen control method and mobile terminal | |
CN109683764B (en) | Icon management method and terminal | |
CN107728923B (en) | Operation processing method and mobile terminal | |
CN109739407B (en) | Information processing method and terminal equipment | |
CN111142769A (en) | Split screen display method and electronic equipment | |
CN109407948B (en) | Interface display method and mobile terminal | |
CN109407949B (en) | Display control method and terminal | |
CN108600498B (en) | Information prompting method and device | |
CN110825295B (en) | Application program control method and electronic equipment | |
CN110795021B (en) | Information display method and device and electronic equipment | |
CN110321046A (en) | A kind of content selecting method and terminal | |
CN110536007B (en) | Interface display method, terminal and computer readable storage medium | |
CN110442279B (en) | Message sending method and mobile terminal | |
CN109445653B (en) | Icon processing method and mobile terminal | |
CN108804628B (en) | Picture display method and terminal | |
CN110531903B (en) | Screen display method, terminal device and storage medium | |
CN109597546B (en) | Icon processing method and terminal equipment | |
CN108984062B (en) | Content display method and terminal | |
CN108469944B (en) | Display control method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |