Application pop-up control method and device, equipment, medium and product
By receiving and distinguishing the page identifier, policy identifier, and priority of pop-up commands, and inserting the commands into the background or foreground queue according to the application state, the problem of inconsistent pop-up command processing in the application is solved, and orderly display and efficient information transmission are achieved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-11
- Publication Date
- 2026-03-31
AI Technical Summary
Existing technologies for handling pop-up commands in applications suffer from problems such as cluttered interfaces, inconsistent information display, high memory consumption, and complex processing, lacking effective logical processing methods.
By receiving pop-up commands and distinguishing between page identifiers, policy identifiers, and priorities, the commands are inserted into the background or foreground queue according to the application's activity state. The display of pop-ups is controlled by policy identifiers and priorities to ensure that pop-up commands are processed in an orderly manner in the foreground queue.
It enables the orderly processing of pop-up commands, avoids interface overlap, improves information transmission efficiency and user experience, and optimizes the human-computer interaction process.
Smart Images

Figure CN115309490B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data communication technology, and in particular to an application pop-up control method and corresponding apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology
[0002] Page-based applications, by setting up page view controls within the application, can load web pages into each page view control, displaying various information and providing interactive entry points, thus facilitating human-computer interaction based on the page. Taking the Android operating system as an example, WebView can be used as the page view control; these controls can be added to the application, each loading its corresponding web page.
[0003] Different page view controls load web pages that can perform different functions. Therefore, each web page has its own corresponding business logic and can handle corresponding pop-up commands and provide corresponding pop-up messages. However, from the development perspective, it is necessary to efficiently handle pop-up commands corresponding to different pages within the same application so that various notification messages can be processed in parallel without conflict.
[0004] In traditional technologies, there are two main approaches to handling various pop-up commands: one is to directly execute the command, which results in overlapping pop-ups and a cluttered information display, making it inefficient and undesirable; another approach is to standardize the process on the development side through protocols, requiring development teams for different pages to adhere to the same protocol to achieve orderly display of pop-up commands, but this approach is costly to implement; yet another approach involves implementing multiple view layers on the client side to display different types of pop-up commands, but this method consumes a lot of memory and is also very complex to handle, naturally having its own drawbacks.
[0005] This shows that the interface processing technology for multi-page pop-ups on applications still has room for improvement and requires further exploration by industry professionals. Summary of the Invention
[0006] The purpose of this application is to solve the above-mentioned problems by providing an application pop-up control method and corresponding apparatus, computer equipment, computer-readable storage medium, computer program product, etc. To meet the various purposes of this application, the following technical solutions are adopted:
[0007] In one aspect, to suit one of the purposes of this application, an application pop-up control method is provided, comprising:
[0008] Receive a pop-up command belonging to the current application, determine the page identifier, policy identifier and priority carried by the pop-up command, the pop-up command comes from a remote interface or a background queue;
[0009] Detect the activity status of the application, and when it is in the background, insert the pop-up command into the background queue;
[0010] When the application is in the foreground, it is detected whether the page identifier of the pop-up instruction indicates the current page of the application. If it does not indicate the current page or although it indicates the current page, the policy identifier is an enqueue identifier, the pop-up instruction is inserted into the foreground queue.
[0011] When the page identifier indicates the current page and the strategy identifier is not the entry identifier, the pop-up instruction is executed according to the method indicated by the strategy identifier to display the pop-up;
[0012] The pop-up instructions in the front-end queue are dequeued according to priority. In response to the corresponding dequeue event, the corresponding pop-up instructions are executed to realize the pop-up display.
[0013] Optionally, receive pop-up commands belonging to the current application, including:
[0014] In response to the pop-up command received by the remote interface of the current application, when the application is in the foreground, the page identifier, policy identifier and priority are parsed out;
[0015] Responding to the switching event corresponding to the current application's activity state switching from the background to the foreground, it controls the sequential dequeueing of various pop-up commands cached in the background queue;
[0016] In response to the dequeue event of the background queue, extract the page identifier, policy identifier, and priority.
[0017] Optionally, when the page identifier indicates the current page and the strategy identifier is not the enqueue identifier, the pop-up instruction is executed according to the method indicated by the strategy identifier to display the pop-up, including:
[0018] When the page identifier indicates the current page and the strategy identifier is a pop-up identifier, the current page is checked in the display queue to see if it contains a historical pop-up instruction of the same type carrying a pop-up identifier;
[0019] When there are historical pop-up instructions of the same type, the historical pop-up instructions and their pop-ups should be cleared as required by the current pop-up instructions.
[0020] After the clearing operation is completed, the current pop-up command is executed and a pop-up is displayed on the current page. The current pop-up command is added to the display queue as a history pop-up command.
[0021] When there is no historical pop-up command of the same type, the current pop-up command is inserted into the foreground queue so that it can be executed by dequeuing from the foreground queue to display the pop-up.
[0022] Optionally, when the page identifier indicates the current page and the strategy identifier is not the enqueue identifier, the pop-up instruction is executed according to the method indicated by the strategy identifier to display the pop-up, including:
[0023] When the page identifier indicates the current page and the strategy identifier is an overlay identifier, the current pop-up instruction is executed directly and a pop-up is displayed on the current page.
[0024] Optionally, the pop-up commands in the foreground queue are dequeued according to priority. In response to the corresponding dequeue event, the corresponding pop-up command is executed to display the pop-up, including:
[0025] In response to a page switching command, determine whether the front-end queue contains a pop-up command whose page identifier belongs to the current page and whether the current page does not contain a pop-up. If the determination is true, trigger the dequeue event of the pop-up command with the highest priority.
[0026] In response to the dequeue event, execute the corresponding pop-up command to display the pop-up, and add the current pop-up command as a historical pop-up command to the display queue;
[0027] In response to the closing event of any pop-up on the current page, clear the corresponding pop-up command that exists in the display queue.
[0028] Optionally, in response to the closing event of any pop-up on the current page, before clearing the corresponding pop-up command existing in the display queue, the following steps are included:
[0029] Monitor the display duration of any pop-up on the current page. When the display duration reaches the predetermined duration, close the corresponding pop-up and trigger the corresponding close event.
[0030] On the other hand, to meet one of the purposes of this application, an application pop-up control device is provided, including an instruction receiving module, a status detection module, a page detection module, an exception handling module, and a normal handling module. The instruction receiving module is configured to receive pop-up instructions belonging to the current application, determine the page identifier, policy identifier, and priority carried by the pop-up instruction, and the pop-up instruction originates from a remote interface or a background queue. The status detection module is configured to detect the activity status of the application, and when it is in the background, insert the pop-up instruction into the background queue. The page detection module is configured to detect when the application... When in the foreground, the system detects whether the page identifier of the pop-up command indicates the current page of the application. If it does not indicate the current page, or if it indicates the current page but the strategy identifier is an enqueue identifier, the pop-up command is inserted into the foreground queue. The exception handling module is configured to execute the pop-up command according to the method indicated by the strategy identifier when the page identifier indicates the current page and the strategy identifier is not the enqueue identifier, thereby displaying the pop-up. The normal processing module is configured to control the dequeueing of pop-up commands in the foreground queue according to priority, and execute the corresponding pop-up command in response to the corresponding dequeueing event, thereby displaying the pop-up.
[0031] Optionally, the instruction receiving module includes: a remote receiving unit, configured to respond to pop-up instructions received by the remote interface of the current application, and when the application is in the foreground, parse out the page identifier, policy identifier, and priority; a switching receiving unit, configured to respond to the switching event corresponding to the current application's activity state switching from the background to the foreground, and control the sequential dequeueing of each pop-up instruction cached in the background queue; and a background dequeueing unit, configured to respond to the dequeueing event of the background queue and extract the page identifier, policy identifier, and priority.
[0032] Optionally, the exception handling module includes: a history deduplication unit, configured to detect whether the current page contains a historical pop-up instruction with the same type carrying a pop-up identifier when the page identifier indicates the current page and the strategy identifier is a pop-up identifier; a history clearing unit, configured to clear the historical pop-up instruction and its pop-up as required by the current pop-up instruction when the same type of historical pop-up instruction exists; a display queue unit, configured to execute the current pop-up instruction and display it on the current page after the clearing operation is completed, and add the current pop-up instruction as a historical pop-up instruction to the display queue; and an exception queue unit, configured to insert the current pop-up instruction into the foreground queue when the same type of historical pop-up instruction does not exist, so that the pop-up instruction can be displayed by being dequeued from the foreground queue.
[0033] Optionally, the exception handling module includes: an overlay processing unit, configured to directly execute the current pop-up instruction and display a pop-up on the current page when the page identifier indicates the current page and the strategy identifier is an overlay identifier.
[0034] Optionally, the normal processing module includes: a front-end dequeue unit, configured to respond to page switching instructions, determine whether the front-end queue contains pop-up instructions whose page identifier belongs to the current page and whether the current page does not contain any pop-ups; when the determination is true, triggering the dequeue event of the pop-up instruction with the highest priority; a front-end response unit, configured to respond to the dequeue event, execute the corresponding pop-up instruction to display the pop-up, and add the current pop-up instruction as a historical pop-up instruction to the display queue; and a close response unit, configured to respond to the close event of any pop-up on the current page, and clear the corresponding pop-up instruction existing in the display queue.
[0035] Optionally, prior to the closing response unit, a timed closing unit is included, configured to monitor the display duration of any pop-up on the current page, and close the corresponding pop-up and trigger a corresponding closing event when the display duration reaches a predetermined duration.
[0036] In another aspect, a computer device provided to suit one of the purposes of this application includes a central processing unit and a memory, the central processing unit being used to invoke and run a computer program stored in the memory to perform the steps of the application pop-up control method described in this application.
[0037] In another aspect, a computer-readable storage medium is provided to suit another purpose of this application, which stores, in the form of computer-readable instructions, a computer program implemented according to the described application pop-up control method, which, when invoked by a computer, executes the steps included in the method.
[0038] In another aspect, a computer program product provided for another purpose of this application includes a computer program / instructions that, when executed by a processor, implement the steps of the application pop-up control method described in any embodiment of this application.
[0039] Compared to existing technologies, this application first distinguishes between the application's activity state and the pages within the application. When the application is active in the foreground, it processes the pop-up commands according to the page identifier, policy identifier, and priority carried by the received command. When the application is in the background, the pop-up commands are cached in a background queue for processing when the application switches to the foreground. For pop-up commands that need processing, this application prioritizes them according to their urgency. Commands marked with an enqueue flag are added to the foreground queue and dequeued based on priority, while commands not marked with an enqueue flag are also processed according to their respective policy identifiers, thus achieving pop-up display. During pop-up display, it also considers whether the page identifier of the pop-up command points to the application's current page, thereby distinguishing different pages and executing the corresponding pop-up commands. Therefore, it is easy to understand that this application has the following advantages:
[0040] First, this application ensures that pop-up commands on different pages of the application are processed in an orderly manner, so that each page always displays its corresponding pop-up. Second, under the constraints of its policy identifier, each pop-up command in this application can execute the pop-up display in different ways, thereby avoiding phenomena such as pop-up overlap. Third, under the effect of its priority, each pop-up command in this application can display pop-ups in an orderly manner according to importance and urgency, ensuring information transmission efficiency.
[0041] In summary, the implementation of this application makes the application more systematic and orderly in handling multi-page pop-up commands, realizes the pop-up processing logic that distinguishes different pages, optimizes the information processing efficiency of the application, and can improve the user experience in the human-computer interaction process. Attached Figure Description
[0042] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0043] Figure 1 This is a flowchart illustrating one embodiment of the application pop-up control method of this application.
[0044] Figure 2 This is a flowchart illustrating the process of receiving pop-up instructions in an embodiment of this application.
[0045] Figure 3 This is a schematic diagram illustrating the execution flow of a pop-up command with the strategy identifier set to "top" in an embodiment of this application.
[0046] Figure 4 This is a schematic diagram illustrating the process of responding to page switching commands to control the pop-up command to be dequeued and consumed in the foreground queue in an embodiment of this application.
[0047] Figure 5 This is a schematic block diagram of the application pop-up control device of this application;
[0048] Figure 6 This is a schematic diagram of the structure of a computer device used in this application. Detailed Implementation
[0049] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0050] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.
[0051] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0052] Those skilled in the art will understand that the terms "client," "terminal," and "terminal device" as used herein include both devices that receive wireless signals, devices that only possess wireless signal receiver capabilities without transmission capabilities, and devices with receiving and transmitting hardware, devices that have receiving and transmitting hardware capable of bidirectional communication over a bidirectional communication link. Such devices may include: cellular or other communication devices such as personal computers or tablets, having single-line displays, multi-line displays, or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service) that can combine voice, data processing, fax, and / or data communication capabilities; PDA (Personal Digital Assistant) that may include a radio frequency receiver, pager, internet / intranet access, web browser, notepad, calendar, and / or GPS (Global Positioning System) receiver; and conventional laptops and / or handheld computers or other devices that have and / or include radio frequency receivers. As used herein, "client," "terminal," and "terminal device" can be portable, transportable, installed in a means of transportation (air, sea, and / or land), or suitable and / or configured to operate locally and / or in a distributed manner, operating in any other location on Earth and / or in space. "Client," "terminal," and "terminal device" as used herein can also be a communication terminal, an internet access terminal, or a music / video playback terminal, such as a PDA, a MID (Mobile Internet Device), and / or a mobile phone with music / video playback capabilities, or a smart TV, set-top box, etc.
[0053] The hardware referred to by the names "server," "client," and "service node" in this application is essentially an electronic device with the equivalent capabilities of a personal computer. It is a hardware device with the necessary components revealed by the von Neumann architecture, such as a central processing unit (including an arithmetic logic unit and a control unit), memory, input devices, and output devices. The computer program is stored in its memory, and the central processing unit loads the program stored in the secondary storage into the main memory to run it, execute the instructions in the program, and interact with the input and output devices to complete specific functions.
[0054] It should be noted that the concept of "server" used in this application can also be extended to the case of server clusters. Based on the network deployment principles understood by those skilled in the art, the servers should be logically divided. Physically, these servers can be independent of each other but accessible through interfaces, or they can be integrated into a single physical computer or a computer cluster. Those skilled in the art should understand this flexibility and should not use it to constrain the implementation of the network deployment method in this application.
[0055] Unless otherwise specified, all data involved in this application may be stored remotely on a server or on a local terminal device, as long as it is suitable for use by the technical solution of this application.
[0056] Those skilled in the art will understand that although the various methods in this application are described based on the same concept and thus present commonality among them, they can be performed independently unless otherwise specified. Similarly, the various embodiments disclosed in this application are all based on the same inventive concept; therefore, concepts expressed in the same way, as well as concepts that are appropriately changed for convenience but are expressed differently, should be understood equivalently.
[0057] Unless otherwise expressly stated, the various embodiments disclosed in this application can be combined in a cross-cutting manner to flexibly construct new embodiments, as long as such combination does not depart from the inventive spirit of this application and can meet the needs of the prior art or solve a certain deficiency in the prior art. Those skilled in the art should be aware of such modifications.
[0058] This application discloses a method for controlling application pop-ups, which can be programmed into a computer program product and deployed on a terminal device acting as a client. Please refer to [link to relevant documentation]. Figure 1 In one embodiment of the application pop-up control method of this application, the following steps are included:
[0059] Step S1100: Receive a pop-up command belonging to the current application, and determine the page identifier, policy identifier and priority carried by the pop-up command. The pop-up command comes from a remote interface or a background queue.
[0060] The application of this application is suitable for running on a terminal device, which may be a mobile terminal equipped with an operating system in which the application runs. The operating system may be an Android operating system, and the terminal device may be a smartphone or a tablet computer.
[0061] The application is configured with multiple page view controls for loading web pages and various page resources, including elements within those pages, to display information and facilitate human-computer interaction. Each page view control, based on its implemented business logic, can listen for and receive pop-up commands from a corresponding remote interface. These pop-up commands primarily carry information to be notified to the user, i.e., notification messages. They control the current application to display these notification messages on the appropriate page, thus displaying pop-ups on the corresponding pages to provide message prompts and enhance human-computer interaction services.
[0062] The pop-up command, in addition to the notification message output to the interface, also includes a page identifier, a strategy identifier, and a priority. The page identifier indicates the output page of the notification message, i.e., on which page of the application the notification message is entered. The strategy identifier indicates the handling strategy in case the pop-up command conflicts with other previously arriving pop-up commands. The priority indicates the order of precedence of the pop-up command with other previously arriving pop-up commands. The notification message can contain any one or more of the following: plain text, images, emoticons, video, and audio, and can be flexibly defined in advance.
[0063] During its operation, the current application can receive the aforementioned pop-up instructions. By default, it receives various pop-up instructions from the remote interfaces corresponding to each page. However, when the background queue used to cache pop-up instructions in this application is not empty, and the current application switches from the background dormant state to the foreground active state, it can also read and receive pop-up instructions from the background queue so that the relevant pop-up instructions in the background queue can be processed with priority.
[0064] Step S1200: Detect the activity status of the application; when it is in the background, insert the pop-up command into the background queue.
[0065] This application adapts to different application activity states by setting up two message queues for caching pop-up commands. The first message queue is called the foreground queue, which is mainly used to cache pop-up commands received or read when the current application is in the foreground active state; the second message queue is called the background queue, which is mainly used to cache pop-up commands received when the current application is in the background dormant state.
[0066] When the current application receives a pop-up command, it first checks its own activity status to determine whether it is in the foreground active state or in the background dormant state. The foreground active state refers to the state when the current application is displayed in the graphical user interface of the terminal device, while the background dormant state refers to the state when the application is not displayed in the graphical user interface of the terminal device. When it is determined that the current application is in the background dormant state, it means that the current application is already in the background. In this case, the received pop-up command can be directly inserted into the background queue for caching, that is, the pop-up command is not processed immediately.
[0067] Step S1300: When the application is in the foreground, detect whether the page identifier of the pop-up instruction indicates the current page of the application. If it does not indicate the current page or although it indicates the current page, the strategy identifier is an enqueue identifier, insert the pop-up instruction into the foreground queue.
[0068] When the activity status of the application is detected and it is determined that the application is currently active in the foreground, it means that the application is active in the foreground, and a page of the application is being displayed in the graphical user interface of the terminal device. This page can be called the current page of the application. It is easy to understand that at any given time, the application has only one page that can be the current page, while other pages are hidden and not displayed. Only by performing a page switching operation can other hidden pages be changed to the current page.
[0069] If the current application displays a current page on the terminal device, it further detects whether the page identifier carried by the pop-up command is the page identifier of the current page. If it is, it indicates that the current page is the target page to which the pop-up command wants to output the notification message it carries. If it is not, it indicates that the target page to which the pop-up command wants to output the notification message is a hidden page.
[0070] If the page identifier of the pop-up command indicates that one of the pages is hidden, it means that the pop-up command should not be executed on the current page. Therefore, the pop-up command can only be inserted into the foreground queue for caching, so that it can be executed after the dequeue operation is performed according to the dequeue logic of the foreground queue.
[0071] For pop-up commands whose page identifier indicates the current page, it is possible to further identify whether their strategy identifier is an enqueue identifier. If it is an enqueue identifier, it means that the pop-up command should enter the front-end queue according to the default rules, and be executed after the dequeue operation is performed according to the dequeue logic of the front-end queue.
[0072] As can be seen, when the application is in the foreground, the pop-up commands it receives, if they point to the current page and carry an entry flag, or point to other hidden pages, need to be processed normally through the foreground queue. This allows most pop-up commands to be scheduled in an orderly manner according to the logic of the foreground queue.
[0073] If the pop-up command is read from the background queue because the application switches from the background to the foreground, it can be processed in the same way. It can be seen that the background queue is actually used to cache pop-up commands received from the remote interface when the current application is inactive. When the current application switches to the foreground, the pop-up commands are read from the background queue and the standardized processing procedure specified in this application is applied to the pop-up commands.
[0074] Step S1400: When the page identifier indicates the current page and the strategy identifier is not the entry identifier, execute the pop-up instruction according to the method indicated by the strategy identifier to realize the pop-up display;
[0075] As a relative exception, when the page identifier of the pop-up instruction indicates the current page of the current application in an active state, but the policy identifier it carries is not the queue identifier, it means that the pop-up instruction indicates the processing method for the pop-up instruction through the policy identifier it carries. Therefore, the policy identifier in this case can be regarded as an identifier corresponding to a custom processing method, and then the pop-up instruction is processed accordingly to finally realize the pop-up display.
[0076] In one embodiment of this application, the strategy identifier can be selected from three types: an in queue identifier, a top-out identifier, and an overlay identifier. The in queue identifier, as described above, indicates that the corresponding pop-up instruction must be processed through the foreground queue. The top-out identifier and the overlay identifier can be considered as two exceptions, instructing the client to process the corresponding pop-up instruction according to a predetermined method corresponding to these two identifiers. For example, the top-out identifier can be used to indicate whether the pop-up currently displayed on the page is also the execution product of a pop-up instruction carrying the top-out identifier. If so, all pop-ups of the same type currently displayed are closed, and the current pop-up instruction is executed directly to display the pop-up. If not, the corresponding current pop-up instruction is inserted into the foreground queue and executed according to the logic of the foreground queue to realize the pop-up. The overlay identifier can be used to indicate whether the pop-up currently displayed on the page is also the execution product of a pop-up instruction carrying the overlay identifier. If so, the corresponding current pop-up instruction is executed directly, causing its pop-up to overlay the current page.
[0077] Those skilled in the art can pre-define the policy identifier based on the principle of the specific type of custom policy identifier disclosed herein, and implement the corresponding execution logic in the application. This can enrich the instructions for pop-up commands, so that when multiple pop-up commands of conflicting types appear on the current page, effective conflict scheduling can be performed according to the custom policy identifier, avoiding repeated pop-ups of the same notification message and ensuring a concise interface.
[0078] Step S1500: Control the pop-up instructions in the front-end queue according to the priority. In response to the corresponding pop-up event, execute the corresponding pop-up instructions to realize the pop-up display.
[0079] For the foreground queue, the current application controls the pop-up instructions to be dequeued one by one according to standardized scheduling logic. In one embodiment, the priority of each pop-up instruction in the foreground queue is first identified, and they are scheduled in descending order of priority, so that the pop-up instruction with the highest priority is dequeued first. For two pop-up instructions with the same priority, they are dequeued first according to the timestamp or order in which they were received or enqueued, so that the pop-up instruction that arrived at the current application first or had the earliest time is dequeued first. In another embodiment, multiple view layers for displaying pop-ups can be implemented in the current application. Each view layer has a hierarchical relationship, and the priority is used to correspond to the corresponding view layer. The highest priority pop-up instruction will be displayed in the top view layer, and other priorities will be displayed in the same way. For pop-up instructions with the same priority, they are scheduled to be dequeued according to the first-in-first-out (FIFO) queue operation logic. Thus, the priority plays the role of corresponding view layers, and pop-up instructions with the same priority can be dequeued in an orderly manner according to the FIFO principle. Based on the above two embodiments, it is easy to understand that the priority can assist in the effective scheduling of pop-up instructions in the foreground queue.
[0080] When a pop-up command is dequeued from the foreground queue, a corresponding dequeue event is triggered. In response to this dequeue event, the execution of the corresponding pop-up command is triggered. For a current pop-up command that needs to be executed, the message body can be read, including the notification message and other parameters controlling the display of the notification message, such as display duration and pop-up size. Then, according to the preset business logic, the notification message is displayed in a pop-up on the current page, corresponding to the message body.
[0081] In one embodiment, to facilitate querying the status of pop-ups currently displayed on the page, a pop-up queue can be set up. When a pop-up command is executed and a pop-up appears, the pop-up command is pushed into the pop-up queue. Thus, by querying the pop-up queue, it can be confirmed whether there are pop-ups currently displayed on the page, and it can be decided whether the corresponding pop-ups need to be cleared before displaying other pop-ups.
[0082] As can be seen from the above embodiments, this application first distinguishes between the activity state of the application and the pages within the application. When the application is active in the foreground, it processes the pop-up command according to the page identifier, policy identifier, and priority carried by the received command. When the application is dormant in the background, the pop-up command is cached in a background queue for processing when the application switches to the foreground. For the pop-up commands that need processing, this application prioritizes them according to their urgency. Based on different policy identifiers, pop-up commands marked with an enqueue identifier are added to the foreground queue and dequeued according to priority. Pop-up commands not marked with an enqueue identifier are also processed according to their corresponding policy identifiers, thereby achieving pop-up display. During the pop-up display process, it also considers whether the page identifier of the pop-up command points to the current page of the application, thus distinguishing different pages and executing the corresponding pop-up command. Therefore, it is easy to understand that this application has the following advantages:
[0083] First, this application ensures that pop-up commands on different pages of the application are processed in an orderly manner, so that each page always displays its corresponding pop-up. Second, under the constraints of its policy identifier, each pop-up command in this application can execute the pop-up display in different ways, thereby avoiding phenomena such as pop-up overlap. Third, under the effect of its priority, each pop-up command in this application can display pop-ups in an orderly manner according to importance and urgency, ensuring information transmission efficiency.
[0084] In summary, the implementation of this application makes the application more systematic and orderly in handling multi-page pop-up commands, realizes the pop-up processing logic that distinguishes different pages, optimizes the information processing efficiency of the application, and can improve the user experience in the human-computer interaction process.
[0085] Based on any embodiment of this application, please refer to Figure 2 Receive pop-up commands belonging to the current application, including:
[0086] Step S1110: Respond to the pop-up command received by the remote interface of the current application. When the application is in the foreground, parse out the page identifier, policy identifier and priority.
[0087] As mentioned above, after the application of this application listens to the pop-up instructions sent by the remote interface corresponding to each page, it responds to the event corresponding to the pop-up instructions received by the remote interface. It can parse the pop-up instructions to obtain the page identifier, policy identifier and priority. Of course, the message body can also be parsed in this step. Those skilled in the art can implement this flexibly.
[0088] The remote interfaces corresponding to each page of the application can be a unified remote interface, or each page can have its own corresponding remote interface.
[0089] In one embodiment, if different pages of the application are developed by different development teams, each development team may implement its own proprietary remote interface. This allows each page to receive pop-up instructions through its corresponding remote interface, decoupling the business relationships between different pages. This enables each development team to maintain the corresponding remote interface only according to its own business logic requirements, thereby improving the flexibility of the application's software engineering.
[0090] In another embodiment, different development teams can use a standardized single remote interface to send corresponding pop-up commands. This single remote interface can be maintained by the business middle platform, thereby improving data communication efficiency. It is easy to understand that as long as the development teams of each page adhere to the standardized specifications of the single remote interface, they can send pop-up commands to the application through this remote interface.
[0091] In any case, the current application can obtain the pop-up command through the remote interface. Since the pop-up command carries the corresponding page identifier, it can be mapped to the corresponding page based on the page identifier, regardless of the number of remote interfaces.
[0092] Step S1120: Respond to the switching event corresponding to the current application's activity state switching from the background to the foreground, and control the sequential dequeueing of each pop-up instruction cached in the background queue;
[0093] Unlike the previous step, which responded to received pop-up commands, this step utilizes an event-driven mechanism to respond to events related to the application's current activity state transition. Specifically, when the application switches from background to foreground, triggering a transition event, the system can initiate the dequeueing of pop-up commands cached in the background queue. In one embodiment, this can be achieved by sequentially dequeuing pop-up commands in the background queue according to a first-in, first-out (FIFO) principle. In another embodiment, only pop-up commands pointing to the current page can be dequeued sequentially, based on the FIFO principle. When a pop-up command is dequeued from the background queue, a corresponding dequeueing event is triggered.
[0094] Step S1130: Respond to the dequeue event of the background queue and extract the page identifier, policy identifier and priority.
[0095] In response to the dequeue event of the background queue, it can be parsed as described above to obtain the page identifier, policy identifier, priority, and even the message body. Further details are omitted.
[0096] It should be noted that all steps in the above embodiments are implemented based on an event response mechanism. Therefore, the steps are not constrained by step numbers, especially steps S1110 and S1120, which can be performed concurrently. Nevertheless, it can be seen that whether the pop-up command is received remotely or is cached in the background queue and then retrieved, it will be processed in the same way in the subsequent process as specified in this application.
[0097] As can be easily understood from the above embodiments, when the application is in the foreground, this application can not only process the pop-up instructions received from the remote interface, but also read and process the pop-up instructions cached in the background queue, so as to process the pop-up instructions received in real time or cached in a standardized way, thereby standardizing the subsequent business logic and improving the execution efficiency of the entire business process.
[0098] Based on any embodiment of this application, please refer to Figure 3 When the page identifier indicates the current page and the strategy identifier is not the enqueue identifier, the pop-up instruction is executed according to the method indicated by the strategy identifier to display the pop-up, including:
[0099] Step S1410: When the page identifier indicates the current page and the strategy identifier is a pop-up identifier, the current page is checked in the display queue to see if it contains a historical pop-up instruction of the same type carrying a pop-up identifier.
[0100] As mentioned above, in one embodiment, the policy identifier may be a pop-up identifier. Therefore, when executing the corresponding pop-up instruction according to the method indicated by the policy identifier, if the policy identifier carried by the pop-up instruction is a pop-up identifier, the pop-up instruction is processed accordingly according to the meaning indicated by the pop-up identifier.
[0101] Specifically, the system first checks whether the display queue contains historical pop-up instructions of the same type that also carry the pop-up identifier, in order to determine whether the current page contains a pop-up corresponding to the same type of historical pop-up instruction. As mentioned earlier, the display queue is a cache queue temporarily marked after a pop-up instruction is executed and displayed on the interface. Therefore, if various pages of the application display pop-ups with corresponding pop-up instructions, these pop-up instructions will be marked in the display queue accordingly. Thus, it can be determined whether a historical pop-up instruction carrying the pop-up identifier also exists in the display queue by querying it.
[0102] Step S1420: When there is a historical pop-up instruction of the same type, the historical pop-up instruction and its pop-up should be cleared as required by the current pop-up instruction.
[0103] As mentioned earlier, the pop-up flag can be defined as the corresponding pop-up that pushes out the displayed pop-up. Therefore, when there are historical pop-up commands of the same type, the historical pop-up commands of the same type can be cleared from the display queue as required by the pop-up command to be executed at the moment. Correspondingly, all pop-ups of the same type on the current page are also cleared.
[0104] Step S1430: After the clearing operation is completed, the current pop-up command is executed and a pop-up is displayed on the current page. The current pop-up command is added to the display queue as a history pop-up command.
[0105] After the previous clearing operation is completed, the current pop-up command can be executed, causing it to appear on the current page and display the notification message. Similarly, to mark the processing status of the current pop-up command, it is also temporarily marked in the display queue so that the next pop-up command carrying a pop-up flag can look up this temporary mark.
[0106] Step S1440: When there is no historical pop-up instruction of the same type, insert the current pop-up instruction into the foreground queue so that it can be executed by dequeuing from the foreground queue to achieve pop-up display.
[0107] If step S1420 fails to find a historical pop-up instruction of the same type in the display queue through query, it means that there is no pop-up that needs to be pushed out on the current page. Therefore, the current pop-up instruction can be inserted into the front-end queue, and then dequeued and executed according to the corresponding business logic of the front-end queue to realize the pop-up display.
[0108] As can be understood from the above embodiments, this application allows for the implementation of a pop-up mechanism that pushes out historical pop-up commands of the same type using a custom strategy identifier. This enables the clearing of historical pop-up commands and their pop-ups from memory and the interface in the simplest way when multiple pop-up commands with the same push-out identifier may occupy the interface space of the current page, so that only the pop-up corresponding to the current pop-up command is displayed.
[0109] Based on any embodiment of this application, when the page identifier indicates the current page and the strategy identifier is not the enqueue identifier, the pop-up instruction is executed according to the method indicated by the strategy identifier to realize the pop-up display, including:
[0110] Step S1450: When the page identifier indicates the current page and the strategy identifier is an overlay identifier, the current pop-up instruction is executed directly and a pop-up is displayed on the current page.
[0111] Similarly, another example of the strategy identifier in this application could be an overlay identifier, which is used to indicate that the foreground queue of this application should be skipped and the same type of historical pop-up should be forcibly overlaid and displayed directly.
[0112] Specifically, when step S1400 is executed, if the page identifier indicates the current page and the strategy identifier is an overlay identifier, then the current pop-up instruction is executed directly, displaying the pop-up and overlaying any other historical pop-ups on the current page. It is easy to understand that the overlay identifier effectively defines a highest-priority pop-up instruction, exceeding the priority defined within the pop-up instruction itself, and surpassing the priority of pop-up instructions with strategy identifiers of "in" and "out," and can be used to display various urgent and / or critical messages.
[0113] As can be seen from the above embodiments, the diversification of policy identifiers enriches the functional diversity of the technical solution of this application, enabling the technical solution of this application to not only execute pop-up display according to standardized business logic, but also to break the conventional priority processing of pop-up instructions with specific policy identifiers, specifically those with overlay identifiers, to serve the push of urgent and / or critical messages.
[0114] Based on any embodiment of this application, please refer to Figure 4 Based on priority, the pop-up commands in the foreground queue are dequeued. In response to the corresponding dequeue event, the corresponding pop-up command is executed to display the pop-up, including:
[0115] Step S1510: Respond to the page switching command, determine whether the front-end queue contains a pop-up command whose page identifier belongs to the current page and whether the current page does not have a pop-up. When the determination is true, trigger the dequeue event of the pop-up command with the highest priority.
[0116] In this embodiment, when a user needs to switch between different pages in the current application, that is, switch from the current page to one of the hidden pages, so that the hidden page becomes the new current page, the user can usually touch the entrance of the hidden page to issue a corresponding page switching command, instructing the hidden page corresponding to the entrance to be switched to the new current page.
[0117] In response to the page switching command, the foreground queue can be dequeued one by one. First, two checks are performed: First, it is determined whether there are any pop-up commands in the foreground queue indicating the new current page after the page switch. If so, these pop-up commands should be executed and displayed on the current page. Second, it is determined whether there are any pop-up commands currently being displayed in the display queue, i.e., whether the display queue is empty. If so, it means that there are no pop-ups currently being displayed on the current page. If both checks are true, the pop-up commands in the foreground queue that point to the current page can be dequeued one by one.
[0118] When dequeuing multiple pop-up commands pointing to the current page in the foreground queue one by one, in one embodiment, the multiple pop-up commands can be dequeued one by one according to their priority from highest to lowest. That is, the highest priority pop-up command is dequeued and consumed first, then the next highest priority pop-up command is dequeued and consumed, and so on, until the last lowest priority pop-up command. It is easy to understand that each time a pop-up command is dequeued, a dequeue event is triggered accordingly, so that the corresponding pop-up command can be consumed in response to the dequeue event.
[0119] Step S1520: Respond to the dequeue event, execute the corresponding pop-up command to display the pop-up, and add the current pop-up command as a historical pop-up command to the display queue;
[0120] In response to each dequeue event, the corresponding pop-up command can be consumed by a thread. Through the execution of the thread, the corresponding pop-up is displayed on the current page according to the message body of the pop-up command and the specification of the message body, so as to realize the display of the corresponding notification message in the pop-up.
[0121] After the pop-up command for the current pop-up is displayed, the current pop-up command can be added to the display queue as a history pop-up command, so as to facilitate querying the pop-up status of the current page through the display queue.
[0122] Step S1540: In response to the closing event of any pop-up on the current page, clear the corresponding pop-up command existing in the display queue.
[0123] Users can manually close any pop-up on the current page, thus triggering the close event. Alternatively, the application's background process can automatically close the pop-up after a certain period of time, thus triggering the close event.
[0124] In response to the aforementioned closing event, the corresponding pop-up command temporarily marked in the display queue can be cleared, thereby maintaining the validity of the status information provided in the display queue in a timely manner.
[0125] According to the above embodiments, this application standardizes the execution process of most pop-up commands through a front-end queue. In response to page switching, it promptly schedules the pop-up commands of the current page to display the pop-up. Furthermore, it maintains the validity of the status information in the display queue in a timely manner in response to the display and closing of the pop-up, ensuring the robust operation of the application's pop-up mechanism and making the display of interface messages of the application orderly.
[0126] Based on any embodiment of this application, see further reading. Figure 4 In response to the closing event of any pop-up on the current page, before clearing the corresponding pop-up command existing in the display queue, the following steps are included:
[0127] Step S1530: Monitor the display duration of any pop-up on the current page. When the display duration reaches the predetermined duration, close the corresponding pop-up and trigger the corresponding close event.
[0128] For pop-ups on the current page, a preset duration can be established. After the pop-up is displayed, the application monitors its display duration. When the display duration reaches the preset duration, the pop-up is closed, thereby triggering the corresponding close event for the pop-up.
[0129] As can be seen from this embodiment, the application itself can also uniformly control the time occupied by each pop-up on the interface through a predetermined duration. This is very flexible, can avoid each pop-up from staying for a long time, and can achieve standardized control over the display duration of each pop-up, ensuring that the interface is neat and orderly.
[0130] Please see Figure 5To meet one of the purposes of this application, an application pop-up control device is provided, which is a functional embodiment of the application pop-up control method of this application. The device includes an instruction receiving module 1100, a status detection module 1200, a page detection module 1300, an exception handling module 1400, and a normal handling module 1500. The instruction receiving module 1100 is configured to receive pop-up instructions belonging to the current application, determine the page identifier, policy identifier, and priority carried by the pop-up instruction, and the pop-up instruction comes from a remote interface or a background queue. The status detection module 1200 is configured to detect the activity status of the application, and when it is in the background, insert the pop-up instruction into the background queue. The page detection module 1300 is configured to detect whether the page identifier of the pop-up instruction indicates the current page of the application when the application is in the foreground. If it does not indicate the current page or if it indicates the current page but the strategy identifier is an enqueue identifier, the pop-up instruction is inserted into the foreground queue. The exception handling module 1400 is configured to execute the pop-up instruction according to the method indicated by the strategy identifier when the page identifier indicates the current page and the strategy identifier is not the enqueue identifier, thereby displaying the pop-up. The normal processing module 1500 is configured to control the dequeueing of pop-up instructions in the foreground queue according to priority. In response to the corresponding dequeueing event, the corresponding pop-up instruction is executed to display the pop-up.
[0131] Based on any embodiment of this application, the instruction receiving module 1100 includes: a remote receiving unit, configured to respond to pop-up instructions received by the remote interface of the current application, and when the application is in the foreground, parse out the page identifier, policy identifier, and priority therein; a switching receiving unit, configured to respond to the switching event corresponding to the current application's activity state switching from the background to the foreground, and control the sequential dequeueing of each pop-up instruction cached therein from the background queue; and a background dequeueing unit, configured to respond to the dequeueing event of the background queue and extract the page identifier, policy identifier, and priority therein.
[0132] Based on any embodiment of this application, the exception handling module 1400 includes: a history deduplication unit, configured to detect whether the current page contains a historical pop-up instruction of the same type carrying a pop-up indicator when the page identifier indicates the current page and the strategy identifier is a pop-up identifier; a history clearing unit, configured to clear the historical pop-up instruction and its pop-up as required by the current pop-up instruction when the same type of historical pop-up instruction exists; a display enqueue unit, configured to execute the current pop-up instruction and display it on the current page after the clearing operation is completed, and add the current pop-up instruction as a historical pop-up instruction to the display queue; and an exception enqueue unit, configured to insert the current pop-up instruction into the foreground queue when the same type of historical pop-up instruction does not exist, so that the pop-up instruction can be dequeued from the foreground queue to achieve pop-up display.
[0133] Based on any embodiment of this application, the exception handling module 1400 includes: an overlay processing unit, configured to directly execute the current pop-up instruction and display a pop-up on the current page when the page identifier indicates the current page and the strategy identifier is an overlay identifier.
[0134] Based on any embodiment of this application, the normal processing module 1500 includes: a front-end dequeue unit, configured to respond to a page switching instruction, determine whether the front-end queue contains a pop-up instruction whose page identifier belongs to the current page and whether the current page does not contain a pop-up; when the determination is true, triggering the dequeue event of the pop-up instruction with the highest priority; a front-end response unit, configured to respond to the dequeue event, execute the corresponding pop-up instruction to display the pop-up, and add the current pop-up instruction as a historical pop-up instruction to the display queue; and a close response unit, configured to respond to the close event of any pop-up on the current page, and clear the corresponding pop-up instruction existing in the display queue.
[0135] Based on any embodiment of this application, prior to the closing response unit, a timed closing unit is included, configured to monitor the display duration of any pop-up on the current page, and when the display duration reaches a predetermined duration, close the corresponding pop-up and trigger a corresponding closing event.
[0136] To address the aforementioned technical problems, embodiments of this application also provide computer equipment. For example... Figure 6As shown, the computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. The computer-readable storage medium stores an operating system, a database, and computer-readable instructions. The database may store a sequence of control information. When the computer-readable instructions are executed by the processor, the processor can implement an application pop-up control method. The processor of the computer device provides computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the application pop-up control method of this application. The network interface of the computer device is used for communication with a terminal. Those skilled in the art will understand that… Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0137] In this embodiment, the processor is used to execute... Figure 5 The system contains the specific functions of each module and its sub-modules. The memory stores the program code and various data required to execute these modules or sub-modules. The network interface is used for data transmission between the user terminal and the server. In this embodiment, the memory stores the program code and data required to execute all modules / sub-modules in the application pop-up control device of this application. The server can call the server's program code and data to execute the functions of all sub-modules.
[0138] This application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the application pop-up control method of any embodiment of this application.
[0139] This application also provides a computer program product, including a computer program / instructions that, when executed by one or more processors, implement the steps of the method described in any embodiment of this application.
[0140] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. This computer program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0141] In summary, the implementation of this application makes the application more systematic and orderly in handling multi-page pop-up commands, realizes standardized pop-up processing logic compatible with multiple pages, optimizes the efficiency of the application's interface information processing, and can improve the user experience in the human-computer interaction process.
Claims
1. An application pop-up control method, characterized by, The application comprises the following steps: receiving a pop-up box instruction belonging to a current application program, determining a page identifier, a policy identifier and a priority carried by the pop-up box instruction, wherein the pop-up box instruction comes from a remote interface or a background queue when the application program is in the foreground, and the pop-up box instruction comes from the remote interface when the application program is in the background; detecting an activity state of the application program, and inserting the pop-up box instruction into the background queue when the application program is in the background; when the application program is in the foreground, detecting whether the page identifier of the pop-up box instruction indicates a current page of the application program, and inserting the pop-up box instruction into a foreground queue when the current page is not indicated or the current page is indicated but the policy identifier is an entry identifier; when the page identifier indicates the current page and the policy identifier is not the entry identifier, executing the pop-up box instruction according to a mode indicated by the policy identifier to realize pop-up box display; controlling the pop-up box instruction in the foreground queue to be dequeued according to the priority, and executing the corresponding pop-up box instruction to realize pop-up box display in response to a corresponding dequeuing event. 2.The application pop-up control method of claim 1, wherein, The application comprises the following steps: receiving a pop-up box instruction belonging to a current application program, comprising the following steps: in response to a pop-up box instruction received by a remote interface of a current application program, analyzing a page identifier, a policy identifier and a priority in the pop-up box instruction when the application program is in the foreground; in response to a switching event corresponding to a state of the current application program switching from the background to the foreground, controlling a background queue to sequentially dequeue and buffer each pop-up box instruction in the background queue; 3.The application pop-up control method of claim 1, wherein, in response to a dequeuing event of the background queue, extracting a page identifier, a policy identifier and a priority in the background queue. when the page identifier indicates the current page and the policy identifier is not the entry identifier, executing the pop-up box instruction according to a mode indicated by the policy identifier to realize pop-up box display, comprising the following steps: when the page identifier indicates the current page and the policy identifier is a top identifier, detecting whether a historical pop-up box instruction of the same type carrying the top identifier is included in a display queue; when the historical pop-up box instruction of the same type exists, clearing the historical pop-up box instruction and a pop-up box thereof according to a requirement of the current pop-up box instruction; after the clearing operation is completed, executing the current pop-up box instruction to realize pop-up box display in the current page, and adding the current pop-up box instruction to the display queue as a historical pop-up box instruction; 4.The application pop-up control method of claim 1, wherein, when the historical pop-up box instruction of the same type does not exist, inserting the current pop-up box instruction into the foreground queue to realize pop-up box display by executing the pop-up box instruction through the foreground queue. when the page identifier indicates the current page and the policy identifier is not the entry identifier, executing the pop-up box instruction according to a mode indicated by the policy identifier to realize pop-up box display, comprising the following steps: 5.The application pop-up control method of any one of claims 1 to 4, wherein, when the page identifier indicates the current page and the policy identifier is a cover identifier, directly executing the current pop-up box instruction to realize pop-up box display in the current page. controlling the pop-up box instruction in the foreground queue to be dequeued according to the priority, and executing the corresponding pop-up box instruction to realize pop-up box display in response to a corresponding dequeuing event, comprising the following steps: In response to a page switching instruction, it is judged whether the front queue contains a pop-up box instruction with a page identifier belonging to a current page and whether the current page does not exist a pop-up box. When the judgment is established, a de-queue event of a pop-up box instruction with the highest priority is triggered. In response to the de-queue event, a corresponding pop-up box instruction is executed to realize pop-up box display, and the current pop-up box instruction is added to the display queue as a historical pop-up box instruction. In response to a closing event of any pop-up box of the current page, the corresponding pop-up box instruction existing in the display queue is cleared. 6.The application pop-up control method of claim 5, wherein, Before the corresponding pop-up box instruction existing in the display queue is cleared in response to a closing event of any pop-up box of the current page, it comprises: The display duration of any pop-up box of the current page is monitored. When the display duration reaches a predetermined duration, the corresponding pop-up box is closed and a corresponding closing event is triggered.
7. An application pop-up control apparatus, characterized by comprising: It comprises: An instruction receiving module is configured to receive a pop-up box instruction belonging to a current application program, determine a page identifier, a policy identifier and a priority carried by the pop-up box instruction. When the application program is in the foreground, the pop-up box instruction comes from a remote interface or a background queue, and when the application program is in the background, the pop-up box instruction comes from the remote interface. A state detection module is configured to detect the activity state of the application program. When the application program is in the background, the pop-up box instruction is inserted into the background queue. A page detection module is configured to detect whether the page identifier of the pop-up box instruction indicates the current page of the application program when the application program is in the foreground. When the current page is not indicated or although the current page is indicated but the policy identifier is an entry identifier, the pop-up box instruction is inserted into the foreground queue. An exception processing module is configured to execute the pop-up box instruction according to the mode indicated by the policy identifier when the page identifier indicates the current page and the policy identifier is not the entry identifier, to realize pop-up box display. A normal processing module is configured to control the de-queue of the pop-up box instruction in the foreground queue according to the priority, execute the corresponding pop-up box instruction in response to the corresponding de-queue event, and realize pop-up box display.
8. A computer device comprising a central processing unit and a memory, characterized in that The central processing unit is configured to call and run a computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores a computer program realized according to the method of any one of claims 1 to 6 in the form of computer readable instructions. When the computer program is called and run by a computer, the steps included in the corresponding method are executed.
10. A computer program product, characterised in that, It comprises computer programs / instructions which, when executed by a processor, realize the steps of the method of any one of claims 1 to 6.
Citation Information
Patent Citations
APP message push display control method, apparatus, device, and storage medium
CN109508218A
Pop-up box display method and device and storage medium
CN110688189A