CN111930283A - Message display method and computing device - Google Patents

Message display method and computing device Download PDF

Info

Publication number
CN111930283A
CN111930283A CN202011081527.3A CN202011081527A CN111930283A CN 111930283 A CN111930283 A CN 111930283A CN 202011081527 A CN202011081527 A CN 202011081527A CN 111930283 A CN111930283 A CN 111930283A
Authority
CN
China
Prior art keywords
message
popup
display
computing device
type
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.)
Granted
Application number
CN202011081527.3A
Other languages
Chinese (zh)
Other versions
CN111930283B (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.)
Wuhan Deepin Technology Co ltd
Original Assignee
Wuhan Deepin Technology 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 Wuhan Deepin Technology Co ltd filed Critical Wuhan Deepin Technology Co ltd
Priority to CN202011081527.3A priority Critical patent/CN111930283B/en
Publication of CN111930283A publication Critical patent/CN111930283A/en
Application granted granted Critical
Publication of CN111930283B publication Critical patent/CN111930283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a message display method, which is executed in a computing device, wherein the computing device is resident with one or more applications and a plurality of message managers, each message manager respectively corresponds to a message type and a corresponding message popup template, and the method comprises the following steps: receiving a message display request sent by an application, wherein the message display request comprises a message type and message content; determining a message manager corresponding to the message type, and acquiring a corresponding message popup template; generating a corresponding message popup based on the message popup template and the message content; controlling a message popup to display on a screen of a computing device based on a message manager corresponding to a message type. The invention also discloses corresponding computing equipment. The message display method can uniformly manage the styles of a plurality of message popup windows of corresponding message types based on the message manager, and can realize the uniformity of the styles of the message popup windows of each type so as to realize the uniformity of the overall styles of various application interfaces on a desktop.

Description

