CN113535313A - Popup window display method and device - Google Patents
Popup window display method and device Download PDFInfo
- Publication number
- CN113535313A CN113535313A CN202110881813.6A CN202110881813A CN113535313A CN 113535313 A CN113535313 A CN 113535313A CN 202110881813 A CN202110881813 A CN 202110881813A CN 113535313 A CN113535313 A CN 113535313A
- Authority
- CN
- China
- Prior art keywords
- popup
- data
- terminal
- target page
- target
- 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 51
- 230000008569 process Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 9
- 230000008878 coupling Effects 0.000 description 7
- 238000010168 coupling process Methods 0.000 description 7
- 238000005859 coupling reaction Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 239000008186 active pharmaceutical agent Substances 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 235000021419 vinegar Nutrition 0.000 description 1
- 239000000052 vinegar Substances 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)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a popup display method and a popup display device, which are applied to a first terminal, wherein the method comprises the following steps: receiving popup data sent by a second terminal, wherein the popup data has an association relation with a target page in a target APP; determining the target page corresponding to the popup window data based on the incidence relation; and sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data. In the process, the popup data is sent to the first terminal by the second terminal and then sent to the target page by the first terminal, and the display of the target page and the asynchronous realization of popup display based on the popup data are realized.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a popup window display method and device.
Background
At present, smart devices increasingly enter our lives, and various apps gradually affect us. In the process of using the app, popup is a very core interaction flow.
The traditional app pop-up window function design is usually implemented by encoding different pages according to specific business scenarios. The realization method needs the service interface to be adapted, the popup data resource is synchronously returned at the corresponding page interface, the front end displays the popup according to the corresponding resource, the popup data needs to be synchronously acquired due to the coupling between the page and the popup, and if the popup system goes wrong, the service is influenced.
Disclosure of Invention
In view of this, the present invention provides a popup display method and apparatus, so as to solve the problem in the prior art that due to the coupling between a page and a popup, popup data needs to be synchronously acquired, and if a popup system has a problem, a service itself is affected. The specific scheme is as follows:
a popup window display method is applied to a first terminal and comprises the following steps:
receiving popup data sent by a second terminal, wherein the popup data has an association relation with a target page in a target APP;
determining the target page corresponding to the popup window data based on the incidence relation;
and sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data.
Optionally, in the method, the sending, by the first terminal, the popup data to the target APP includes:
and sending the popup data to the target page based on the long link gateway so as to enable the target APP to display the popup in the target page based on the popup data.
Optionally, the method described above, where the second terminal further includes: a background is configured, and a background is configured,
and under the condition that an updating request for the popup data in the first terminal is received, adjusting the popup data based on the configuration background.
A popup window display method is applied to a second terminal and comprises the following steps:
receiving an access request for a target page in a target APP, and judging whether the target page is associated with a popup window or not based on the access request;
if so, acquiring popup window data corresponding to the target page;
and sending the popup data to the first terminal so as to enable the first terminal to send the popup data to the target page.
Optionally, the method for receiving an access request for a target page in a target APP, and determining whether the target page is associated with a popup window based on the access request includes:
sending the access request to the first terminal based on a preset application program interface;
the first terminal acquires a user identifier and a page identifier in the access request;
and judging whether the target page has an associated popup window or not based on the user identifier and the page identifier.
A display device of a pop-up window is applied to a first terminal and comprises:
the receiving module is used for receiving popup data sent by a second terminal, wherein the popup data and a target page in a target APP have an association relationship;
the determining module is used for determining the target page corresponding to the popup window data based on the incidence relation;
and the first sending module is used for sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data.
Optionally, in the above apparatus, in case that the first terminal is a long link gateway,
and the sending module is used for sending the popup data to the target page based on the long link gateway so as to enable the target APP to display the popup in the target page based on the popup data.
The above apparatus, optionally, further includes: a background is configured, and a background is configured,
and the configuration background is used for adjusting the popup window data based on the configuration background under the condition of receiving an updating request of the popup window data in the first terminal.
A display device of a pop-up window is applied to a second terminal and comprises:
the receiving and judging module is used for receiving an access request for a target page in a target APP and judging whether the target page is associated with a popup window or not based on the access request;
the acquisition module is used for acquiring popup window data corresponding to the target page if the target page is the popup window;
and the second sending module is used for sending the popup data to the first terminal so as to enable the first terminal to send the popup data to the target page.
The above apparatus, optionally, the receiving and determining module includes:
a sending unit, configured to send the access request to the first terminal based on a preset application program interface;
an obtaining unit, configured to obtain, by the first terminal, a user identifier and a page identifier in the access request;
and the judging unit is used for judging whether the target page has an associated popup window or not based on the user identifier and the page identifier.
Compared with the prior art, the invention has the following advantages:
the invention discloses a popup display method and a popup display device, which are applied to a first terminal, wherein the method comprises the following steps: receiving popup data sent by a second terminal, wherein the popup data has an association relation with a target page in a target APP; determining the target page corresponding to the popup window data based on the incidence relation; and sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data. In the process, the popup data is sent to the first terminal by the second terminal and then sent to the target page by the first terminal, and the display of the target page and the asynchronous realization of popup display based on the popup data are realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a pop-up window display method disclosed in an embodiment of the present application;
fig. 2 is another flowchart of a pop-up window displaying method disclosed in the embodiment of the present application;
fig. 3 is a signaling diagram of a pop-up window display method according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a display device of a pop-up window according to an embodiment of the disclosure;
fig. 5 is a block diagram of another structure of a pop-up window display device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The invention discloses a popup display method and a device, wherein in the display process of an application and a popup, at present, intelligent equipment increasingly enters our lives, various APPs gradually influence the APP, the popup is a very core interactive flow in the process of using the APPs, each APP comprises at least one page, the popup pages may exist in the APP, popup display in the prior art is usually realized by encoding different pages according to service scenes, but the prior display mode has the following disadvantages: the popup needs to be adapted to a service interface, a popup data resource is synchronously returned at a corresponding page interface, a front end displays the popup according to corresponding popup data, due to coupling between a service system and the popup, if the popup system goes wrong, the service is affected, and some specific logics are needed, so that if the popup and the popup of a policy are independently implemented, logic consistency is difficult to guarantee, therefore, the problem is solved in the future.
S101, receiving popup data sent by a second terminal, wherein the popup data and a target page in a target APP have an association relation;
in this embodiment of the present invention, the second terminal is configured to store popup data and popup execution logic, where the popup data is data used to construct a popup page, and the popup data has an association relationship with a target page in a target APP, where the association relationship may be used as execution logic of the second terminal, and the popup data sent in the second terminal is determined based on the execution logic, for example, the target APP includes a first page and a detail page, where the first page is associated with first popup data, and the detail page is associated with second popup data, where at least one corresponding popup exists in the first popup data and the second popup data.
S102, determining the target page corresponding to the popup window data based on the incidence relation;
in the embodiment of the present invention, the association relationship may be established based on an identifier or based on other manners, and in the embodiment of the present invention, a specific association manner is not limited, and for example, the target page and the corresponding pop-up window data thereof use the same identifier to establish association, and the target page corresponding to the pop-up window data is determined based on the identifier.
S103, sending the popup data to the target page to enable the target APP to display the popup in the target page based on the popup data.
In the embodiment of the present invention, the popup data is sent to the target page based on the first terminal, so that the target page displays a popup in the target page based on the popup data, where for a target APP end, since a page in the target APP may jump to another page due to a click or other operations of a user, after receiving the popup data at the target APP end, it is necessary to first determine whether a current page displayed in the target APP is the target page, if so, send the popup data to the target page, construct a corresponding popup in the target page based on the popup data, and if not, discard the popup data, and wait for receiving the popup data corresponding to the current page.
The invention discloses a popup window display method, which is applied to a first terminal and comprises the following steps: receiving popup data sent by a second terminal, wherein the popup data has an association relation with a target page in a target APP; determining the target page corresponding to the popup window data based on the incidence relation; and sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data. In the process, the popup data is sent to the first terminal by the second terminal and then sent to the target page by the first terminal, and the display of the target page and the asynchronous realization of popup display based on the popup data are realized.
In the embodiment of the present invention, preferably, the first terminal is a long-chain gateway, the long-chain gateway is configured to simultaneously interface multiple clients and multiple service backend, and is in a many-to-many relationship, and only one long connection is used for communication between the multiple clients and the multiple service backend. Such many-to-many systems are designed to avoid strong coupling. The business side logic is also dynamically adjusted, if the protocol and logic of the business are coupled with the gateway, all the businesses are mutually involved, and the protocol upgrading and maintenance are extremely difficult. Therefore, the classical publish-subscribe model is used to try to decouple the long connection gateway from the client and the service backend, and the subscription messages can be freely published between the long connection gateway and the client and the service backend only by stipulating Topic. The transmitted message is pure binary data, and the gateway does not need to care about the specific protocol specification and serialization mode of the service party. The long-link gateway decouples the implementation of the gateway and the service party by using the publish-subscribe, and still needs to control the authority of the client to publish-subscribe to the Topic, so as to avoid intentional or unintentional data pollution or unauthorized access. Furthermore, a Topic template variable is designed in the ACL rule to reduce the access cost of the service party, and the service party is configured with a username variable identifier which allows the subscription and contains a connection, which indicates that only the user is allowed to subscribe or send a message to the own Topic.
Furthermore, in order to ensure that the message of the down-sending or the up-sending is normally processed by the opposite terminal, the functions of receipt return and retransmission are realized. The message of the important service needs to be sent back after being received and correctly processed by the client, the message which is not received by the client is temporarily stored in the gateway, and the gateway can judge the receiving condition of the client and try to send again until the message back of the client is correctly received.
In the large-flow scene of the service end service, the efficiency of the mode that each message sent to the gateway by the service end is sent back is low, the receiving and sending mode based on the message queue is provided, the MQTT standard is referred to when the communication protocol is designed, the authentication and authorization design is expanded, the isolation and decoupling of the service message are completed, and the transmission reliability of a certain degree is ensured. Meanwhile, the method keeps compatibility with the MQTT protocol to a certain extent, so that the method is convenient to realize by directly using the MQTT client at each end, and reduces the access cost of a service party.
The long chain access gateway comprises:
the access layer is realized by OpenResty and is responsible for connection load balancing and session maintenance;
the long connection Broker is deployed in the container and is responsible for logics such as protocol analysis, authentication and authorization, conversation, subscription publishing and the like;
redis storage, persisting session data;
the Kafka message queue distributes messages to the Broker or the business side;
kafka and Redis are basic components, and both the platform and the containerization can complete minute-level rapid expansion.
Therefore, the popup data is sent to the target page based on the long-link gateway, the target APP is made to display the popup in the target page based on the popup data, and due to the adoption of the long-link gateway, popup trigger logic is asynchronously realized, coupling does not exist between the target page and the popup, and the problem of popup cannot be caused, so that the service is influenced.
Further, the second terminal further includes a configuration background, where the configuration background is configured to adjust the popup data based on the configuration background when receiving an update request for the popup data in the first terminal, where the adjustment of the popup data includes: and deleting, replacing, adding and the like parameters in the popup data, adjusting the management security relation between the popup data and the corresponding page, and the like.
In this embodiment of the present invention, for a process of determining popup data in the second terminal, in an embodiment of the present invention, there is provided a popup display method applied to the second terminal, where the second terminal is optionally a system including popup data, and an execution flow of the method is shown in fig. 2, including:
s201, receiving an access request for a target page in a target APP, and judging whether the target page is associated with a popup window based on the access request;
in the embodiment of the present invention, when a user accesses a target page in the target APP by clicking or other means, an access request to the target page is received, the access request is sent to the first terminal in a form of a message queue based on a preset application program interface, meanwhile, the application vinegar interface hounjiang service data is returned to the target APP, so that the target APP constructs the target page based on the service data, the first terminal parses the access request, and obtains a user identifier and a page identifier in the access request, preferably, the user identifier is used for representing information of the user, the user identifier may be a user uid, the page identifier is used for identifying specific page information, and the page identifier may be an ID or a code of the page.
Preferably, based on experience or a specific scene, an association relationship between a popup window and a page is established for a user identifier and/or a page identifier, and after the user identifier and the page identifier are obtained, whether a target page associated with the page identifier and/or the page identifier exists is judged.
S202, acquiring popup window data corresponding to the target page;
in the embodiment of the invention, if a target page which is associated with the page identifier and/or the page identifier exists, the popup window data corresponding to the target page is acquired.
S203, sending the popup data to the first terminal so that the first terminal sends the popup data to the target page.
In the embodiment of the present invention, the popup data is not directly sent to the target APP, but is sent to the first terminal, so that the first terminal sends the popup data to a target page in the target APP.
Furthermore, because will the popup data is sent to first terminal earlier, based on first terminal will the popup data is sent to target page in the target APP, realized target page's demonstration and based on the asynchronous realization that popup demonstrates, consequently, there is not the coupling between target page and the popup, can not lead to the business itself to receive the influence because of the popup goes wrong.
Taking an example based on the above popup display method, a signaling diagram of a specific execution flow is shown in fig. 3, and includes: APP, API, popup system and long link system, wherein, APP with user access page's message send for API, API write in user access information arrives popup system, popup system judges whether need popup, if need, send corresponding popup data for long link system, based on long link system returns popup data arrives corresponding page in the target APP.
Based on the foregoing display method for a popup window, applied to a first terminal, an embodiment of the present invention provides a display apparatus for a popup window, applied to a first terminal, where a structural block diagram of the apparatus is shown in fig. 4, and the apparatus includes:
a receiving module 301, a determining module 302 and a first transmitting module 303.
Wherein,
the receiving module 301 is configured to receive popup data sent by a second terminal, where the popup data has an association relationship with a target page in a target APP;
the determining module 302 is configured to determine the target page corresponding to the popup window data based on the association relationship;
the first sending module 303 is configured to send the popup data to the target page, so that the target APP displays a popup in the target page based on the popup data.
The invention discloses a display device of a popup window, which is applied to a first terminal and comprises: receiving popup data sent by a second terminal, wherein the popup data has an association relation with a target page in a target APP; determining the target page corresponding to the popup window data based on the incidence relation; and sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data. In the process, the popup data is sent to the first terminal by the second terminal and then sent to the target page by the first terminal, and the display of the target page and the asynchronous realization of popup display based on the popup data are realized.
In the embodiment of the present invention, when the first terminal is a long link gateway, the sending module is configured to send the popup data to the target page based on the long link gateway, so that the target APP displays a popup in the target page based on the popup data.
In this embodiment of the present invention, the second terminal further includes: the background 304 is configured.
Wherein,
the configuration background 304 is configured to, when an update request for the popup data in the first terminal is received, adjust the popup data based on the configuration background.
Based on the foregoing display method for a popup window, applied to a second terminal, an embodiment of the present invention provides a display apparatus for a popup window, applied to a second terminal, where a structural block diagram of the apparatus is shown in fig. 5, and the apparatus includes:
a receiving and judging module 401, an obtaining module 402 and a second sending module 403.
Wherein,
the receiving and determining module 401 is configured to receive an access request for a target page in a target APP, and determine whether the target page is associated with a popup based on the access request;
the obtaining module 402 is configured to, if yes, obtain popup data corresponding to the target page;
the second sending module 403 is configured to send the popup data to the first terminal, so that the first terminal sends the popup data to the target page.
The embodiment of the invention discloses a display device of a popup window, which is applied to a second terminal and comprises: receiving an access request for a target page in a target APP, and judging whether the target page is associated with a popup window or not based on the access request; if so, acquiring popup window data corresponding to the target page; and sending the popup data to the first terminal so as to enable the first terminal to send the popup data to the target page. In the process, the popup data is sent to the first terminal firstly, based on the fact that the first terminal sends the popup data to the target page in the target APP, display of the target page and asynchronous realization of popup display based on the popup data are achieved, and therefore coupling does not exist between the target page and the popup, and the business itself cannot be affected due to the fact that problems occur in the popup.
In this embodiment of the present invention, the receiving and determining module 401 includes:
a transmitting unit 404, an acquiring unit 405, and a judging unit 406.
Wherein,
the sending unit 404 is configured to send the access request to the first terminal based on a preset application program interface;
the obtaining unit 405 is configured to obtain, by the first terminal, a user identifier and a page identifier in the access request;
the determining unit 406 is configured to determine whether the target page has an associated popup based on the user identifier and the page identifier.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A popup window display method is applied to a first terminal and comprises the following steps:
receiving popup data sent by a second terminal, wherein the popup data has an association relation with a target page in a target APP;
determining the target page corresponding to the popup window data based on the incidence relation;
and sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data.
2. The method of claim 1, wherein the first terminal is a long access gateway, and sending the popup data to the target APP comprises:
and sending the popup data to the target page based on the long link gateway so as to enable the target APP to display the popup in the target page based on the popup data.
3. The method of claim 1, wherein the second terminal further comprises: a background is configured, and a background is configured,
and under the condition that an updating request for the popup data in the first terminal is received, adjusting the popup data based on the configuration background.
4. A popup window display method is applied to a second terminal and comprises the following steps:
receiving an access request for a target page in a target APP, and judging whether the target page is associated with a popup window or not based on the access request;
if so, acquiring popup window data corresponding to the target page;
and sending the popup data to the first terminal so as to enable the first terminal to send the popup data to the target page.
5. The method of claim 4, wherein receiving an access request for a target page in a target APP, and determining whether the target page is associated with a popup based on the access request comprises:
sending the access request to the first terminal based on a preset application program interface;
the first terminal acquires a user identifier and a page identifier in the access request;
and judging whether the target page has an associated popup window or not based on the user identifier and the page identifier.
6. A display device of a pop-up window is applied to a first terminal and comprises:
the receiving module is used for receiving popup data sent by a second terminal, wherein the popup data and a target page in a target APP have an association relationship;
the determining module is used for determining the target page corresponding to the popup window data based on the incidence relation;
and the first sending module is used for sending the popup data to the target page so as to enable the target APP to display the popup in the target page based on the popup data.
7. The apparatus of claim 6, wherein in case the first terminal is a long gateway,
and the sending module is used for sending the popup data to the target page based on the long link gateway so as to enable the target APP to display the popup in the target page based on the popup data.
8. The apparatus of claim 6, wherein the second terminal further comprises: a background is configured, and a background is configured,
and the configuration background is used for adjusting the popup window data based on the configuration background under the condition of receiving an updating request of the popup window data in the first terminal.
9. A display device of a pop-up window is applied to a second terminal, and comprises:
the receiving and judging module is used for receiving an access request for a target page in a target APP and judging whether the target page is associated with a popup window or not based on the access request;
the acquisition module is used for acquiring popup window data corresponding to the target page if the target page is the popup window;
and the second sending module is used for sending the popup data to the first terminal so as to enable the first terminal to send the popup data to the target page.
10. The master device of claim 9, wherein the receiving and determining module comprises:
a sending unit, configured to send the access request to the first terminal based on a preset application program interface;
an obtaining unit, configured to obtain, by the first terminal, a user identifier and a page identifier in the access request;
and the judging unit is used for judging whether the target page has an associated popup window or not based on the user identifier and the page identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110881813.6A CN113535313A (en) | 2021-08-02 | 2021-08-02 | Popup window display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110881813.6A CN113535313A (en) | 2021-08-02 | 2021-08-02 | Popup window display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113535313A true CN113535313A (en) | 2021-10-22 |
Family
ID=78090100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110881813.6A Pending CN113535313A (en) | 2021-08-02 | 2021-08-02 | Popup window display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113535313A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180233007A1 (en) * | 2017-01-31 | 2018-08-16 | Albert Williams | Drone based security system |
CN111984260A (en) * | 2020-09-01 | 2020-11-24 | 中国银行股份有限公司 | Front-end APP popup window management method, device and system |
CN112162806A (en) * | 2020-09-24 | 2021-01-01 | 掌阅科技股份有限公司 | Popup display method, terminal and computer storage medium |
CN112559934A (en) * | 2020-12-14 | 2021-03-26 | 北京三快在线科技有限公司 | Page popup display method and device |
CN112947830A (en) * | 2021-03-11 | 2021-06-11 | 北京高途云集教育科技有限公司 | Popup window display method and device, computer equipment and storage medium |
-
2021
- 2021-08-02 CN CN202110881813.6A patent/CN113535313A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180233007A1 (en) * | 2017-01-31 | 2018-08-16 | Albert Williams | Drone based security system |
CN111984260A (en) * | 2020-09-01 | 2020-11-24 | 中国银行股份有限公司 | Front-end APP popup window management method, device and system |
CN112162806A (en) * | 2020-09-24 | 2021-01-01 | 掌阅科技股份有限公司 | Popup display method, terminal and computer storage medium |
CN112559934A (en) * | 2020-12-14 | 2021-03-26 | 北京三快在线科技有限公司 | Page popup display method and device |
CN112947830A (en) * | 2021-03-11 | 2021-06-11 | 北京高途云集教育科技有限公司 | Popup window display method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9274763B2 (en) | System and method for creating a development and operational platform for mobile applications | |
CN114363407B (en) | Message service method and device, readable storage medium and electronic equipment | |
CN110297944B (en) | Distributed XML data processing method and system | |
US9848064B2 (en) | Generation and distribution of named, definable, serialized tokens | |
CN110769018A (en) | Message pushing method and device | |
CN112202744B (en) | Multi-system data communication method and device | |
CN112487402A (en) | Multi-tenant login method, equipment and medium based on ERP system | |
US20200153749A1 (en) | Biased selection of dedicated physical connections to provider network | |
CN113535313A (en) | Popup window display method and device | |
CN106899652B (en) | Method and device for pushing service processing result | |
CN114461425A (en) | Data processing method, device, equipment and computer readable storage medium | |
CN115629909A (en) | Service data processing method and device, electronic equipment and storage medium | |
CN110535904B (en) | Asynchronous pushing method, system and device | |
CN114070889A (en) | Configuration method, traffic forwarding method, device, storage medium, and program product | |
CN112929453A (en) | Method and device for sharing session data | |
CN113741888A (en) | Service processing method and device | |
CN112596882A (en) | Method, device and system for scheduling delayed tasks | |
CN113434384A (en) | Pressure testing method and device | |
CN106844502B (en) | Data consistency processing method and equipment | |
CN111163156A (en) | Data processing method, device and storage medium based on block chain | |
US20240152504A1 (en) | Data interaction method, apparatus, and electronic device | |
CN112422410B (en) | Method and equipment for sharing information in session window of social application | |
US11829418B2 (en) | Identity graph data structure with entity-level opt-ins | |
CN112565173B (en) | Method and apparatus for message processing | |
CN114363172B (en) | Decoupling management method, device, equipment and medium for container group |
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 |