CN106547417B - Method and device for displaying background task message - Google Patents

Method and device for displaying background task message Download PDF

Info

Publication number
CN106547417B
CN106547417B CN201510603158.2A CN201510603158A CN106547417B CN 106547417 B CN106547417 B CN 106547417B CN 201510603158 A CN201510603158 A CN 201510603158A CN 106547417 B CN106547417 B CN 106547417B
Authority
CN
China
Prior art keywords
window
floating
message
read
task
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
Application number
CN201510603158.2A
Other languages
Chinese (zh)
Other versions
CN106547417A (en
Inventor
刘涵宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510603158.2A priority Critical patent/CN106547417B/en
Publication of CN106547417A publication Critical patent/CN106547417A/en
Application granted granted Critical
Publication of CN106547417B publication Critical patent/CN106547417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for displaying background task messages, which comprises the following steps: monitoring a background task, and displaying a small prompt window of a message to be read in a designated area of a foreground task interface when the message to be read of the background task arrives; when an instruction for triggering the small prompt window is received, acquiring a complete message to be read from a background task; and displaying a floating large window at the front end of the foreground task interface, and displaying a complete message to be read in the floating large window. The invention also discloses a device for displaying the background task message. The terminal of the invention displays a floating large window comprising the complete message at the front end of the currently displayed foreground task interface after the user triggers the small prompt window, the terminal does not need to switch the background task corresponding to the message to the foreground for operation, and the foreground task interface still displays the interface of the currently operated program on the foreground, thereby avoiding the terminal processing burden caused by switching the program and simplifying the task switching operation flow.

Description

Method and device for displaying background task message
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a method and a device for displaying background task messages.
Background
With the development of intelligent terminals, the information processing capability is more and more powerful, and more application software can be installed on the intelligent terminals. When the operating system of the intelligent terminal processes tasks, multiple tasks are usually performed simultaneously, and the operating system can support multiple different application software to run simultaneously and synchronously process various information and tasks. For example, when the terminal runs an application a in the foreground, the interface of the application a is displayed on the display screen of the terminal, and other applications run in the background, which does not interfere with the user's viewing and operation of the interface of the application a. If the application program B running in the background has a message to prompt the user, a small prompting window pops up in a small designated area on the screen. However, the content of the message displayed by the small prompt window is limited, and the complete message cannot be displayed, if the user needs to view the complete message, the user needs to click the small prompt window, the terminal switches the application program B running in the background to the foreground to run, and switches the interface of the currently displayed application program a to the interface of the application program B, so that the user can read the complete message content. After reading, the user needs to manually switch the interface of the response application program A to continue the previous operation. Therefore, the terminal needs to switch the two related application programs between the foreground and the background for multiple times, and the displayed interface also needs to be switched between the two application program interfaces, so that the workload of terminal processing is increased, and a complicated operation process is brought to a user.
Disclosure of Invention
The embodiment of the invention provides a method and a device for displaying background task messages, which can effectively reduce the processing load of a terminal and simplify the operation flow when a user reads the complete messages of a background application program.
The embodiment of the invention provides a method for displaying background task messages, which comprises the following steps:
monitoring a background task, and displaying a small prompt window of a message to be read in a designated area of a foreground task interface when the message to be read of the background task arrives;
when an instruction for triggering the small prompt window is received, acquiring the complete message to be read from the background task;
and displaying a floating large window at the front end of the foreground task interface, and displaying the complete message to be read in the floating large window.
The embodiment of the present invention further provides a device for displaying background task messages, including:
the small window prompting module is used for monitoring a background task and displaying a prompting small window of a message to be read in a specified area of a foreground task interface when the message to be read of the background task arrives;
the message acquisition module is used for acquiring the complete message to be read from the background task when receiving an instruction for triggering the prompt widget;
and the large window display module is used for displaying a floating large window at the front end of the foreground task interface and displaying the complete message to be read in the floating large window.
When a message arrives at a background task, the terminal displays the prompt information in the prompt small window, after a user triggers the prompt small window, a large floating window is generated at the front end of a currently displayed foreground task interface, and the complete message is displayed in the large floating window.
Drawings
FIG. 1 is a bus diagram of a terminal where a device for displaying background task messages is located according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for displaying background task messages according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for displaying background task messages according to the present invention;
FIG. 4 is a flowchart of a third embodiment of a method for displaying background task messages according to the present invention;
FIG. 5 is a flowchart of a fourth embodiment of a method for displaying background task messages according to the present invention;
FIG. 6 is a flowchart of a fifth embodiment of a method of displaying background task messages according to the present invention;
FIG. 7 is a block diagram illustrating a first embodiment of an apparatus for displaying background task messages according to the present invention;
FIG. 8 is a block diagram illustrating a device for displaying a background task message according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a bus diagram of a terminal where a device for displaying a background task message is located in the embodiment of the present invention. The terminal may include: at least one processor 101, e.g., a CPU, at least one network interface 104, a user interface 103, a memory 105, at least one communication bus 102. Wherein the communication bus 102 is used for enabling connection communication between these components. The user interface 103 may include a Display (Display), a Keyboard (Keyboard), a standard wired interface, and a standard wireless interface. The network interface 104 may include a standard wired interface, a wireless interface (e.g., a WIFI interface). The memory 105 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 105 may also be at least one storage device located remotely from the aforementioned processor 101. Memory 105, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a display background task message program.
In the terminal where the device for displaying the background task message shown in fig. 1 is located, the network interface 104 is mainly used for connecting a server or other terminals and performing data communication with the server or other terminals; the user interface 103 is mainly used for receiving user instructions and interacting with users; and processor 101 may be configured to invoke the display background task message program stored in memory 105 and perform the following operations:
monitoring a background task, and when a message to be read arrives at the background task, displaying a small prompt window of the message to be read in a designated area of a foreground task interface through a user interface 103;
when an instruction for triggering a prompt small window is received through the user interface 103, acquiring a complete message to be read from a background task;
and displaying a floating large window at the front end of the foreground task interface through the user interface 103, and displaying the complete message to be read in the floating large window.
In one embodiment, the processor 101 invoking the display background task message program stored in the memory 105 may further perform the following operations:
when the message to be read is video or audio information, the video or audio information is played in the floating large window through the user interface 103.
In one embodiment, the processor 101 invoking the display background task message program stored in the memory 105 may further perform the following operations:
when the message to be read is a long picture or long text message, the long picture or long text message is displayed in the floating large window through the user interface 103, and a sliding switching control is added in the floating large window.
In one embodiment, the processor 101 invoking the display background task message program stored in the memory 105 may further perform the following operations:
and covering the floating large window on the front end of the foreground task interface in a full screen mode through the user interface 103.
In one embodiment, the processor 101 invoking the display background task message program stored in the memory 105 may further perform the following operations:
when an instruction for triggering a closing control on the large floating window is received through the user interface 103, closing the large floating window displayed at the front end of the foreground task interface, and restoring the front end to display the foreground task interface;
and when an instruction for triggering the task switching control on the large floating window is received, switching the foreground task interface to the background task interface corresponding to the message to be read.
In the device for displaying background task messages and the terminal thereof described in this embodiment 1, when a message arrives at a background task, a prompt message is displayed in a prompt small window, after a user triggers the prompt small window, a floating large window is generated at the front end of a currently displayed foreground task interface, and a complete message is displayed in the floating large window, the terminal does not need to switch a background task corresponding to the message to be read to the foreground for operation, and a current program interface running in the foreground is still displayed on the foreground task interface, so that a terminal processing burden caused by switching programs is effectively avoided, and a task switching operation flow is simplified.
As shown in fig. 2, fig. 2 is a flowchart of a method for displaying a background task message according to a first embodiment of the present invention. The method for displaying the background task message includes the following steps:
step S10, monitoring the background task, and when the background task arrives at the message to be read, displaying a small prompt window of the message to be read in the appointed area of the foreground task interface;
the terminal for implementing the method for displaying the background task message in this embodiment may include a mobile phone, a PAD, and the like. The terminal runs one program in the foreground (i.e., foreground task) and a plurality of other programs in the background (i.e., background tasks). The interface of the program running on the foreground is displayed on a terminal display screen, namely, a foreground task interface is displayed, a user checks the interface of the currently running program on the foreground task interface and carries out related operation on the foreground task interface, so that the operation on the currently running program on the foreground is realized, and other programs running on the background are not displayed. When a message which needs to be checked by a user arrives at a certain background task in a plurality of programs running in the background, such as a short message, an interactive message sent by instant messaging software, a news prompt sent by a video client and the like, the terminal displays a small-area prompt box, namely a prompt small window, in a specified area on a foreground task interface, and the prompt small window is displayed above a display screen. The content displayed by the prompt widget may include the type of the message, the name of the running program, the time of arrival of the message, and the like, and may also include the content of the message. Because the display area of the small prompt window is small, the content of the displayed message is not complete, but only part of the content of the message. For example, a user is viewing a webpage on a terminal through a browser, when the terminal receives a short message, a bar-shaped prompt window is displayed above the browser, the type of the message is 'short message' displayed in the prompt window, the arrival time of the short message is also displayed, the first two rows of characters of the content of the short message are also included, and an ellipsis can be added behind the actual characters for indicating that the short message also has part of the content which is not displayed in the prompt box. If a plurality of messages arrive, a plurality of prompt widgets are displayed in the designated area.
Step S20, when receiving the instruction of triggering the prompt small window, acquiring the complete message to be read from the background task;
after the user sees the message of the small prompting window, if the user is not interested, the user does not need to care, and after the preset time is up, the terminal automatically closes the small prompting window. To avoid the user missing the message, the terminal may prompt in the notification bar, and look again or manually dismiss the prompt when the user is available. If the user is interested in the message, the prompt small window can be clicked, and the terminal acquires the complete message from the background task. If a plurality of small windows exist, the terminal only searches the background task corresponding to the message in the prompt small window selected by the user, and acquires the complete message from the searched background task.
Step S30, displaying a floating large window at the front end of the foreground task interface;
and step S40, displaying the complete message to be read in the floating large window.
Meanwhile, the terminal also displays a floating large window in a floating window mode at the front end of the foreground task interface, and the floating large window displays complete messages. Because the message is displayed in the floating window, the terminal does not need to switch the foreground task to the background task corresponding to the message, and the interface of the program currently running in the foreground is still displayed on the foreground task interface. In addition, the user can click to move the display position of the floating large window on the frame of the floating large window, or drag the frame of the floating large window to adjust the size of the floating large window.
In this embodiment, the terminal displays the message part of the background task in the small prompt window, after the user triggers the small prompt window, a large floating window is generated at the front end of the foreground task interface displayed currently, and the complete message is displayed in the large floating window, when the user reads the message in the large floating window, the foreground task interface always keeps foreground operation, the background task corresponding to the message also always keeps background operation, the terminal does not need to switch the background task corresponding to the message to be read to the foreground operation, the foreground task interface still displays the interface of the program running in the foreground, the terminal processing burden caused by switching the program is effectively avoided, and the task switching operation flow is simplified.
As shown in fig. 3, fig. 3 is a flowchart of a method for displaying a background task message according to a second embodiment of the present invention. The present embodiment includes the steps in the embodiment shown in fig. 1, wherein step S40 includes:
and step S41, when the message to be read is video or audio information, playing the video or audio information in the floating large window.
The message to be read in this embodiment may include various types such as characters, pictures, videos, and the like, or the message to be read may be formed by combining the various types. When the message to be read comprises characters or pictures, the characters or the pictures are directly displayed in the floating large window. If the message to be read comprises video or audio information, the video or audio information can be automatically played in the floating large window, or a playing control is newly added in the floating large window, and after the user triggers the playing control, the terminal plays the video or audio information in the floating large window. Therefore, the terminal does not need to switch the video or audio client to the foreground for operation, thereby effectively avoiding the terminal processing burden caused by switching programs and simplifying the task switching operation flow.
As shown in fig. 4, fig. 4 is a flowchart of a method for displaying a background task message according to a third embodiment of the present invention. This embodiment includes the steps in the embodiment shown in fig. 1, where step S40 further includes:
and step S42, when the content of the message to be read exceeds the display area of the floating large window, adding a sliding switching control in the floating large window, and displaying the message to be read in the floating large window in a slidable page turning mode.
The message to be read in this embodiment may include a long picture or a large text message, and the message may not be completely displayed in the floating large window due to the large content of the message. At this time, the message is displayed in the floating large window in a slidable page turning manner, and in order to implement the slidable page turning, the terminal further adds a sliding switching control, such as a scroll bar, or page up and page down buttons, to the floating large window. When a user needs to check the complete information, the displayed message can be turned in the floating large window only by dragging the scroll bar or clicking the buttons for turning up and down the page. When the terminal displays the message to be read in the large floating window, the terminal views the complete message in a sliding page turning mode, the terminal does not need to switch the background task corresponding to the message to the foreground to display the complete message, the terminal processing burden caused by switching programs is avoided, and the task switching operation flow is simplified.
As shown in fig. 5, fig. 5 is a flowchart of a fourth embodiment of a method for displaying a background task message according to the present invention. The present embodiment includes the steps in the embodiment shown in fig. 1, wherein step S30 includes:
and step S31, covering the floating large window on the front end of the foreground task interface in a full screen mode.
The size of the floating large window in the embodiment can be adjusted, and a user can drag the frame of the floating large window to adjust the size of the floating large window. And a full screen control can be arranged on the floating large window, and after a user clicks the full screen control, the floating large window is displayed at the front end of the current interface in a full screen mode. In order to facilitate a user to check the message, the terminal can display the floating large window in a full-screen mode in a default mode, the floating large window is covered at the front end of a foreground task interface in a full-screen mode, a reducing control can be further arranged on the floating large window displayed in the full-screen mode, and after the user clicks the reducing control, the terminal reduces the floating large window displayed in the full-screen mode to a preset size. In addition, the default display mode of the floating large window can be preset by the user, for example, the default full-screen display mode is set. Although the floating large window covers the front end of the foreground task interface in a full screen manner, the program corresponding to the message in the floating large window still runs in the background, and the terminal does not switch the background task corresponding to the message to the foreground to display the complete message, so that the terminal processing burden caused by switching the program is avoided, and the task switching operation flow is simplified.
As shown in fig. 6, fig. 6 is a flowchart of a fifth embodiment of a method for displaying a background task message according to the present invention. The present embodiment includes the steps in the embodiment shown in fig. 1, and further includes, after step S40:
step S51, when receiving an instruction for triggering the close control on the floating large window, closing the floating large window displayed at the front end of the foreground task interface, and restoring the front end to display the foreground task interface;
and step S52, when receiving an instruction for triggering the task switching control on the floating large window, switching the foreground task interface into the background task interface corresponding to the message to be read.
In this embodiment, a close control is further arranged on the floating large window, after the user finishes reading the information in the floating large window, the user clicks the close control, the floating large window displayed on the layer above the foreground task interface is closed by the terminal, the foreground task interface is restored to the interface displayed at the frontmost end in the terminal display screen, and the user can continue to operate the foreground task interface. And a quick switching control of the background task corresponding to the message can be displayed in the large floating window, and a user can click the quick switching control to switch the currently displayed interface to the interface of the background task corresponding to the message, so that the background task corresponding to the message can be consulted and operated. In the embodiment, when a user reads a message in a large floating window, a foreground task interface always keeps foreground operation, and a background task corresponding to the message also always keeps background operation, so that the terminal processing burden caused by a switching program is avoided, and the switching process is simplified; after the user clicks the switching control, the terminal switches the background task to the foreground for running and displaying, and the fast switching between the foreground task and the background task is realized.
As shown in fig. 7, fig. 7 is a block diagram illustrating a device for displaying a background task message according to a first embodiment of the present invention. The apparatus for displaying a background task message according to this embodiment includes:
the widget prompting module 110 is configured to monitor a background task, and when a message to be read arrives at the background task, display a prompting widget of the message to be read in a designated area of a foreground task interface;
the message acquiring module 120 is configured to acquire a complete message to be read from a background task when receiving an instruction for triggering a prompt widget;
and the large window display module 130 is configured to display a floating large window at the front end of the foreground task interface, and display a complete message to be read in the floating large window.
In this embodiment, the terminal where the device for displaying the background task message is located may include a mobile phone, a PAD, and the like. The terminal runs one program in the foreground (i.e., foreground task) and a plurality of other programs in the background (i.e., background tasks). The interface of the program running on the foreground is displayed on a terminal display screen, namely, a foreground task interface is displayed, a user checks the interface of the currently running program on the foreground task interface and carries out related operation on the foreground task interface, so that the operation on the currently running program on the foreground is realized, and other programs running on the background are not displayed. When a message which needs to be checked by a user arrives at a certain background task in a plurality of programs running in the background, such as a short message, an interactive message sent by instant messaging software, a news prompt sent by a video client and the like, the terminal displays a small-area prompt box, namely a prompt small window, in a specified area on a foreground task interface, and the prompt small window is displayed above a display screen. The content displayed by the prompt widget may include the type of the message, the name of the running program, the time of arrival of the message, and the like, and may also include the content of the message. Because the display area of the small prompt window is small, the content of the displayed message is not complete, but only part of the content of the message. For example, a user is viewing a webpage on a terminal through a browser, when the terminal receives a short message, a bar-shaped prompt window is displayed above the browser, the type of the message is 'short message' displayed in the prompt window, the arrival time of the short message is also displayed, the first two rows of characters of the content of the short message are also included, and an ellipsis can be added behind the actual characters for indicating that the short message also has part of the content which is not displayed in the prompt box. If a plurality of messages arrive, a plurality of prompt widgets are displayed in the designated area.
After the user sees the message of the small prompting window, if the user is not interested, the user does not need to care, and after the preset time is up, the terminal automatically closes the small prompting window. To avoid the user missing the message, the terminal may prompt in the notification bar, and look again or manually dismiss the prompt when the user is available. If the user is interested in the message, the prompt small window can be clicked, and the terminal acquires the complete message from the background task. If a plurality of small windows exist, the terminal only searches the background task corresponding to the message in the prompt small window selected by the user, and acquires the complete message from the searched background task.
Meanwhile, the terminal also displays a floating large window in a floating window mode at the front end of the foreground task interface, and the floating large window displays complete messages. Because the message is displayed in the floating window, the terminal does not need to switch the foreground task to the background task corresponding to the message, and the interface of the program currently running in the foreground is still displayed on the foreground task interface. In addition, the user can click to move the display position of the floating large window on the frame of the floating large window, or drag the frame of the floating large window to adjust the size of the floating large window.
In this embodiment, the terminal displays the message part of the background task in the small prompt window, after the user triggers the small prompt window, a large floating window is generated at the front end of the foreground task interface displayed currently, and the complete message is displayed in the large floating window, when the user reads the message in the large floating window, the foreground task interface always keeps foreground operation, the background task corresponding to the message also always keeps background operation, the terminal does not need to switch the background task corresponding to the message to be read to the foreground operation, the foreground task interface still displays the interface of the program running in the foreground, the terminal processing burden caused by switching the program is effectively avoided, and the task switching operation flow is simplified.
Further, the large window display module 130 is further configured to play the video or audio information in the floating large window when the message to be read is the video or audio information.
The message to be read in this embodiment may include various types such as characters, pictures, videos, and the like, or the message to be read may be formed by combining the various types. When the message to be read comprises characters or pictures, the characters or the pictures are directly displayed in the floating large window. If the message to be read comprises video or audio information, the video or audio information can be automatically played in the floating large window, or a playing control is newly added in the floating large window, and after the user triggers the playing control, the terminal plays the video or audio information in the floating large window. Therefore, the terminal does not need to switch the video or audio client to the foreground for operation, thereby effectively avoiding the terminal processing burden caused by switching programs and simplifying the task switching operation flow.
Further, the large window display module 130 is further configured to, when the content of the message to be read exceeds the display area of the floating large window, add a sliding switching control in the floating large window, and display the message to be read in the floating large window in a slidable page-turning manner.
The message to be read in this embodiment may include a long picture or a large text message, and the message may not be completely displayed in the floating large window due to the large content of the message. At this time, the message is displayed in the floating large window in a slidable page turning manner, and in order to implement the slidable page turning, the terminal further adds a sliding switching control, such as a scroll bar, or page up and page down buttons, to the floating large window. When a user needs to check the complete information, the displayed message can be turned in the floating large window only by dragging the scroll bar or clicking the buttons for turning up and down the page. When the terminal displays the message to be read in the large floating window, the terminal views the complete message in a sliding page turning mode, the terminal does not need to switch the background task corresponding to the message to the foreground to display the complete message, the terminal processing burden caused by switching programs is avoided, and the task switching operation flow is simplified.
Further, the large window display module 130 is further configured to cover the floating large window on the front end of the foreground task interface in a full screen manner.
The size of the floating large window in the embodiment can be adjusted, and a user can drag the frame of the floating large window to adjust the size of the floating large window. And a full screen control can be arranged on the floating large window, and after a user clicks the full screen control, the floating large window is displayed at the front end of the current interface in a full screen mode. In order to facilitate a user to check the message, the terminal can display the floating large window in a full-screen mode in a default mode, the floating large window is covered at the front end of a foreground task interface in a full-screen mode, a reducing control can be further arranged on the floating large window displayed in the full-screen mode, and after the user clicks the reducing control, the terminal reduces the floating large window displayed in the full-screen mode to a preset size. In addition, the default display mode of the floating large window can be preset by the user, for example, the default full-screen display mode is set. Although the floating large window covers the front end of the foreground task interface in a full screen manner, the program corresponding to the message in the floating large window still runs in the background, and the terminal does not switch the background task corresponding to the message to the foreground to display the complete message, so that the terminal processing burden caused by switching the program is avoided, and the task switching operation flow is simplified.
As shown in fig. 8, fig. 8 is a block diagram illustrating a device for displaying a background task message according to a second embodiment of the present invention. This embodiment includes the modules in the embodiment shown in fig. 7, and further includes:
the window closing module 140 is configured to close the large floating window displayed at the front end of the foreground task interface and restore the front end to display the foreground task interface when an instruction for triggering a closing control on the large floating window is received;
and the task switching module 150 is configured to switch the foreground task interface to a background task interface corresponding to the message to be read when receiving an instruction for triggering the task switching control on the large floating window.
In this embodiment, a close control is further arranged on the floating large window, after the user finishes reading the information in the floating large window, the user clicks the close control, the floating large window displayed on the layer above the foreground task interface is closed by the terminal, the foreground task interface is restored to the interface displayed at the frontmost end in the terminal display screen, and the user can continue to operate the foreground task interface. And a quick switching control of the background task corresponding to the message can be displayed in the large floating window, and a user can click the quick switching control to switch the currently displayed interface to the interface of the background task corresponding to the message, so that the background task corresponding to the message can be consulted and operated. In the embodiment, when a user reads a message in a large floating window, a foreground task interface always keeps foreground operation, and a background task corresponding to the message also always keeps background operation, so that the terminal processing burden caused by a switching program is avoided, and the switching process is simplified; after the user clicks the switching control, the terminal switches the background task to the foreground for running and displaying, and the fast switching between the foreground task and the background task is realized.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method of displaying background task messages, comprising the steps of:
monitoring a background task, and displaying a small prompt window of a message to be read in a designated area of a foreground task interface when the message to be read of the background task arrives; the small prompt window displays part of the content of the message to be read;
when an instruction for triggering the small prompt window is received, acquiring the complete message to be read from the background task;
displaying a large floating window at the front end of the foreground task interface, and displaying the complete message to be read in the large floating window, wherein the size of the large floating window is adjusted according to a dragging instruction under the condition that the dragging instruction triggered by dragging the frame of the large floating window is received, the adjusted large floating window is covered at the front end of the foreground task interface, a full-screen control is arranged on the large floating window, the large floating window is triggered to be covered at the front end of the foreground task interface in a full-screen manner under the condition that the touch instruction for touching the full-screen control is received, a reducing control is further arranged on the large floating window, and the large floating window is triggered to be covered at the front end of the foreground task interface in a preset size under the condition that the touch instruction for touching the reducing control is received;
when the complete message to be read is displayed in the large floating window, the background task corresponding to the message to be read is kept running in the background;
when the message to be read is video or audio information, automatically playing the video or audio information in the floating large window; or, under the condition that a play control in the floating large window is triggered, playing video or audio information in the floating large window;
when the content of the message to be read exceeds the display area of the floating large window, adding a sliding switching control in the floating large window, and displaying the message to be read in the floating large window in a slidable page turning mode;
and if the instruction for triggering the small prompting window is not received, closing the small prompting window after the preset time is up.
2. A method of displaying background task messages according to claim 1, wherein the method further comprises:
and covering the floating large window on the front end of the foreground task interface in a full screen manner, and setting the default display mode of the floating large window.
3. A method for displaying background task messages according to claim 1 or 2, wherein the step of displaying the complete message to be read in the floating large window is further followed by:
when an instruction for triggering a closing control on the large floating window is received, closing the large floating window displayed at the front end of the foreground task interface, and restoring the front end to display the foreground task interface;
and when an instruction for triggering the task switching control on the large floating window is received, switching the foreground task interface to the background task interface corresponding to the message to be read.
4. An apparatus for displaying background task messages, comprising:
the small window prompting module is used for monitoring a background task and displaying a prompting small window of a message to be read in a specified area of a foreground task interface when the message to be read of the background task arrives; the small prompt window displays part of the content of the message to be read;
the message acquisition module is used for acquiring the complete message to be read from the background task when receiving an instruction for triggering the prompt widget;
a large window display module, configured to display a floating large window at the front end of the foreground task interface, and display the complete message to be read in the floating large window, wherein, under the condition of receiving a dragging instruction triggered by dragging the frame of the floating large window, the size of the floating large window is adjusted according to the dragging instruction, covering the adjusted floating large window on the front end of the foreground task interface, wherein the floating large window is provided with a full screen control, when a touch instruction for touching the full screen control is received, triggering the floating large window to cover the front end of the foreground task interface in a full screen manner, wherein the floating large window is also provided with a reducing control, when a touch instruction for touching the zoom-out control is received, triggering the large floating window to cover the front end of the foreground task interface according to a preset size;
when the complete message to be read is displayed in the large floating window, the background task corresponding to the message to be read is kept running in the background;
the large window display module is also used for automatically playing the video or audio information in the floating large window when the message to be read is the video or audio information; or, under the condition that a play control in the floating large window is triggered, playing video or audio information in the floating large window;
the large window display module is further used for adding a sliding switching control in the floating large window and displaying the message to be read in the floating large window in a slidable page turning mode when the content of the message to be read exceeds the display area of the floating large window;
the device is also used for closing the small prompting window after the preset time is up if the instruction for triggering the small prompting window is not received.
5. The apparatus for displaying background task messages according to claim 4, wherein the large window display module is further configured to set the floating large window to be overlaid full-screen on the front end of the foreground task interface as a default display mode of the floating large window.
6. An apparatus for displaying background task messages according to claim 4, further comprising:
the window closing module is used for closing the floating large window displayed at the front end of the foreground task interface and restoring the front end to display the foreground task interface when receiving an instruction for triggering a closing control on the floating large window;
and the task switching module is used for switching the foreground task interface to the background task interface corresponding to the message to be read when receiving an instruction for triggering the task switching control on the large floating window.
7. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 3.
8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 3 by means of the computer program.
CN201510603158.2A 2015-09-21 2015-09-21 Method and device for displaying background task message Active CN106547417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510603158.2A CN106547417B (en) 2015-09-21 2015-09-21 Method and device for displaying background task message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510603158.2A CN106547417B (en) 2015-09-21 2015-09-21 Method and device for displaying background task message

Publications (2)

Publication Number Publication Date
CN106547417A CN106547417A (en) 2017-03-29
CN106547417B true CN106547417B (en) 2021-03-26

Family

ID=58364175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510603158.2A Active CN106547417B (en) 2015-09-21 2015-09-21 Method and device for displaying background task message

Country Status (1)

Country Link
CN (1) CN106547417B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107219974A (en) * 2017-05-26 2017-09-29 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for showing application software
CN108040091B (en) * 2017-11-27 2022-07-01 腾讯数码(天津)有限公司 Data processing method, device and storage medium
CN108269030A (en) * 2018-03-08 2018-07-10 深圳市买买提信息科技有限公司 A kind of task processing method and server
CN109271223A (en) * 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 Windows switching method, device, terminal and computer readable storage medium
CN109242653A (en) * 2018-11-13 2019-01-18 徐凤林 Commodity comparison method and device used in a kind of shopping process
CN109783173B (en) * 2019-01-10 2022-04-19 北京北信源软件股份有限公司 Client-oriented multi-server fast switching management method
CN109960557A (en) * 2019-03-28 2019-07-02 维沃移动通信有限公司 A kind of display methods and terminal device
CN112311651B (en) * 2019-07-23 2022-09-30 腾讯科技(深圳)有限公司 Cross-client communication method and device, electronic equipment and storage medium
CN111143011B (en) * 2019-12-27 2022-08-09 维沃移动通信有限公司 Display method and electronic equipment
CN111857500B (en) * 2020-06-30 2022-02-08 维沃移动通信有限公司 Message display method and device, electronic equipment and storage medium
CN112379804B (en) * 2020-11-16 2023-01-17 联想(北京)有限公司 Application control method and electronic equipment
CN115016718A (en) * 2021-02-22 2022-09-06 北京小米移动软件有限公司 Interface display method, interface display device and storage medium
CN113115115B (en) * 2021-03-05 2023-06-20 广州虎牙科技有限公司 Message pushing method, device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929535A (en) * 2012-10-09 2013-02-13 中兴通讯股份有限公司 Method for controlling position of floating window, and terminal
CN103051516A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Message prompting method and device of instant messaging client
CN103685731A (en) * 2013-11-15 2014-03-26 北京奇虎科技有限公司 Message communication method and message communication client
CN104317562A (en) * 2014-09-25 2015-01-28 北京金山安全软件有限公司 Information display method and device and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130318429A1 (en) * 2012-05-22 2013-11-28 Movile Dynamic floating web video player
CN104580670A (en) * 2013-10-23 2015-04-29 腾讯科技(深圳)有限公司 Method for processing notification message of mobile terminal and mobile terminal
CN104793838B (en) * 2014-01-20 2019-08-27 南京中兴软件有限责任公司 A kind of method and device for realizing the display that suspends
CN104090720B (en) * 2014-04-10 2019-05-07 中兴通讯股份有限公司 A kind of method and device shown based on gesture operation adjustment terminal window
CN104049847A (en) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Information prompt method and system of mobile terminal
CN104239136A (en) * 2014-08-12 2014-12-24 广州三星通信技术研究有限公司 Application program switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051516A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Message prompting method and device of instant messaging client
CN102929535A (en) * 2012-10-09 2013-02-13 中兴通讯股份有限公司 Method for controlling position of floating window, and terminal
CN103685731A (en) * 2013-11-15 2014-03-26 北京奇虎科技有限公司 Message communication method and message communication client
CN104317562A (en) * 2014-09-25 2015-01-28 北京金山安全软件有限公司 Information display method and device and terminal

Also Published As

Publication number Publication date
CN106547417A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106547417B (en) Method and device for displaying background task message
US10613701B2 (en) Customizable bladed applications
US20170195613A1 (en) Method and electronic device for displaying video being played
CN108121738B (en) Media content display method and device
US9135022B2 (en) Cross window animation
CN107391117B (en) Split screen processing method and device for light application and electronic device
CN109388463B (en) Split screen display method of tablet personal computer application software, storage medium and tablet personal computer
WO2018036544A1 (en) Method of playing video in browser window, device, and data storage medium
CN109218819B (en) Video preview method and mobile terminal
CN105488051B (en) Webpage processing method and device
CN111813308B (en) Interface processing method and device, electronic equipment and storage medium
US11314391B2 (en) Navigation bar controlling method and terminal
CN107045546B (en) Webpage processing method and device and intelligent terminal
US20160196588A1 (en) Interacting method
CN103793436A (en) Page browsing method and browser
JP2019008668A (en) Client device, image processing system, image display method, and program
WO2017113855A1 (en) Application program interaction method and terminal
US20160345059A1 (en) Method and device for switching channel
KR20140086979A (en) Method of internet browser-based remote user interface virtual mouse cursor positioning
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
WO2014198137A1 (en) Method and apparatus for displaying tag data
CN110007831B (en) Page turning control method and device and terminal equipment
CN112181252B (en) Screen capturing method and device and electronic equipment
CN114356479B (en) Page rendering method and device
CN114895815A (en) Data processing method and electronic 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
GR01 Patent grant
GR01 Patent grant