Message display method and computing device
Technical Field
The invention relates to the technical field of computers and internet, in particular to a message display method and a computing device.
Background
With the development of the internet, a large number of executable applications are installed in computers and mobile terminals such as mobile phones and tablets. The application program often triggers the generation of a popup message during execution to prompt the user about the progress or execution result of the application executing the task.
In the prior art, in an application running on a UOS (unified operating system, one of the releases of Linux), a popup message mechanism of each application is different, so that a style of a message popup generated by each application is not uniform, and a uniform style cannot be maintained with an interface of the UOS system, so that an overall style of each application interface in a desktop environment is not coordinated and uniform, and a visual effect is poor. In addition, all message popups generated by a DTK-based control (e.g., a DDialog control) disappear only by clicking once by a user, an automatic closing effect cannot be realized, frequent operations by the user are required, and user experience is inevitably influenced.
For this reason, a message display method is required to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides a message display method in an attempt to solve or at least alleviate the above-identified problems.
According to an aspect of the present invention, there is provided a message display method, executed in a computing device having one or more applications, a plurality of message managers, each message manager corresponding to a message type and a corresponding message popup template, respectively, the method comprising: receiving message display requests sent by one or more applications, wherein the message display requests comprise message types and message contents; determining a message manager corresponding to the message type, and acquiring a corresponding message popup template; generating a corresponding message popup based on the message popup template and the message content; and controlling the message popup to be displayed on the screen of the computing device based on a message manager corresponding to the message type.
Optionally, in the message display method according to the present invention, the message manager is adapted to control one or more message popwindows corresponding to respective message types to be displayed based on the generation time.
Optionally, in the message display method according to the present invention, further comprising the steps of: determining the number of message popups corresponding to each message type currently displayed on the screen based on a message manager to judge whether the number of message popups corresponding to each message type exceeds a threshold value; if the threshold is exceeded, a predetermined number of message popwindows with the earliest generation time are closed.
Optionally, in the message display method according to the present invention, the message types include a timed display message and a persistent display message, and the step of controlling the message pop-up display on the screen of the computing device includes: if the message is displayed at fixed time, determining the display time corresponding to the message popup window, and displaying the message popup window on the screen of the computing equipment; and after waiting for the display time, controlling to close the message popup window.
Optionally, in the message display method according to the present invention, the step of controlling the message popup to be displayed on the screen of the computing device further includes: if the message is continuously displayed, monitoring the closing operation of the user on the message popup window; and controlling to close the message popup window when receiving the closing operation of the user to the message popup window.
Optionally, in the message display method according to the present invention, a message popup corresponding to the continuously displayed message includes a close button, and the step of monitoring a closing operation of the message popup by the user includes: judging whether an event that a user clicks a closing button is received, if so, controlling to close the message popup; and if not, continuing to display the message popup.
Optionally, in the message display method according to the present invention, the step of controlling the message popup to be displayed on the screen of the computing device further includes: determining a message popup type, wherein the message popup type comprises an application interface popup and a desktop popup; if the application interface is the popup window, controlling the message popup window to be displayed at the bottom of the corresponding application interface; and if the message popup window is the desktop popup window, controlling the message popup window to be displayed at the top of the desktop.
Optionally, in the message display method according to the present invention, the message content includes one or more of a corresponding application identifier, text content, and storage information.
Optionally, in the message display method according to the present invention, before receiving a message display request sent by one or more applications, the method includes the steps of: and receiving an operation event of the application by the user.
Optionally, in the message display method according to the present invention, after receiving an operation event of the application by the user, the method includes the steps of: adding the operation event to a message queue; and successively acquiring the operation events from the message queue, and sending the acquired operation events to the corresponding application so that the application sends a corresponding message display request based on the operation events.
Optionally, in the message display method according to the present invention, the message manager is in a singleton mode.
According to an aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the message display method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the technical scheme of the invention, the message managers respectively corresponding to each message type are configured in the computing equipment and adopt the singleton mode, so that the message managers corresponding to each message type can be ensured to provide the same message popup template to create a plurality of messages. In this way, when multiple applications in the computing device trigger the popping of multiple messages, since all message pops of the same type are generated based on the same message popup template, the style of all message pops of the same type can be unified. Therefore, according to the technical scheme of the invention, the styles of the plurality of message popup windows of the corresponding message types can be uniformly controlled and managed based on the message manager, so that the unification of the styles of the message popup windows of each type can be realized, and the unification of the overall styles of various application interfaces on a desktop can be realized by setting the style of the message popup window corresponding to each message type to be consistent with the style of an operating system.
Further, according to the technical solution of the present invention, the display of each message popup in the computing device is also controlled by a message manager corresponding to the message type, and each message manager is responsible for managing and controlling the display of all message pops of the corresponding type. In this way, not only is unified management of each type of message popup facilitated, but also control of message popup display timing or continuous display based on display requirements of the message can be achieved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention; and
fig. 2 shows a flow diagram of a message display method 200 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
According to the message display scheme of the present invention, the display of message pops can be controlled according to message types, wherein a plurality of messages of each message type generate a uniform style of message pops based on a uniform template provided by a corresponding message manager, and the display of a plurality of message pops of the same type is managed and controlled by the corresponding message manager.
Fig. 1 is a schematic block diagram of an example computing device 100.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 can be arranged to execute instructions on an operating system with program data 124 by one or more processors 104.
The computing device 100 also includes a storage device 132, the storage device 132 including removable storage 136 and non-removable storage 138, the removable storage 136 and the non-removable storage 138 each connected to the storage interface bus 134.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in a manner that encodes information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 100 may be implemented as a personal computer including both desktop and notebook computer configurations. Of course, computing device 100 may also be implemented as part of a small-form factor portable (or mobile) electronic device such as a cellular telephone, a digital camera, a Personal Digital Assistant (PDA), a personal media player device, a wireless web-watch device, a personal headset, an application specific device, or a hybrid device that include any of the above functions. And may even be implemented as a server, such as a file server, a database server, an application server, a WEB server, and so forth. The embodiments of the present invention are not limited thereto.
In an embodiment in accordance with the invention, the computing device 100 is configured to perform a message display method 200 in accordance with the invention. Among other things, application 122 of computing device 100 contains a plurality of program instructions that implement message display method 200 in accordance with the present invention.
Fig. 2 shows a flow diagram of a message display method 200 according to one embodiment of the invention. It should be noted that in the embodiment according to the present invention, one or more applications that can trigger the pop-up of a message reside in the computing device 100, and the one or more applications can trigger the pop-up of multiple types of messages. Moreover, a plurality of message managers are pre-configured in the computing device 100, and each message manager corresponds to one message type and a corresponding message popup template. It should be noted here that the message managers use the singleton model, that is, each message manager is adapted to create a unique instance and provide this instance for all objects. Thus, each message manager can only create a unique message popup template and provide this one message popup template for all messages of the corresponding type to be generated, i.e., the message manager for each message type provides the same message popup template to create multiple messages. In this way, when multiple applications in the computing device trigger the popping of multiple messages, all message pops of the same type are created and generated based on the same message popup template, so that the style of all message pops of the same type can be guaranteed to be uniform.
As shown in fig. 2, the method 200 begins at step S210.
In step S210, a message display request sent by one or more applications is received, where the message display request includes a message type and a message content corresponding to a message requested to be displayed. Here, the message requested for display is adapted to be presented on the screen of the computing device in the form of a message pop including the corresponding message content, such that the message content is presented to the client user through the message pop. The message content includes one or more of corresponding application identification, text content and storage information, for example.
In some embodiments, an application may be triggered to send a message display request to the computing device 100 to request the computing device 100 (to send a corresponding instruction to the operating system) to pop up a corresponding message popup to display message content on a screen of the computing device and present the message content to a client user during execution of a task, for example, when a corresponding task is executed in response to an operation of the user, when execution progress needs to be presented to the user during execution of the task, or when execution results need to be presented to the user when execution of the task is completed.
In one embodiment, computing device 100 (operating system) first receives an operation event of the application by the user before the application sends a message display request to computing device 100 in response to the user's operation. The computing device 100 will add the user's operational events to the application to the message queue, it being understood that multiple operational events of the user to multiple applications may be included in the message queue, and the multiple operational events are arranged in the message queue based on the order of addition. Further, the computing device 100 successively acquires the operation events from the message queue and transmits each acquired operation event to the corresponding application to instruct the application to transmit a corresponding message display request to the computing device 100 according to the operation event of the user.
It should be noted that the present invention is not limited to the specific embodiment in which the above-described application triggers the message display request in response to the user's operation. In addition, in other embodiments, when the application receives an indication of the server and needs to prompt the user with a corresponding message according to the indication of the server, the application may also be triggered to send a message display request to request the computing device to pop up a corresponding message popup window, so as to display the message content on the screen of the computing device and display the message content to the client user.
Subsequently, in step S220, the computing device 100 determines a message manager corresponding to the message type in the message display request, and acquires a corresponding message popup template.
Subsequently, in step S230, the computing device 100 generates a corresponding message popup based on the message popup template and the message content in the message display request. Here, the style of the generated message popup is determined based on a message popup template, in which, for example, style information of the message popup, including, for example, information of shape, size, color, and the like, and style information of each icon in the popup are included.
Finally, in step S240, the message popup is controlled to be displayed on the screen of the computing device 100 based on the message manager corresponding to the message type. That is, after determining the type of the message to be displayed according to the message display request of the application, the message manager corresponding to the message type controls the display of the message popup. Thus, according to the method 200 of the present invention, the display of the message popup corresponding to each application is controlled by the message manager corresponding to the message type, which enables the management and control of the display of all the message pops of the corresponding type by each message manager.
According to one embodiment, the message types comprise a timing display message and a continuous display message, and the timing display message and the continuous display message respectively correspond to different message managers. It should be noted that the application may determine the type of the message according to the display requirement of the message (i.e., the display requirement is the way of presenting the message to the user), and send a message display request to the computing device, requesting the computing device to display the message based on the corresponding message type.
After determining the message manager corresponding to the message type and generating the corresponding message popup, the message manager corresponding to the message type may specifically control the message popup to be displayed on the screen of the computing device according to the following method:
if the type of the message requested to be displayed is a time display message, the message manager corresponding to the time display message determines the display time corresponding to the message popup when controlling the display of the message popup, and displays the message popup on the screen of the computing device 100. And after waiting for the corresponding display time, the message manager controls to close the message popup. Here, the display time is, for example, 2s to 5 s. However, it should be noted that the display time of the timing display message is not specifically limited by the present invention, and the display time can be set by those skilled in the art according to the actual requirement. In one embodiment, the timed display message includes, for example, a message that only needs to briefly prompt the user for the execution status of the application, including the saved status of the text editor.
If the message type requested to be displayed is a continuous display message, the message manager corresponding to the continuous display message monitors the closing operation of the message popup by the user when controlling the message popup to be displayed. And when receiving the closing operation of the user to the message popup, controlling to close the message popup. In one embodiment, the continuously displayed messages include, but are not limited to, voice prompt messages, video call prompt messages, and other messages requiring user action.
According to one embodiment, a closing button is included on a message popup corresponding to a continuously displayed message, and a message manager determines whether a closing operation of a user on the message popup is received by judging whether an event that the user clicks the closing button is received or not when monitoring the closing operation of the user on the message popup. Specifically, if an event that a user clicks a close button is received, closing a message popup is controlled; and if the event that the user clicks a close button is not received, continuing to display the message popup.
Thus, according to the technical scheme of the invention, the application can determine the type of the message according to the display requirement of the message and request the computing equipment to display the message based on the message type, so that the display of the message popup window can be controlled based on the display requirement of the message. Specifically, when the message needs to be displayed at regular time, the message manager corresponding to the message displayed at regular time can control the corresponding message popup to be displayed at regular time, so that the message popup can be automatically closed after the message is presented to the user; when the message needs to be continuously displayed, the message manager corresponding to the continuously displayed message can control the corresponding message popup to be continuously displayed, and the popup cannot be closed until the user triggers the closing of the message popup.
According to one embodiment, the message manager may control one or more message popwindows corresponding to respective message types to be displayed based on the generation time. Here, each type of message popup is controlled to be displayed in a superimposed manner in the order of generation time, and a later generated message popup is displayed in a superimposed manner on a previously generated message popup.
According to an embodiment, in the message display method 200 according to the present invention, the number of message pops corresponding to each message type currently displayed on the screen may also be determined by the message manager, so as to determine whether the number of message pops corresponding to each message type exceeds a threshold. And if the number of the message popwindows corresponding to one message type exceeds the threshold value, closing the predetermined number of message popwindows with the earliest generation time in all the message popwindows corresponding to the message type. Here, the present invention does not limit the specific value of the threshold. For example, the threshold may be 3, so that when the number of message pops of the same message type exceeds 3, the predetermined number of message pops with the earliest generation time is controlled to be closed.
It should be noted that, in all the message popwindows corresponding to the same message type, the message popwindow with the earlier generation time is the message with the lowest user concern relatively, and by closing the predetermined number of message popwindows with the earliest generation time, it is possible to avoid that a plurality of messages of the same type are stacked together to occupy more resource space and affect the look-up effect and the use experience of the user.
In addition, in the message display method 200 according to the present invention, while controlling the message popup to be displayed on the screen of the computing device, it is also possible to determine the type of the message popup and control the display position of the message popup according to the type of the message popup. Here, the message popup type includes an application interface popup, i.e., a popup suitable for being displayed superimposed on an application interface, and a desktop popup, i.e., a popup suitable for being displayed on a desktop.
According to one embodiment, if the type of the message popup is an application interface popup, the message popup is controlled to be displayed at the bottom of the corresponding application interface. And if the type of the message popup is the desktop popup, controlling the message popup to be displayed at the top of the desktop. Here, it should be noted that the present invention is not limited to the specific position of the application interface popup displayed on the application interface, nor is the specific position of the desktop popup displayed on the desktop, which can be set by a person skilled in the art according to the actual situation.
According to the message display method, the message managers respectively corresponding to the message types are configured in the computing equipment, and the message managers adopt the singleton mode, so that the message managers corresponding to the message types can be ensured to provide the same message popup template to create a plurality of messages. In this way, when multiple applications in the computing device trigger the popping of multiple messages, since all message pops of the same type are generated based on the same message popup template, the style of all message pops of the same type can be unified. Therefore, according to the technical scheme of the invention, the styles of the plurality of message popup windows of the corresponding message types can be uniformly controlled and managed based on the message manager, so that the unification of the styles of the message popup windows of each type can be realized, and the unification of the overall styles of various application interfaces on a desktop can be realized by setting the style of the message popup window corresponding to each message type to be consistent with the style of an operating system.
In addition, the display of each message popup in the computing device is also controlled by a message manager corresponding to the message type, with each message manager being responsible for managing and controlling the display of all message pops of the respective type. In this way, not only is unified management of each type of message popup facilitated, but also control of message popup display timing or continuous display based on display requirements of the message can be achieved.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the multilingual spam-text recognition method of the present invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (12)

