CN111580899B - Layered structure-based message popup window system and electronic equipment - Google Patents

Layered structure-based message popup window system and electronic equipment Download PDF

Info

Publication number
CN111580899B
CN111580899B CN202010244031.7A CN202010244031A CN111580899B CN 111580899 B CN111580899 B CN 111580899B CN 202010244031 A CN202010244031 A CN 202010244031A CN 111580899 B CN111580899 B CN 111580899B
Authority
CN
China
Prior art keywords
popup
layer
window
popup window
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010244031.7A
Other languages
Chinese (zh)
Other versions
CN111580899A (en
Inventor
周志文
纪向晴
黄杰
李兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mapgoo Technology Co ltd
Original Assignee
Shenzhen Mapgoo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mapgoo Technology Co ltd filed Critical Shenzhen Mapgoo Technology Co ltd
Priority to CN202010244031.7A priority Critical patent/CN111580899B/en
Publication of CN111580899A publication Critical patent/CN111580899A/en
Application granted granted Critical
Publication of CN111580899B publication Critical patent/CN111580899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

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

Abstract

The embodiment of the invention discloses a message popup window system based on a layered structure, which comprises 7 layered units, namely a data layer, an object layer, a management layer, a logic layer, a control layer and an interaction layer, wherein the data layer is used for storing popup window popup information and popup window parameter information; the object layer is used for designing a popup module and a popup object; the management layer is used for classifying and searching and managing the popup window objects; the logic layer is used for determining whether the popup window is opened or not and the popup window style according to the acquired popup window parameter information; the control layer is used for determining whether all popup functions or part popup functions are started according to the configuration parameters; the interaction layer is used for carrying out data interaction with the main module and providing a popup method for system initialization, parameter setting and main module calling. The embodiment of the invention adopts a multilayer structure, is nested layer by layer, separates the popup logic from the main logic, and enables the popup to be only one function by the message popup system, so that the main module can call the popup system at any time, and the purposes of simplicity, convenience and convenience are achieved.

Description

Layered structure-based message popup window system and electronic equipment
Technical Field
The present invention relates to message popup management technologies, and in particular, to a message popup system based on a layered structure and an electronic device.
Background
The popup message, which is an indispensable means of strong interaction with the user, is used for sending out system prompts, message reminders and the like through the popup message. The existing popup window technology generally adopts an on-site implementation mode, namely after a popup window command is triggered by a system, the system automatically sends popup window messages, and when a plurality of popup window commands are triggered simultaneously, the system can send a plurality of popup windows, and because the popup window content, the popup window type and the popup window display position are different from each other, the popup window is scattered, the reusability is low, the popup window is not easy to manage, the unified format is difficult, and the like, so that the interface is disordered, and the use of a user is influenced.
Accordingly, the prior art is in need of further improvement and promotion.
Disclosure of Invention
Aiming at the technical problems, the embodiment of the invention provides a message popup window system and electronic equipment based on a layered structure, which are used for solving the technical problems of popup window dispersion, low reusability, difficult management, difficult unified format and the like of the existing message popup window system.
The first aspect of the embodiment of the invention provides a message popup window system based on a layered structure, which comprises 7 layered units, namely a data layer, an object layer, a management layer, a logic layer, a control layer and an interaction layer, wherein the data layer is used for storing popup window popup information and popup window parameter information; the object layer is used for designing a popup module and a popup object; the management layer is used for classifying and searching and managing the popup window objects; the logic layer is used for determining whether the popup window is opened or not and the popup window style according to the acquired popup window parameter information; the control layer is used for determining whether all or part of the popup functions are started according to the configuration parameters; the interaction layer is used for carrying out data interaction with the main module and providing a popup window method for system initialization, parameter setting and main module calling.
Optionally, the popup window parameter information includes a switch parameter and a control parameter, and the data layer stores the switch parameter and the control parameter of the popup window in an SP form.
Optionally, the popup parameter information includes a total popup number, a current day popup number, a last popup time, a last display duration, and a last closing time.
Optionally, the switch parameter includes manual closing and automatic closing of the pop-up window.
Optionally, the logic layer controls the pop-up style of the pop-up window according to the control parameter of the pop-up window after determining that the pop-up window needs to be opened.
Optionally, the control layer controls the main switch of all popups and the classifying switch of the popup object, and when the main switch and the classifying switch are both opened, the system enters the logic layer to judge whether the popup is popped.
Optionally, the control layer controls the high priority popup to be activated with priority and the remaining popups to be hidden with priority.
Optionally, the data layer provides local data persistence and stores popup information and popup parameter information using a database.
A second aspect of an embodiment of the present invention provides an electronic device, including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a program of instructions executable by the at least one processor to enable the at least one processor to load and execute the message pop system described above.
A third aspect of embodiments of the present invention provides a computer program product for use in a hierarchical based message pop system, the computer program product comprising a message pop system as described above.
In the technical scheme provided by the embodiment of the invention, all popup windows are extracted and stripped out to be used as a single message popup window system, so that popup windows are uniformly controlled and managed in the single message popup window system, the message popup window system adopts a multi-layer structure and is nested layer by layer, and is divided into a data layer, an object layer, a management layer, a logic layer, a control layer and an interaction layer, and popup window logic is separated from main logic and is used for being called by a main module at any time. Therefore, compared with the prior art, the message popup window system has independent logic, realizes unified management of popup windows, and is simple, convenient and good in use.
Drawings
Fig. 1 is a block diagram of a message popup system based on a layered structure in an embodiment of the present invention.
Fig. 2 is a schematic diagram of an embodiment of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The main idea of the embodiment is to extract and strip all the popup windows as a single message popup window system so as to perform unified control and management on the popup windows in the single message popup window system, separate popup window logic from main logic, and enable the message popup window system to be only one function for the main module to call at any time, thereby achieving the purposes of simplicity, convenience and convenience.
Referring to fig. 1, in an embodiment of a message popup system based on a layered structure in an embodiment of the present invention, the system includes 7 layered units, which are a data layer 11, an object layer 12, a management layer 13, a logic layer 14, a control layer 15, and an interaction layer 16, respectively, where the data layer 11 is used to store popup information and popup parameter information; the object layer 12 is used for designing a popup module and a popup object; the management layer 13 is used for classifying and searching and managing the popup window objects; the logic layer 14 is configured to determine whether a popup window is opened or not and a popup window style according to the acquired popup window parameter information; the control layer 15 is configured to determine whether all or part of the popup functions are enabled according to the configuration parameters; the interaction layer 16 is configured to interact with the main module and provide a popup method for system initialization, parameter setting, and main module call.
Each of the layered units is described in detail below.
In this embodiment, the data layer 11 provides local data persistence and stores popup information and popup parameter information using a database. The popup window parameter information comprises a switch parameter and a control parameter, and the switch parameter comprises manual closing and automatic closing of the popup window. The data layer 11 provides persistence of local data, uses a database to store popup information of popup windows, popup total times, popup window times on the same day, popup window time last time, display duration last time, closing time last time and other popup window parameter information, and also has manual click closing and popup window automatic closing switch parameters. Methods of acquiring historical data for all of the popups, and methods of acquiring current day data for all of the popups, are also provided. In this embodiment, the SP list is preferably used to save the opening and closing parameters of the popup window and the control parameters of the popup window.
The object layer 12 provides for the design of a popup template, primarily a popup base class template, i.e., a popup base template. Including the basic templates of various message popups. For example, the message class popup adopts a unified text format, a unified frame format, and the like. The object layer 12 provides implementation of specific popup objects corresponding to requirements, such as low-traffic reminders in an internet of things management system or message popup of system messages and notification notices, according to the popup templates.
The management layer 13 is responsible for putting the popup window objects into specific management classes in a classified manner, so that the popup window objects are conveniently distinguished and searched. The management class of the embodiment can be specifically set according to the system requirement, for example, flow popup classification, announcement popup classification, flow popup classification, and the like can be set. The management layer 13 of the present embodiment does not limit specific classification, and mainly provides a method for classifying popup window objects, which is convenient for distinguishing and searching, and convenient for unified management, and particularly when a main module invokes a message popup window system, various popup windows can be managed in a unified manner according to the functional requirements of the main module, and the use is convenient.
When determining whether the popup window is opened or not and the popup format, the logic layer 14 needs to judge whether the popup window meets the popup requirement according to the scene condition, if the popup condition is not met, the logic layer 14 cannot popup the popup window, and if the popup condition is met, that is, the logic layer 14 determines that the popup window needs to be opened, the popup window popup patterns including popup patterns of fonts with various colors or popup patterns of side entry, flash, amplification, shutter and the like can be controlled according to the control parameters of the popup window. For example, a low flow popup will only pop up if the flow is less than 100M, and only pop up 1 time per day, with the popup using red or orange or yellow fonts depending on how much flow remains when the popup. The pop-up window style is not particularly limited in the embodiment, and a user can set or select to add according to the system requirement.
The control layer 15 decides whether all or part of the popup functions are enabled or not according to the message popup system parameters, or uses popup priority to control the high priority popup to enable and hide the rest popup, when a plurality of popups are needed to pop up at the same time, the system displays the popup with the highest priority and hides the rest popup. The control layer 15 controls the main switch of all popup windows and the classifying switch of popup window objects, and when the main switch and the classifying switch are both opened, the system enters the logic layer 14 to judge whether popup windows pop up. When the main switch is closed, all popup windows are not popped, when the main switch is opened, and one or more classifying switches are closed, one or more classifying popup windows are not popped, and other classifying popup windows can be popped. For example, only when the total popup window and the flow popup window classification switch of the message popup window system are opened, the low flow popup window enters the logic layer 14 to judge whether the low flow popup window pops up, all pops up are not popped up when the total popup window is closed, the total popup window is opened, only when the flow classification switch is closed, the flow popup window classification is not started, other classified popup windows can still pop up.
The interaction layer 16 is configured to perform data interaction with the main module, when the main module 20 needs to manage the popup, the main module 20 may call the message popup system according to the embodiment of the present invention, and perform data interaction with the message popup system through the interaction layer 16, and may perform system initialization setting, parameter setting, and other setting operations of the message popup system. At the same time, the method of displaying the popup that the master module 20 needs to invoke may be selected by the interaction layer 16.
In this embodiment, the interaction layer 16 performs data interaction with the data layer 11, the control layer 15 performs control operation, the control layer 15 controls the logic layer 14 according to the data command of the interaction layer 16 to perform logic judgment such as pop opening and pop-up patterns, the logic layer 14 controls the management layer 13, determines pop classification from the management layer 13, performs data interaction with the data layer 11, and the management layer 13 controls the object layer 12.
The message popup system of the embodiment of the invention adopts a multilayer structure, is nested layer by layer, exists as an independent system, extracts and strips all popups to be used as an independent message popup system, so that the popup is uniformly controlled and managed in the independent message popup system, the popup logic is separated from the main logic, and the message popup system enables the popup to be only one function for being called by a main module at any time, thereby achieving the purposes of simplicity, convenience and convenience. The main module of the embodiment of the invention is various systems which need to uniformly manage the message popup, and the message popup system is embodied in the form of the function of a plug-in.
Fig. 2 is a schematic hardware structure of an electronic device according to an embodiment of the present application, where the device includes: one or more processors 201, and a memory 202. One example is shown in fig. 2. The processor 201 and the memory 202 may be connected via a bus or otherwise, which is illustrated in fig. 2.
The memory 202 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the message pop system in the embodiments of the present invention. The processor 201 executes various functional applications of the server and data processing, i.e. implements the message pop system in the above-described method embodiments, by running non-volatile software programs, instructions and modules stored in the memory 202.
Memory 202 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the base layer drawing design system, or the like. In addition, memory 202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 202 may optionally include memory remotely located with respect to processor 201, which may be connected to the message pop system via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic equipment can execute the system provided by the embodiment of the application and has the corresponding functional modules and beneficial effects of executing the system. Technical details not described in detail in this embodiment may be referred to the system provided by the embodiment of the present application.
Also, the system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Based on such understanding, the technical solution of the present invention, or a part or all of the technical solution contributing to the prior art, may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to load the message pop-up system for executing the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A message popup window system based on a layered structure is characterized in that the system comprises 7 layered units, namely a data layer, an object layer, a management layer, a logic layer, a control layer and an interaction layer,
The data layer is used for storing popup information and popup parameter information of the popup window;
The object layer is used for designing a popup template and a popup object;
The management layer is used for classifying and searching and managing the popup window objects;
the logic layer is used for determining whether the popup window is opened or not and the popup window style according to the acquired popup window parameter information;
the control layer is used for determining whether all or part of the popup functions are started according to the configuration parameters;
The interaction layer is used for carrying out data interaction with the main module and providing a popup window method for system initialization, parameter setting and main module calling;
The popup window parameter information comprises a switching parameter and a control parameter, and the data layer stores the switching parameter and the control parameter of the popup window in an SP list mode;
the control layer controls the main switch of all popup windows and the classifying switch of popup window objects, and when the main switch and the classifying switch are both opened, the system enters the logic layer to judge whether popup windows pop up or not;
The control layer adopts the popup priority to control the high-priority popup to be started preferentially and the rest popups to be hidden.
2. The layered-based message popup system of claim 1, wherein the popup parameter information comprises a total number of popups, a number of popups on the day, a last popup time, a last display duration, and a last closing time.
3. The layered-based message pop-up system of claim 1, wherein the switching parameters include pop-up manual closing and auto-closing.
4. The layered-structure-based message popup system of claim 1, wherein the logic layer controls the popup style of the popup based on the control parameters of the popup after determining that the popup needs to be opened.
5. The layered-structure-based message popup system of claim 1, wherein the data layer provides local data persistence and employs a database to store popup information and popup parameter information.
6. An electronic device comprising at least one processor;
and a memory communicatively coupled to the at least one processor;
Wherein the memory stores a program of instructions executable by the at least one processor to enable the at least one processor to load and execute the message pop system of any one of claims 1-5.
7. A computer program product for use in a hierarchical based message pop system, characterized in that the computer program product comprises a message pop system according to any of claims 1-5.
CN202010244031.7A 2020-03-31 2020-03-31 Layered structure-based message popup window system and electronic equipment Active CN111580899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010244031.7A CN111580899B (en) 2020-03-31 2020-03-31 Layered structure-based message popup window system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010244031.7A CN111580899B (en) 2020-03-31 2020-03-31 Layered structure-based message popup window system and electronic equipment

Publications (2)

Publication Number Publication Date
CN111580899A CN111580899A (en) 2020-08-25
CN111580899B true CN111580899B (en) 2024-04-30

Family

ID=72126136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010244031.7A Active CN111580899B (en) 2020-03-31 2020-03-31 Layered structure-based message popup window system and electronic equipment

Country Status (1)

Country Link
CN (1) CN111580899B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984260A (en) * 2020-09-01 2020-11-24 中国银行股份有限公司 Front-end APP popup window management method, device and system
CN111930283B (en) * 2020-10-12 2021-02-19 武汉深之度科技有限公司 Message display method and computing device
CN113900760B (en) * 2021-10-26 2024-05-28 广州博冠信息科技有限公司 Popup window display method and device
CN117221117B (en) * 2023-07-24 2024-03-29 瞳见科技有限公司 Normalized popup window generation method, system, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484509A (en) * 2016-09-27 2017-03-08 腾讯科技(深圳)有限公司 A kind of output intent of pop-up, device and terminal
CN106569830A (en) * 2016-11-10 2017-04-19 北京小鸟看看科技有限公司 Virtual reality device and method and plug-in unit for realizing message prompt box displaying in the same
CN106648779A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal floating window permission setting method
CN107153545A (en) * 2017-05-09 2017-09-12 北京酷我科技有限公司 A kind of method that pop-up is managed collectively in iOS system
CN109144650A (en) * 2018-08-22 2019-01-04 拉扎斯网络科技(上海)有限公司 Show method for managing object, device, electronic equipment and computer storage medium
CN109766155A (en) * 2018-12-13 2019-05-17 深圳壹账通智能科技有限公司 A kind of bullet frame generation method, device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716685B2 (en) * 2005-08-30 2010-05-11 Microsoft Corporation Pluggable window manager architecture using a scene graph system
CN102682014A (en) * 2011-03-14 2012-09-19 腾讯科技(深圳)有限公司 Open-type plug-in module management platform implemented on browser and open-type plug-in module management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484509A (en) * 2016-09-27 2017-03-08 腾讯科技(深圳)有限公司 A kind of output intent of pop-up, device and terminal
CN106569830A (en) * 2016-11-10 2017-04-19 北京小鸟看看科技有限公司 Virtual reality device and method and plug-in unit for realizing message prompt box displaying in the same
CN106648779A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal floating window permission setting method
CN107153545A (en) * 2017-05-09 2017-09-12 北京酷我科技有限公司 A kind of method that pop-up is managed collectively in iOS system
CN109144650A (en) * 2018-08-22 2019-01-04 拉扎斯网络科技(上海)有限公司 Show method for managing object, device, electronic equipment and computer storage medium
CN109766155A (en) * 2018-12-13 2019-05-17 深圳壹账通智能科技有限公司 A kind of bullet frame generation method, device and storage medium

Also Published As

Publication number Publication date
CN111580899A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN111580899B (en) Layered structure-based message popup window system and electronic equipment
CN110531987A (en) Management method, device and computer readable storage medium based on Kubernetes cluster
CN107172205B (en) Pushed information processing method, mobile terminal and computer storage media
CN104866366B (en) Application program method for cleaning and device
CN111818132B (en) Control method and device of Internet of things equipment, computer equipment and storage medium
CN105117320A (en) Method for managing application in electronic terminal and electronic terminal thereof
CN110232010A (en) A kind of alarm method, alarm server and monitoring server
CN104009883A (en) Computer resource centralized remote real-time monitoring system and method
CN104579934A (en) Information processing method and client
CN101930399A (en) Method for recording software test
CN111726456B (en) Data processing method and related device
CN105117228A (en) Method for loading suspension window, suspension window loading device and electronic equipment
CN109376015A (en) Solution and system are blocked in log for task scheduling system
CN102098233B (en) Method and system for controlling communication window in instant messenger
CN104375888B (en) The method that background task is called by informing based on android system
CN106940616A (en) Using operation method and device
CN105933497B (en) A kind of call blocking method and apparatus of multi-mode
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN105808286A (en) Background program removal method and electronic device
CN107748697B (en) Application closing method and device, storage medium and electronic equipment
CN104598192B (en) Information processing method and electronic equipment
CN107391199A (en) Using startup method and device, terminal and computer-readable recording medium
CN102387029B (en) System and method for automatically saving equipment configuration information
CN107484151A (en) A kind of SIM card networking control method
WO2021081734A1 (en) Message display method, control terminal, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant