CN114168048A - Application message reminding method and device, computer equipment and storage medium - Google Patents
Application message reminding method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114168048A CN114168048A CN202111434785.XA CN202111434785A CN114168048A CN 114168048 A CN114168048 A CN 114168048A CN 202111434785 A CN202111434785 A CN 202111434785A CN 114168048 A CN114168048 A CN 114168048A
- Authority
- CN
- China
- Prior art keywords
- application
- message
- reminding
- interface
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses an application message reminding method and device, computer equipment and a storage medium. According to the scheme, when the application interface of the foreground application is displayed, the reminding message of the background application is acquired, when the current moment reaches the preset reminding moment of the reminding message, the reminding message is processed according to the interface elements of the application interface of the foreground application, the processed reminding message is displayed on the application interface of the foreground application, the interference of the processed reminding message on the use of the foreground application by a user can be reduced, and meanwhile, the message reminding experience of the user in the application use process can be improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application message reminding method, an application message reminding device, a computer device, and a storage medium.
Background
At present, when a terminal starts a plurality of application programs, the application programs run independently from each other, the application program displayed on a current terminal interface is set as a foreground application program, and other started application programs are set as background application programs. When a user wants to switch a foreground application program, the current foreground application program needs to be interrupted, and then the foreground application program is switched according to the background application program selected by the user. However, the existing mode influences the immersion experience of the user on the application program, and the user experience is poor.
Disclosure of Invention
The embodiment of the application message reminding method and device, the computer equipment and the storage medium can improve message reminding experience when a user uses an application.
The embodiment of the application provides an application message reminding method, which comprises the following steps:
displaying an application interface of a foreground application, wherein the application interface comprises application elements of the foreground application;
when the current time reaches the preset message reminding time of the target background application, acquiring the reminding message of the target background application at the preset message reminding time;
and displaying the reminding message on the application interface based on the interface element of the application interface.
Correspondingly, an embodiment of the present application further provides an application message reminding device, including:
the system comprises a first display unit, a second display unit and a display unit, wherein the first display unit is used for displaying an application interface of a foreground application, and the application interface comprises application elements of the foreground application;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a reminding message of a target background application at a preset message reminding time when the current time reaches the preset message reminding time of the target background application;
and the second display unit is used for displaying the reminding message on the application interface based on the interface element of the application interface.
In some embodiments, the second display unit includes:
the first acquiring subunit is used for acquiring the interface elements of the application interface;
the processing subunit is configured to process the reminding message based on the interface element to obtain a processed reminding message;
and the first display subunit is used for displaying the processed reminding message on the application interface.
In some embodiments, the processing subunit is specifically configured to:
determining the text content of the reminding message;
rendering the text content according to the display size, the display font, the display color and the display style to obtain the processed reminding message.
In some embodiments, the processing subunit is specifically configured to:
performing content identification on the reminding message to obtain a message keyword of the reminding message; generating the text content based on the message keywords;
rendering the text content according to the display size, the display font, the display color and the display style to obtain the processed reminding message.
In some embodiments, the apparatus further comprises:
the receiving unit is used for receiving touch operation of a user for the application interface;
and the determining unit is used for determining a target display mode from a plurality of preset display modes according to the touch operation.
In some embodiments, the second display unit includes:
and the second display subunit is used for displaying the reminding message on the application interface based on the interface element and the target display mode.
In some embodiments, the second display unit includes:
the identification subunit is used for identifying the display content in the application interface and determining a non-important content display area from the application interface;
and the third display subunit is used for displaying the processed reminding message in the non-important content display area.
In some embodiments, the second display unit includes:
the second acquisition subunit is used for acquiring the importance level of each target background application;
the sequencing subunit is configured to sequence the processed reminder messages respectively corresponding to the plurality of target background applications based on the importance levels to obtain a sequencing sequence;
and the fourth display subunit is used for sequentially displaying a plurality of processed reminding messages on the application interface according to the sorting sequence.
In some embodiments, the second display unit further comprises:
the determining subunit is configured to determine, based on the importance level, a display duration of the processed reminder message corresponding to each target background application;
and the fifth display subunit is used for displaying the processed reminding message on the application interface according to the display duration of each processed reminding message.
In some embodiments, the apparatus further comprises:
and the adding unit is used for adding a prominent style for the processed reminding message.
In some embodiments, the second display unit includes:
a sixth display subunit, configured to display the reminder message on the application interface based on the interface element and the highlighting style.
Correspondingly, the embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the application message reminding method provided in any of the embodiments of the present application.
Correspondingly, the embodiment of the application also provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by the processor to execute the application message reminding method.
According to the embodiment of the application, the reminding message of the background application is acquired when the application interface of the foreground application is displayed, when the current moment reaches the preset reminding moment of the reminding message, the reminding message is processed according to the interface elements of the application interface of the foreground application, the processed reminding message is displayed on the application interface of the foreground application, the interference of the user on using the foreground application can be reduced, and meanwhile, the message reminding experience of the user in using the application can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an application message reminding method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of another application message reminding method according to an embodiment of the present application.
Fig. 3 is a schematic view of an application scenario of an application message reminding method according to an embodiment of the present application.
Fig. 4 is a schematic view of an application scenario of another application message reminding method according to an embodiment of the present application.
Fig. 5 is a block diagram of an application message reminding apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application message reminding method and device, a storage medium and computer equipment are provided. Specifically, the application message reminding method according to the embodiment of the present application may be executed by a computer device, where the computer device may be a server or other devices. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform.
For example, the computer device may be a server that may display an application interface of a foreground application, the application interface including application elements of the foreground application; when the current time reaches the preset message reminding time of the target background application, acquiring a reminding message of the target background application at the preset message reminding time; and displaying the reminding message on the application interface based on the interface element of the application interface.
Based on the above problems, embodiments of the present application provide a first application message reminding method, an apparatus, a computer device, and a storage medium, which can improve message reminding experience when a user uses an application.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the present application provides an application message reminding method, which can be executed by a terminal or a server.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an application message reminding method according to an embodiment of the present application. The specific flow of the application message reminding method can be as follows:
101. and displaying an application interface of the foreground application.
In the embodiment of the application, the foreground application refers to an application displayed on a display screen of the current terminal. The terminal can be provided with a plurality of applications, and the foreground application can be any one of the plurality of applications installed on the terminal.
Wherein the application interface may include application elements of the foreground application.
For example, the foreground application may be a video application, and the application interface may be a video playing interface of the video application, where the video playing interface includes a played video picture.
102. And when the current moment reaches the preset message reminding moment of the target background application, acquiring the reminding message of the target background application at the preset message reminding moment.
In the embodiment of the application, the background application refers to an application currently running in the background of the terminal.
Wherein, the target background application refers to the background application provided with the reminding message. The preset message reminding time refers to the preset time for reminding the reminding message. One or more reminding messages can be set in the target background application, and each reminding message corresponds to a preset message reminding moment.
For example, target background applications include: a reminding message A, a reminding message B and a reminding message C. The preset message reminding time set for the reminding message a may be: the first time, the setting of the preset message reminding time for the reminding message B may be: at the second moment, the preset message reminding moment set for the reminding message C may be: at the third time, when the current time reaches the first time, the obtaining of the reminding message of the target background application may be: a reminder message A; or, when the current time reaches the second time, acquiring the reminding message of the target background application may be: a reminder message B; or, when the current time reaches the third time, acquiring the reminding message of the target background application may be: and (5) reminding the user of the message C.
103. And displaying the reminding message on the application interface based on the interface element of the application interface.
In this embodiment of the present application, in order to ensure that when a reminding message of a background application is reminded, the influence on the use of a foreground application by a user is reduced, the reminding message may be processed according to an interface element of an application interface, and then the step "displaying the reminding message on the application interface based on the interface element of the application interface" may include the following operations:
acquiring interface elements of an application interface;
processing the reminding message based on the interface element to obtain a processed reminding message;
and displaying the processed reminding message on the application interface.
The interface element (interface element) refers to a series of elements which are included in software or a system interface and can meet interaction requirements of a user. In an embodiment of the present application, the interface element may include: display size, display scale, display font size, display color values, component style, component operational feedback, and the like.
Further, after the display element of the application interface is obtained, the reminding message can be processed according to the display element.
In some embodiments, in order to improve the display effect of the reminder message, the step "processing the reminder message based on the interface element to obtain a processed reminder message" may include the following operations:
determining the text content of the reminding message;
and rendering the text content according to the display size, the display font, the display color and the display style to obtain the processed reminding message.
In some embodiments, in order to facilitate displaying the reminder message, the text content of the reminder message may be obtained, and then the step "determining the text content of the reminder message" may include the following operations:
performing content identification on the reminding message to obtain a message keyword of the reminding message;
text content is generated based on the message keywords.
In this embodiment of the present application, the content of the alert message may include: text, pictures, icons and/or icons, etc. Specifically, the content of the reminding message is identified, the content of the reminding message can be identified as a text, then a message keyword is extracted from the text, and finally the text content is generated according to the message keyword.
For example, the reminding message may include two contents, namely, a text and a picture, and for the content of the text part, the text is directly extracted to obtain a first text; for the content of the picture part, image recognition can be performed on the picture, a text corresponding to the picture is recognized, and a second text is obtained.
Further, the keyword extraction processing is performed on the first text and the second text respectively, and the keyword extraction may be performed based on the type of the reminding message. The obtaining of the message keyword corresponding to the first text may be: the first message keyword, which obtains the message keyword corresponding to the second text, may be: and combining the first message keywords with the second message keywords to obtain text contents as follows: first message keyword + second message keyword.
The method comprises the steps of extracting keywords from different contents of a reminding message to obtain one or more message keywords.
In the embodiment of the application, the interface elements at least include a display size, a display font, a display color and a display style, and the text content can be rendered according to the display size, the display font, the display color and the display style to obtain the processed reminding message, and then the processed reminding message is displayed on the application interface, so that the reminding operation of the reminding message on the user is achieved.
In some embodiments, in order to improve the display effect of the reminder message, the step "displaying the reminder message on the application interface based on the interface element of the application interface" may include the following steps:
identifying display contents in the application interface, and determining a non-important content display area from the application interface;
and displaying the processed reminding message in the non-important content display area.
Specifically, the display content in the application interface is identified, which may include multiple identification manners. For example, whether a person image exists in the display content may be identified, if the person image exists, the person image region may be determined to be important, and then a region other than the person image region may be acquired from the application interface to obtain the non-important content display region.
For another example, whether a blank area exists in the display content may be identified, and if the blank area exists, the blank area may be determined to be a non-important display area. The embodiment of the present application is not limited to the above-mentioned manner for determining the non-important content display area, and may include multiple manners, which are not described herein again.
Furthermore, after the application interface determines the non-important content display area, the processed reminding message can be displayed in the non-important content display area, so that the main content of the current application interface can be prevented from being shielded, and the user viewing experience can be improved.
In some embodiments, in order to facilitate the user operation, before the step "displaying the reminding message on the application interface based on the interface element of the application interface", the method further comprises the following steps:
receiving touch operation of a user for an application interface;
determining a target display mode from a plurality of preset display modes according to touch operation;
the step of displaying the reminding message on the application interface based on the interface element of the application interface may include the following operations:
and displaying the reminding message on the application interface based on the interface element and the target display mode.
In the embodiment of the present application, a display mode of the reminding message, that is, a preset display mode, may be preset, and the preset display mode may include multiple types, for example, the preset display mode may include a pop-up frame display, a pop-up screen display, a public screen display (a public screen, a public chat channel), and the like.
In order to select different display modes according to user requirements, different trigger operations may be set for each preset display mode, and the trigger operation may be a touch operation, for example, the trigger operation may include a click, a long press, a double click, and the like.
For example, in foreground applications, setting up a preset display mode includes: the method comprises the steps of bullet frame display, bullet screen display and public screen display, wherein the corresponding triggering operation of the bullet frame display can be click operation, the corresponding triggering operation of the bullet screen display can be long-time press operation, and the corresponding triggering operation of the public screen display can be double-click operation. When the touch operation of the user on the application interface of the foreground application is detected, determining a trigger operation corresponding to the touch operation, and if the touch operation can be a click operation, determining that the bullet screen triggered by the click operation is displayed in a target display mode.
Further, after the reminding message is processed through the interface element of the application interface, the obtained processed reminding message can be displayed on the application interface according to the target display mode.
In some embodiments, the number of the target background applications may be multiple, that is, the number of the background applications with the same preset reminding time of the reminding message is multiple. Then, in order to facilitate the user to view a plurality of alert messages, the step "displaying alert messages on the application interface based on the interface elements of the application interface" may include the following operations:
acquiring the importance level of each target background application;
sorting the processed reminding messages respectively corresponding to the plurality of target background applications based on the importance levels to obtain a sorting sequence;
and displaying a plurality of processed reminding messages on the application interface in sequence according to the sorting sequence.
The importance level refers to an importance level of the application, and may be set according to a use condition of the application by a user, for example, the importance level may be set according to a use frequency of the application by the user, and the use frequency may include: a first use frequency range, a second use frequency range, a third use frequency range; the importance levels may include: importance level, general importance level, non-importance level. The importance level corresponding to the first usage frequency range may be an importance level, the importance level corresponding to the second usage frequency range may be a general importance level, and the importance level corresponding to the third usage frequency range may be a non-importance level. The importance level of the application may then be determined based on the frequency of use of the application by the user.
In some embodiments, in order to meet different requirements of different users for application use, the importance level of the application can be set according to user customization.
The processed reminding messages of the plurality of background applications are sorted according to the importance levels, and the processed reminding messages can be sorted from high to low according to the importance levels of the background applications.
For example, target background applications include: application A, application B and application C. The processed reminder message corresponding to the application a may be a first reminder message, the processed reminder message corresponding to the application B may be a second reminder message, and the processed reminder message corresponding to the application C may be a third reminder message. The importance level of the application a may be an importance level, the importance level of the application B may be a non-importance level, and the importance level of the application C may be a general importance level. Then, the plurality of processed reminder messages are sorted from high to low based on the importance level of the application, and the obtained sorting sequence of the processed reminder messages may be: the first reminding message, the third reminding message and the second reminding message.
Further, after determining the sorting sequence of the plurality of processed reminder messages, the plurality of processed reminder messages may be sequentially displayed on the application interface according to the sorting sequence.
For example, the preset display mode for the reminder message set by the foreground application may be a bullet screen mode, and the sequencing sequence of the processed reminder message may be: the first reminding message, the third reminding message and the second reminding message are displayed in a bullet screen mode when the reminding message is displayed and processed on the application interface, the third reminding message is displayed in the bullet screen mode after the first reminding message is displayed, and the second reminding message is displayed in the bullet screen mode after the third reminding message is displayed, so that the processed reminding messages corresponding to all target background applications are sequentially completed, and a user can conveniently check the reminding messages one by one.
In some embodiments, for the alert message of the important application, in order to highlight that the user is alerted and avoid missing important information, after the step "obtaining the importance level of each target background application", the following operations may be further included:
determining the display duration of the processed reminding message corresponding to each target background application based on the importance level;
and displaying the processed reminding message on the application interface according to the display duration of each processed reminding message.
The display duration refers to the duration of the reminding message on the application interface, and for example, the display duration may be 5 seconds, 10 seconds, and the like.
In the embodiment of the present application, the setting of the importance level may include: the importance level, the general importance level, and the non-importance level, then, the display duration of the reminder message corresponding to the importance level may be set to 15 seconds, the display duration of the reminder message corresponding to the general importance level may be set to 10 seconds, and the display duration of the reminder message corresponding to the non-importance level may be set to 5 seconds.
For example, target background applications include: application A, application B and application C. The processed reminder message corresponding to the application a may be a first reminder message, the processed reminder message corresponding to the application B may be a second reminder message, and the processed reminder message corresponding to the application C may be a third reminder message. The importance level of the application a may be an importance level, the importance level of the application B may be a non-importance level, and the importance level of the application C may be a general importance level. Then, determining the display duration of the processed reminder message of each target background application according to the display duration corresponding to the importance level may be: the display duration of the first reminder message may be: 15 seconds, the display duration of the second reminding message can be: 5 seconds, the display duration of the first reminding message may be: and 10 seconds, and then displaying the processed reminding message through an application interface according to the display duration corresponding to each processed reminding message.
In some embodiments, in order to facilitate the user to distinguish the content of the foreground application from the alert message of the background application, before the step "displaying the alert message on the application interface based on the interface element of the application interface", the following steps may be further included:
adding a prominent style for the processed reminding message;
the step of displaying the reminding message on the application interface based on the interface element of the application interface may include the following operations:
and displaying the reminding message on the application interface based on the interface element and the highlighting style.
The highlighting style is used for highlighting the reminding message on a foreground application interface. The highlighting pattern may include a variety of ways, such as color highlighting, font highlighting, size highlighting, and the like.
Specifically, the reminding message is processed according to the interface elements of the application interface to obtain the processed reminding message, then a prominent style, such as prominent color, is added to the processed reminding message, and then the processed reminding message with the prominent style is displayed on the application interface.
The embodiment of the application discloses an application message reminding method, which comprises the following steps: displaying an application interface of foreground application, wherein the application interface comprises application elements of the foreground application; when the current time reaches the preset message reminding time of the target background application, acquiring a reminding message of the target background application at the preset message reminding time; and displaying the reminding message on the application interface based on the interface element of the application interface. According to the embodiment of the application, the reminding message of the background application is acquired when the application interface of the foreground application is displayed, when the current moment reaches the preset reminding moment of the reminding message, the reminding message is processed according to the interface elements of the application interface of the foreground application, the processed reminding message is displayed on the application interface of the foreground application, the interference of the user on using the foreground application can be reduced, and meanwhile, the message reminding experience of the user in using the application can be improved.
Based on the above description, the application message reminding method of the present application will be further described by way of example. Referring to fig. 2, fig. 2 is a schematic flow chart of another application message reminding method according to an embodiment of the present application, and taking application message reminding between a takeaway application and a video application as an example, a specific flow may be as follows:
201. and the terminal receives the meal ordering operation of the take-out application by the user and generates a meal ordering message according to the meal ordering operation.
In the embodiment of the application, the terminal is provided with a take-out application, and the take-out application can be used for taking out and ordering food and the like by a user. Specifically, the user opens the takeaway application through the terminal to perform a meal ordering operation, and after the user completes the meal ordering operation, a meal ordering message is generated.
Wherein the meal ordering message may include: the ordered take-out merchant, the ordered take-out type, the take-out delivery time, etc. For example, the meal order message is: the order-placed takeout merchant A, the order-placed takeout type A and the takeout meal delivery time are 12:10 minutes.
202. The terminal receives the starting operation of the video application by the user, and displays an application interface of the video application on a terminal display screen according to the starting operation.
In the embodiment of the application, the terminal may further be installed with a video application, and the video application may be used for playing videos and the like.
Further, after the user completes the food ordering operation through the takeaway application, the video application can be started, and specifically, an application interface of the video application can be displayed on a terminal display screen according to the starting operation of the user on the video application.
When the terminal displays the application interface of the video application, the video application is a foreground application, and the takeaway application is a background application.
For example, please refer to fig. 3, and fig. 3 is a schematic view of an application scenario of an application message reminding method according to an embodiment of the present application. In fig. 3, the application interface may be a video playing interface of a video application, and the video playing interface includes video picture content.
203. And when the current moment reaches the preset reminding moment of the meal ordering message, the terminal processes the meal ordering message according to the interface elements of the application interface to obtain the processed meal ordering message.
Wherein, predetermine and remind the moment and can be set for by oneself by the user, can set for according to the takeaway food delivery time in the meal ordering message, for example, takeaway food delivery time can be: 12:10 points, the user can set any time before 12:10 points as a preset reminding time, such as 12:05 points, so as to prompt the user that the takeaway is about to be delivered.
In the embodiment of the application, in order to avoid interruption of the user's video watching due to the prompt of the order message, the order message may be displayed through the video application.
Specifically, the interface elements of the application interface of the video application are obtained by performing picture recognition on a video picture and extracting core visual elements of the video application, such as a size ratio, a font size, a color value, a component style, component operation feedback and the like, so as to obtain the interface elements. And then, processing the meal ordering message according to the interface element, specifically, extracting core content elements (text content, dynamic icons and dynamic videos) of the meal ordering message, and building a content assembly for the core content elements through the interface element, so that the processed meal ordering message can be obtained.
The core content element of the meal ordering message is extracted, and the core content element may be a prompting message content that needs to be displayed, for example, the prompting message content generated according to the meal ordering message and the preset prompting time may be: "the placed order takeaway type A has 5 minutes to deliver".
204. And the terminal displays the processed food ordering message on an application interface.
For example, referring to fig. 4, fig. 4 is a schematic view of an application scenario of another application message reminding method according to an embodiment of the present application. In fig. 4, a processed order message "sales type a has made an order and 5 minutes have arrived" in the take-out application is displayed in a barrage manner through a video play interface of the video application. Therefore, the interference of the reminding message of the takeout application on the video watching of the user can be reduced, and the user immersion experience can be improved.
The embodiment of the application discloses an application message reminding method, which comprises the following steps: the method comprises the steps that a terminal receives a meal ordering operation of a user on a take-out application, meal ordering information is generated according to the meal ordering operation, starting operation of the user on a video application is received, an application interface of the video application is displayed on a display screen of the terminal according to the starting operation, when the current time reaches the preset reminding time of the meal ordering information, the meal ordering information is processed according to interface elements of the application interface, the processed meal ordering information is obtained, and the processed meal ordering information is displayed on the application interface. Therefore, interference to a user when watching the video through the video application can be reduced, and meanwhile, the reminding effect of other application messages is improved.
In order to better implement the application message reminding method provided by the embodiment of the present application, an embodiment of the present application further provides an application message reminding device based on the application message reminding method. The meaning of the noun is the same as that in the above application message reminding method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 5, fig. 5 is a block diagram of an application message reminding device according to an embodiment of the present application, where the device includes:
a first display unit 301, configured to display an application interface of a foreground application, where the application interface includes application elements of the foreground application;
an obtaining unit 302, configured to obtain, when a current time reaches a preset message reminding time of a target background application, a reminding message of the target background application at the preset message reminding time;
a second display unit 303, configured to display the reminder message on the application interface based on an interface element of the application interface.
In some embodiments, the second display unit 303 may include:
the first acquiring subunit is used for acquiring the interface elements of the application interface;
the processing subunit is configured to process the reminding message based on the interface element to obtain a processed reminding message;
and the first display subunit is used for displaying the processed reminding message on the application interface.
In some embodiments, the processing subunit may be specifically configured to:
determining the text content of the reminding message;
rendering the text content according to the display size, the display font, the display color and the display style to obtain the processed reminding message.
In some embodiments, the processing subunit may be specifically configured to:
performing content identification on the reminding message to obtain a message keyword of the reminding message; generating the text content based on the message keywords;
rendering the text content according to the display size, the display font, the display color and the display style to obtain the processed reminding message.
In some embodiments, the apparatus may further comprise:
the receiving unit is used for receiving touch operation of a user for the application interface;
and the determining unit is used for determining a target display mode from a plurality of preset display modes according to the touch operation.
In some embodiments, the second display unit 303 may include:
and the second display subunit is used for displaying the reminding message on the application interface based on the interface element and the target display mode.
In some embodiments, the second display unit 303 may include:
the identification subunit is used for identifying the display content in the application interface and determining a non-important content display area from the application interface;
and the third display subunit is used for displaying the processed reminding message in the non-important content display area.
In some embodiments, the second display unit 303 may include:
the second acquisition subunit is used for acquiring the importance level of each target background application;
the sequencing subunit is configured to sequence the processed reminder messages respectively corresponding to the plurality of target background applications based on the importance levels to obtain a sequencing sequence;
and the fourth display subunit is used for sequentially displaying a plurality of processed reminding messages on the application interface according to the sorting sequence.
In some embodiments, the second display unit 303 may further include:
the determining subunit is configured to determine, based on the importance level, a display duration of the processed reminder message corresponding to each target background application;
and the fifth display subunit is used for displaying the processed reminding message on the application interface according to the display duration of each processed reminding message.
In some embodiments, the apparatus may further comprise:
and the adding unit is used for adding a prominent style for the processed reminding message.
In some embodiments, the second display unit includes:
a sixth display subunit, configured to display the reminder message on the application interface based on the interface element and the highlighting style.
The embodiment of the application discloses an application message reminding device, which is characterized in that an application interface of foreground application is displayed through a first display unit 301, and the application interface comprises application elements of the foreground application; the obtaining unit 302 obtains a reminding message of a target background application at a preset message reminding time when the current time reaches the preset message reminding time of the target background application; the second display unit 303 displays the reminder message on the application interface based on the interface element of the application interface. Therefore, the message reminding experience of the user when using the application can be improved.
Correspondingly, the embodiment of the application also provides a computer device, and the computer device can be a server. As shown in fig. 6, fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer apparatus 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 401 is a control center of the computer device 400, connects the respective parts of the entire computer device 400 using various interfaces and lines, performs various functions of the computer device 400 and processes data by running or loading software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the computer device 400 as a whole.
In the embodiment of the present application, the processor 401 in the computer device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
displaying an application interface of foreground application, wherein the application interface comprises application elements of the foreground application; when the current time reaches the preset message reminding time of the target background application, acquiring a reminding message of the target background application at the preset message reminding time; and displaying the reminding message on the application interface based on the interface element of the application interface.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 6, the computer device 400 further includes: touch-sensitive display screen 403, radio frequency circuit 404, audio circuit 405, input unit 406 and power 407. The processor 401 is electrically connected to the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power source 407. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The touch display screen 403 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. The display panel may be used, among other things, to display messages entered by or provided to a user and various graphical user interfaces of the computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a Liquid crystal display (LCD, Liquid crystal display client account l display client account y), an organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, 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 a touch message from the touch sensing device, converts the touch message into touch point coordinates, sends the touch point coordinates to the processor 401, and can receive and execute a command sent by the processor 401. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel may transmit the touch operation to the processor 401 to determine the type of the touch event, and then the processor 401 may provide a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 403 may also be used as a part of the input unit 406 to implement an input function.
In the embodiment of the present application, a game application is executed by the processor 401 to generate a graphical user interface on the touch display screen 403, where a virtual scene on the graphical user interface includes at least one skill control area, and the skill control area includes at least one skill control. The touch display screen 403 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The rf circuit 404 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
The audio circuit 405 may be used to provide an audio interface between a user and a computer device through speakers, microphones. The audio circuit 405 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, which is then processed by the audio data output processor 401, and then sent to, for example, another computer device via the radio frequency circuit 404, or output to the memory 402 for further processing. The audio circuit 405 may also include an earbud jack to provide communication of a peripheral headset with the computer device.
The input unit 406 may be used to receive input numbers, character messages, or user characteristic messages (e.g., fingerprints, irises, facial messages, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the computer device 400. Optionally, the power source 407 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 407 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown in fig. 6, the computer device 400 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, in the computer device provided in this embodiment, by displaying an application interface of a foreground application, the application interface includes an application element of the foreground application; when the current time reaches the preset message reminding time of the target background application, acquiring a reminding message of the target background application at the preset message reminding time; and displaying the reminding message on the application interface based on the interface element of the application interface. The message reminding experience of the user when using the application can be improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any of the application message reminding methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
displaying an application interface of foreground application, wherein the application interface comprises application elements of the foreground application;
when the current time reaches the preset message reminding time of the target background application, acquiring a reminding message of the target background application at the preset message reminding time;
and displaying the reminding message on the application interface based on the interface element of the application interface.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any application message reminding method provided in the embodiment of the present application, the beneficial effects that any application message reminding method provided in the embodiment of the present application can achieve can be achieved, and detailed descriptions are omitted for the foregoing embodiment.
The application message reminding method, the application message reminding device, the storage medium and the computer equipment provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (12)
1. An application message reminding method, characterized in that the method comprises:
displaying an application interface of a foreground application, wherein the application interface comprises application elements of the foreground application;
when the current time reaches the preset message reminding time of the target background application, acquiring the reminding message of the target background application at the preset message reminding time;
and displaying the reminding message on the application interface based on the interface element of the application interface.
2. The method of claim 1, wherein displaying the reminder message in the application interface based on the interface element of the application interface comprises:
acquiring interface elements of the application interface;
processing the reminding message based on the interface element to obtain a processed reminding message;
and displaying the processed reminding message on the application interface.
3. The method of claim 2, wherein the interface elements include at least a display size, a display font, a display color, and a display style;
the processing the reminding message based on the interface element to obtain a processed reminding message includes:
determining the text content of the reminding message;
rendering the text content according to the display size, the display font, the display color and the display style to obtain the processed reminding message.
4. The method of claim 3, wherein the determining the text content of the reminder message comprises:
performing content identification on the reminding message to obtain a message keyword of the reminding message;
generating the text content based on the message keywords.
5. The method of claim 1, further comprising, before the displaying the reminder message at the application interface based on the interface element of the application interface:
receiving touch operation of a user for the application interface;
determining a target display mode from a plurality of preset display modes according to the touch operation;
the displaying the reminding message on the application interface based on the interface element of the application interface comprises:
and displaying the reminding message on the application interface based on the interface element and the target display mode.
6. The method of claim 1, wherein displaying the reminder message in the application interface based on the interface element of the application interface comprises:
identifying display content in the application interface, and determining a non-important content display area from the application interface;
and displaying the reminding message in the non-important content display area.
7. The method of claim 1, wherein the number of target background applications is plural;
the displaying the reminding message on the application interface based on the interface element of the application interface comprises:
acquiring the importance level of each target background application;
sorting the processed reminding messages respectively corresponding to the plurality of target background applications based on the importance levels to obtain a sorting sequence;
and displaying a plurality of processed reminding messages on the application interface in sequence according to the sorting sequence.
8. The method of claim 7, further comprising, after the obtaining the importance level of each target background application:
determining the display duration of the processed reminding message corresponding to each target background application based on the importance level;
and displaying the processed reminding message on the application interface according to the display duration of each processed reminding message.
9. The method of claim 1, further comprising, before the displaying the reminder message at the application interface based on the interface element of the application interface:
adding a salient pattern to the processed reminding message;
the displaying the reminding message on the application interface based on the interface element of the application interface comprises:
displaying the reminder message in the application interface based on the interface element and the highlighting style.
10. An application message alert device, the device comprising:
the system comprises a first display unit, a second display unit and a display unit, wherein the first display unit is used for displaying an application interface of a foreground application, and the application interface comprises application elements of the foreground application;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a reminding message of a target background application at a preset message reminding time when the current time reaches the preset message reminding time of the target background application;
and the second display unit is used for displaying the reminding message on the application interface based on the interface element of the application interface.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the application message alert method as claimed in any one of claims 1 to 9 when executing the program.
12. A storage medium storing instructions adapted to be loaded by a processor to perform the method of any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111434785.XA CN114168048A (en) | 2021-11-29 | 2021-11-29 | Application message reminding method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111434785.XA CN114168048A (en) | 2021-11-29 | 2021-11-29 | Application message reminding method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114168048A true CN114168048A (en) | 2022-03-11 |
Family
ID=80481511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111434785.XA Pending CN114168048A (en) | 2021-11-29 | 2021-11-29 | Application message reminding method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114168048A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491315A (en) * | 2017-08-31 | 2017-12-19 | 广东欧珀移动通信有限公司 | Message prompt method, device and terminal |
CN107734186A (en) * | 2017-10-31 | 2018-02-23 | 奇酷互联网络科技(深圳)有限公司 | Method, equipment, mobile terminal and the computer-readable storage medium of prompting message |
CN109218800A (en) * | 2018-06-29 | 2019-01-15 | 努比亚技术有限公司 | A kind of barrage information display method, terminal and computer readable storage medium |
CN110147185A (en) * | 2018-11-16 | 2019-08-20 | 腾讯科技(深圳)有限公司 | Message prompt method, device, electronic device and storage medium |
CN112199141A (en) * | 2020-09-18 | 2021-01-08 | 深圳传音控股股份有限公司 | Message processing method, terminal and computer readable storage medium |
-
2021
- 2021-11-29 CN CN202111434785.XA patent/CN114168048A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491315A (en) * | 2017-08-31 | 2017-12-19 | 广东欧珀移动通信有限公司 | Message prompt method, device and terminal |
CN107734186A (en) * | 2017-10-31 | 2018-02-23 | 奇酷互联网络科技(深圳)有限公司 | Method, equipment, mobile terminal and the computer-readable storage medium of prompting message |
CN109218800A (en) * | 2018-06-29 | 2019-01-15 | 努比亚技术有限公司 | A kind of barrage information display method, terminal and computer readable storage medium |
CN110147185A (en) * | 2018-11-16 | 2019-08-20 | 腾讯科技(深圳)有限公司 | Message prompt method, device, electronic device and storage medium |
CN112199141A (en) * | 2020-09-18 | 2021-01-08 | 深圳传音控股股份有限公司 | Message processing method, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113485617A (en) | Animation display method and device, electronic equipment and storage medium | |
CN113018864A (en) | Virtual object prompting method and device, storage medium and computer equipment | |
CN113332726A (en) | Virtual character processing method and device, electronic equipment and storage medium | |
CN113350802A (en) | Voice communication method, device, terminal and storage medium in game | |
CN112215651A (en) | Information prompting method and device, storage medium and electronic equipment | |
CN113101657A (en) | Control method and device of game interface element, computer equipment and storage medium | |
CN113332719A (en) | Virtual article marking method, device, terminal and storage medium | |
CN113489637A (en) | Method and device for adding reminding object, storage medium and computer equipment | |
CN113360034B (en) | Picture display method, device, computer equipment and storage medium | |
CN113467659B (en) | Icon display method and device and storage medium | |
CN112163174B (en) | Message display method and device, storage medium and computer equipment | |
CN114095793A (en) | Video playing method and device, computer equipment and storage medium | |
CN116542740A (en) | Live broadcasting room commodity recommendation method and device, electronic equipment and readable storage medium | |
CN112799754B (en) | Information processing method, information processing device, storage medium and computer equipment | |
CN114168048A (en) | Application message reminding method and device, computer equipment and storage medium | |
CN116437155A (en) | Live broadcast interaction method and device, computer equipment and storage medium | |
CN115225971A (en) | Video progress adjusting method and device, computer equipment and storage medium | |
CN117101121A (en) | Game prop repairing method, device, terminal and storage medium | |
CN113343207A (en) | Information verification method and device, computer equipment and storage medium | |
CN112783386A (en) | Page jump method, device, storage medium and computer equipment | |
CN114416234B (en) | Page switching method and device, computer equipment and storage medium | |
CN115002496B (en) | Information processing method and device of live broadcast platform, computer equipment and storage medium | |
CN117579853A (en) | Information prompting method and device for live broadcasting room, electronic equipment and readable storage medium | |
CN114159786A (en) | Information display method and device, computer equipment and storage medium | |
CN116931781A (en) | Interface processing method and device, readable storage medium and computer equipment |
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 |