1. A message display method, executed in a computing device having one or more applications resident therein, a plurality of message managers, each message manager corresponding to a respective message type and a respective message popup template, the method comprising:
receiving message display requests sent by one or more applications, wherein the message display requests comprise message types and message contents;
determining a message manager corresponding to the message type, and acquiring a corresponding message popup template;
generating a corresponding message popup based on the message popup template and the message content;
controlling the message popup to be displayed on a screen of the computing device based on a message manager corresponding to the message type;
determining the number of message popups corresponding to each message type currently displayed on the screen based on a message manager to judge whether the number of message popups corresponding to each message type exceeds a threshold value;
if the threshold is exceeded, a predetermined number of message popwindows with the earliest generation time are closed.
2. The message display method of claim 1, wherein the message manager is adapted to control one or more message popwindows corresponding to respective message types to be displayed based on a generation time.
3. The message display method of claim 1, wherein the message types include a timed display message and a persistent display message, the step of controlling the popup display of the message on the screen of the computing device comprising:
if the message is displayed at fixed time, determining the display time corresponding to the message popup window, and displaying the message popup window on the screen of the computing equipment; and
and after waiting for the display time, controlling to close the message popup window.
4. The message display method of claim 3, wherein the step of controlling the message popup to be displayed on the screen of the computing device further comprises:
if the message is continuously displayed, monitoring the closing operation of the user on the message popup window; and
and when receiving the closing operation of the user to the message popup, controlling to close the message popup.
5. The message display method of claim 4, wherein the message popup corresponding to the continuously displayed message includes a close button, and the step of monitoring the close operation of the message popup by the user includes:
determining whether a user click close button event is received,
if yes, controlling to close the message popup window;
and if not, continuing to display the message popup.
6. The message display method of any of claims 1-5, wherein controlling the message popup display on the screen of the computing device further comprises:
determining a message popup type, wherein the message popup type comprises an application interface popup and a desktop popup;
if the application interface is the popup window, controlling the message popup window to be displayed at the bottom of the corresponding application interface;
and if the message popup window is the desktop popup window, controlling the message popup window to be displayed at the top of the desktop.
7. The message display method according to any one of claims 1 to 5,
the message content comprises one or more of corresponding application identification, text content and storage information.
8. The message display method according to any one of claims 1-5, wherein before receiving a message display request sent by one or more applications, comprising the steps of:
and receiving an operation event of the application by the user.
9. The message display method as claimed in claim 8, wherein after receiving the operation event of the application by the user, comprising the steps of:
adding the operation event to a message queue;
and successively acquiring the operation events from the message queue, and sending the acquired operation events to the corresponding application so that the application sends a corresponding message display request based on the operation events.
10. The message display method according to any one of claims 1 to 5,
the message manager is in singleton mode.
11. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-10.
12. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-10.
CN202011081527.3A 2020-10-12 2020-10-12 Message display method and computing device Active CN111930283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011081527.3A CN111930283B (en) 2020-10-12 2020-10-12 Message display method and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011081527.3A CN111930283B (en) 2020-10-12 2020-10-12 Message display method and computing device

