CN113703885A - Popup display method and device - Google Patents
Popup display method and device Download PDFInfo
- Publication number
- CN113703885A CN113703885A CN202110785182.8A CN202110785182A CN113703885A CN 113703885 A CN113703885 A CN 113703885A CN 202110785182 A CN202110785182 A CN 202110785182A CN 113703885 A CN113703885 A CN 113703885A
- Authority
- CN
- China
- Prior art keywords
- popup
- window
- pop
- current
- displaying
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 4
- 230000006399 behavior Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a method and a device for displaying pop-up windows, which are characterized in that the pop-up windows are divided into real-time pop-up windows and non-real-time pop-up windows by setting the maximum pop-up window number and a pop-up window priority list of a current interface; receiving and judging whether the type of the current pop-up window is a real-time pop-up window, if so, displaying the current pop-up window according to the pop-up window priority list, otherwise, displaying the current pop-up window according to the maximum pop-up window number and the pop-up window priority list, processing the hierarchical display of a plurality of pop-up windows in batches and at hierarchical levels, improving the user experience, and having higher practicability and universality.
Description
Technical Field
The invention relates to the technical field of information interaction, in particular to a popup display method and device.
Background
The popup window is a common interaction mode in the App and mainly has two functions of information transmission and feedback acquisition. The popup window can forcibly interrupt the current operation behavior of the user on the APP and transmit the current operation behavior to the user information, and meanwhile, the user must perform operation response, otherwise, other functions cannot be used.
In a more complex application scenario, the pop-windows are often superimposed on each other. The good and bad of the popup display design greatly influences the experience of the user. The prior art is lack of a hierarchical sequence management design for the pop windows, and when the App has a huge number of pop windows, the App is easily regarded as a malicious pop window advertisement at the view angle of a user, so that the user is disgusted.
Therefore, a method and an apparatus for pop-up window display are needed, which can process multiple pop-up window level displays in batches and at a hierarchical level, improve user experience, and have higher practicability and universality.
Disclosure of Invention
Technical problem to be solved
In order to solve the above problems in the prior art, the present invention provides a method and an apparatus for popup display, which can process multiple popup level displays in batches and at a hierarchical level, improve user experience, and have high practicability and versatility.
(II) technical scheme
In order to achieve the purpose, the invention adopts a technical scheme that:
a method of pop-up window display, comprising the steps of:
s1, setting the maximum pop-up window number and the pop-up window priority list of the current interface, and dividing the pop-up window into a real-time pop-up window and a non-real-time pop-up window;
and S2, receiving and judging whether the type of the current popup is a real-time popup, if so, displaying the current popup according to the popup priority list, and otherwise, displaying the current popup according to the maximum popup number and the popup priority list.
In order to achieve the purpose, the invention adopts another technical scheme as follows:
an apparatus for pop-up window display, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
s1, setting the maximum pop-up window number and the pop-up window priority list of the current interface, and dividing the pop-up window into a real-time pop-up window and a non-real-time pop-up window;
and S2, receiving and judging whether the type of the current popup is a real-time popup, if so, displaying the current popup according to the popup priority list, and otherwise, displaying the current popup according to the maximum popup number and the popup priority list.
(III) advantageous effects
The invention has the beneficial effects that: setting the maximum popup window number and the popup window priority list of the current interface, and dividing popup windows into real-time popup windows and non-real-time popup windows; receiving and judging whether the type of the current pop-up window is a real-time pop-up window, if so, displaying the current pop-up window according to the pop-up window priority list, otherwise, displaying the current pop-up window according to the maximum pop-up window number and the pop-up window priority list, processing the hierarchical display of a plurality of pop-up windows in batches and at hierarchical levels, improving the user experience, and having higher practicability and universality.
Drawings
FIG. 1 is a flowchart of a pop-up window display method according to an embodiment of the present invention;
fig. 2 is a schematic overall structure diagram of a pop-up window display device according to an embodiment of the present invention.
[ description of reference ]
1: a pop-up window display device;
2: a memory;
3: a processor.
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.
Example one
Referring to fig. 1, a pop-up window display method includes the steps of:
s1, setting the maximum pop-up window number and the pop-up window priority list of the current interface, and dividing the pop-up window into a real-time pop-up window and a non-real-time pop-up window;
and S2, receiving and judging whether the type of the current popup is a real-time popup, if so, displaying the current popup according to the popup priority list, and otherwise, displaying the current popup according to the maximum popup number and the popup priority list.
The displaying the current pop-up window according to the maximum pop-up window number and the pop-up window priority list specifically comprises the following steps:
if the number of the popup windows of the current interface does not reach the maximum popup window number, displaying the current popup window according to the popup window priority list;
and if the number of the popup windows of the current interface reaches the maximum popup window number, recording the next time the current popup window accesses the current interface, and displaying in advance.
Specifically, for a real-time popup, each time a certain App page including the popup is accessed, or when the page is refreshed, the App page is inserted into a corresponding hierarchy by comparing according to the priority displayed by the popup. The effects of pop-up window priority display with high priority and pop-up window hiding with low priority are achieved.
And for the non-real-time popup, if the current popup quantity does not reach the maximum popup quantity, directly inserting the current popup into the corresponding hierarchy according to the priority to display.
And if the number of the pop-up windows of the current interface reaches the maximum number of the pop-up windows, recording the excessive pop-up windows with the number exceeding the maximum number, and preferentially displaying the residual pop-up windows next time.
When a specific page is accessed or refreshed again, the recorded popup is acquired firstly when the next popup is triggered, and if the recorded popup does not exist, the popup management is ended.
Example two
Referring to fig. 2, an apparatus 1 for pop-up window display includes a memory 2, a processor 3, and a computer program stored in the memory 2 and running on the processor 3, wherein the processor 3 implements the steps of the first embodiment when executing the computer program.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.
Claims (4)
1. A method of pop-up window display, comprising the steps of:
s1, setting the maximum pop-up window number and the pop-up window priority list of the current interface, and dividing the pop-up window into a real-time pop-up window and a non-real-time pop-up window;
and S2, receiving and judging whether the type of the current popup is a real-time popup, if so, displaying the current popup according to the popup priority list, and otherwise, displaying the current popup according to the maximum popup number and the popup priority list.
2. The method for popup display according to claim 1, wherein the displaying of the current popup according to the maximum popup number and the popup priority list specifically comprises:
if the number of the popup windows of the current interface does not reach the maximum popup window number, displaying the current popup window according to the popup window priority list;
and if the number of the popup windows of the current interface reaches the maximum popup window number, recording the next time the current popup window accesses the current interface, and displaying in advance.
3. A pop-up window display apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of:
s1, setting the maximum pop-up window number and the pop-up window priority list of the current interface, and dividing the pop-up window into a real-time pop-up window and a non-real-time pop-up window;
and S2, receiving and judging whether the type of the current popup is a real-time popup, if so, displaying the current popup according to the popup priority list, and otherwise, displaying the current popup according to the maximum popup number and the popup priority list.
4. The apparatus for displaying pop-windows according to claim 3, wherein the displaying the current pop-window according to the maximum pop-window number and the pop-window priority list specifically comprises:
if the number of the popup windows of the current interface does not reach the maximum popup window number, displaying the current popup window according to the popup window priority list;
and if the number of the popup windows of the current interface reaches the maximum popup window number, recording the next time the current popup window accesses the current interface, and displaying in advance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110785182.8A CN113703885A (en) | 2021-07-12 | 2021-07-12 | Popup display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110785182.8A CN113703885A (en) | 2021-07-12 | 2021-07-12 | Popup display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113703885A true CN113703885A (en) | 2021-11-26 |
Family
ID=78648464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110785182.8A Pending CN113703885A (en) | 2021-07-12 | 2021-07-12 | Popup display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113703885A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286158A (en) * | 2021-12-24 | 2022-04-05 | 广州方硅信息技术有限公司 | Live broadcast room virtual resource activity display method, device, medium and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070022172A1 (en) * | 2005-07-19 | 2007-01-25 | Anglin Howard N | Controlling presentation of instant messages to a recipient |
CN107153545A (en) * | 2017-05-09 | 2017-09-12 | 北京酷我科技有限公司 | A kind of method that pop-up is managed collectively in iOS system |
CN107463440A (en) * | 2017-09-14 | 2017-12-12 | 北京奇艺世纪科技有限公司 | A kind of pop-up methods of exhibiting and device |
CN112947830A (en) * | 2021-03-11 | 2021-06-11 | 北京高途云集教育科技有限公司 | Popup window display method and device, computer equipment and storage medium |
-
2021
- 2021-07-12 CN CN202110785182.8A patent/CN113703885A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070022172A1 (en) * | 2005-07-19 | 2007-01-25 | Anglin Howard N | Controlling presentation of instant messages to a recipient |
CN107153545A (en) * | 2017-05-09 | 2017-09-12 | 北京酷我科技有限公司 | A kind of method that pop-up is managed collectively in iOS system |
CN107463440A (en) * | 2017-09-14 | 2017-12-12 | 北京奇艺世纪科技有限公司 | A kind of pop-up methods of exhibiting and device |
CN112947830A (en) * | 2021-03-11 | 2021-06-11 | 北京高途云集教育科技有限公司 | Popup window display method and device, computer equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286158A (en) * | 2021-12-24 | 2022-04-05 | 广州方硅信息技术有限公司 | Live broadcast room virtual resource activity display method, device, medium and equipment |
CN114286158B (en) * | 2021-12-24 | 2024-04-19 | 广州方硅信息技术有限公司 | Virtual resource activity display method, device, medium and equipment of live broadcasting room |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8019588B1 (en) | Methods and systems to compare screen captures from emulated devices under test | |
EP2455845B1 (en) | Information display device, information display method, information display program, recording medium and information display system | |
US7885954B2 (en) | Monitoring performance of a data processing system | |
US20010043235A1 (en) | Webtop: multiple applet delivery within a fixed-sized viewing space | |
CN105807966B (en) | Method and device for acquiring touch screen event | |
CN103577034A (en) | Method and unit for accessing functional modules of client | |
CN104636240B (en) | A kind of acquisition methods and terminal of information report | |
WO2021129335A1 (en) | Operation monitoring method and apparatus, operation analysis method and apparatus | |
CN113703885A (en) | Popup display method and device | |
US20060022972A1 (en) | Method, system and article of manufacture for testing a software application having a text-based screen with a test tool for a software application having a graphical user interface which uses objects | |
CN105094569A (en) | Information prompting method and device and electronic equipment | |
CN105653133B (en) | The extended method and device of application program | |
US20230035104A1 (en) | Verification method, apparatus and device, and storage medium | |
WO2017206893A1 (en) | Interface refresh synchronization method and apparatus, terminal, and storage medium | |
CN109977090A (en) | A kind of method and terminal to HDFS write-in data | |
CN113419664A (en) | Whiteboard writing area adaptation method, device and medium in all-in-one machine multi-window mode | |
CN107589890A (en) | A kind of mouse clicks on the response method and device for the view that is blocked | |
CN107085530A (en) | Refresh the method, device and mobile terminal of application interface | |
WO2023024959A1 (en) | Image labeling method and system, and device and storage medium | |
CN107340886B (en) | Soft keyboard state determination method, device, medium and terminal | |
US6828976B2 (en) | Method and apparatus for hardware acceleration of graphical fill in display systems | |
CN110554821A (en) | Display method, system and equipment of suspension frame for screening query conditions | |
US10963983B2 (en) | Graphics performance for complex user interfaces | |
CN113282256A (en) | Method, device, equipment and storage medium for managing Android system display | |
US8539171B2 (en) | Analysis and timeline visualization of storage channels |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211126 |