Publications (2)

Publication Number Publication Date
CN111930283A true CN111930283A (en) 2020-11-13
CN111930283B CN111930283B (en) 2021-02-19

Family

ID=73334710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011081527.3A Active CN111930283B (en) 2020-10-12 2020-10-12 Message display method and computing device

Country Status (1)

Country Link
CN (1) CN111930283B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254133A (en) * 2021-05-25 2021-08-13 平安普惠企业管理有限公司 iOS multi-scene convenient popup tool, device, computer equipment and storage medium
WO2022228005A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Message reminder method and terminal device
CN117221117A (en) * 2023-07-24 2023-12-12 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294451A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method and system for implementing applied multiple tasks and multiple windows in rich page
CN103793138A (en) * 2014-01-24 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying background applications
CN110286819A (en) * 2019-06-25 2019-09-27 武汉深之度科技有限公司 A kind of window management method and calculate equipment
US20200019452A1 (en) * 2016-12-13 2020-01-16 Bank Of America Corporation System architecture framework
CN111427657A (en) * 2020-04-23 2020-07-17 湖南快乐阳光互动娱乐传媒有限公司 Application window display method and device
CN111580899A (en) * 2020-03-31 2020-08-25 深圳市麦谷科技有限公司 Message popup window system based on hierarchical structure and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294451A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method and system for implementing applied multiple tasks and multiple windows in rich page
CN103793138A (en) * 2014-01-24 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying background applications
US20200019452A1 (en) * 2016-12-13 2020-01-16 Bank Of America Corporation System architecture framework
CN110286819A (en) * 2019-06-25 2019-09-27 武汉深之度科技有限公司 A kind of window management method and calculate equipment
CN111580899A (en) * 2020-03-31 2020-08-25 深圳市麦谷科技有限公司 Message popup window system based on hierarchical structure and electronic equipment
CN111427657A (en) * 2020-04-23 2020-07-17 湖南快乐阳光互动娱乐传媒有限公司 Application window display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228005A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Message reminder method and terminal device
CN113254133A (en) * 2021-05-25 2021-08-13 平安普惠企业管理有限公司 iOS multi-scene convenient popup tool, device, computer equipment and storage medium
CN117221117A (en) * 2023-07-24 2023-12-12 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium
CN117221117B (en) * 2023-07-24 2024-03-29 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN111930283B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN111930283B (en) Message display method and computing device
US9182975B2 (en) Automatic application updates
CN109960541B (en) Method, apparatus and computer storage medium for starting an applet
CN112000417B (en) Control method for window display effect and computing device
CN110221901A (en) Container asset creation method, apparatus, equipment and computer readable storage medium
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
CN112558841B (en) Application icon management method, computing device and readable storage medium
CN110286819B (en) Window management method and computing device
CN107682389B (en) Method, terminal and computer readable storage medium for executing network request
CN108563476B (en) Application program running method and device, storage medium and electronic equipment
CN113709246B (en) Network proxy method, computing device and readable storage medium
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
US10277688B2 (en) Automatic installation activation selection for hosted services
CN111447178B (en) Access control method, system and computing device
CN111444448A (en) Data processing method, server and system
CN113961086B (en) Shortcut key implementation method, computing device and storage medium
CN113885758B (en) Virtual screen generation method, computing device and storage medium
US9489215B2 (en) Managing an expression-based DFA construction process
CN114153538A (en) Window switching method, computing device and storage medium
CN112181516A (en) Application software execution method and computing device
CN113434221A (en) Software automatic operation method, device, system and server equipment
CN114461113B (en) Interaction method, processing device and computing equipment based on task bar
CN113190340B (en) Task switching method and computing device
CN112099910B (en) Preloading method for algorithm model in container cluster
CN114237535A (en) Split screen display implementation method and device and computing 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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20201113

Assignee: Tongxin Software Technology Co.,Ltd.

Assignor: WUHAN DEEPIN TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980010212

Denomination of invention: A message display method and computing equipment

Granted publication date: 20210219

License type: Common License

Record date: 20210929

EE01 Entry into force of recordation of patent licensing contract