Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of a pop-up window sending method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, in response to receiving start information 103 of a target application sent by a target terminal 102, a computing device 101 may register, according to a popup priority, respective popup windows corresponding to each page in the target application into a queue to generate a popup queue 104, where the pages correspond to the popup queue 104 one to one; then, in response to receiving the pop window display request 105 sent by the target terminal 102, the computing device 101 may determine a page corresponding to the pop window display request 105 as a target page 106 and determine a pop window queue corresponding to the target page 106 as a pop window target queue 107; then, the computing device 101 may determine a target pop 108 from the pop target queue 107; then, in response to determining that the display state of the target popup 108 is a first display state, the computing device 101 may change the display state of the target popup 108 to a second display state, where the first display state is used to represent that the target popup 108 is to be displayed, and the second display state is used to represent that the target popup 108 is ready to be displayed; then, the computing device 101 may generate a display popup 109 in response to determining that there is no popup in the popup target queue 107 in a third display state, where the third display state is used to represent that the target popup 108 is being displayed, and the target popup 108 is a popup with a highest priority in the popup target queue 107 and the page currently displayed by the target application is the target page 106; finally, the computing device 101 may send the presentation popup 109 to the target terminal 102 in response to determining that the target application is presented in the foreground of the target terminal 102.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow 200 of some embodiments of a popup window transmission method according to the present disclosure is shown. The popup window sending method comprises the following steps:
step 201, in response to receiving the start information of the target application program sent by the target terminal, registering each popup corresponding to each page in the target application program into a queue according to the popup priority to generate a popup queue.
In some embodiments, an execution subject of the popup transmission method (for example, the computing device 101 shown in fig. 1) may register, in response to receiving start information of a target application transmitted by a target terminal, popup information corresponding to each popup corresponding to each page in the target application into a queue according to a popup priority, so as to generate a popup queue. And the pages correspond to the popup queues one by one. The target terminal can be a mobile phone terminal. The pop window priority is a field indicating the pop window transmission order, and the pop window priority may be represented by a number, for example, the pop window priority may be 1, 2, 3, and so on, and a smaller number indicates a higher pop window priority. The pop-up information may include, but is not limited to, at least one of: the system comprises a page identifier, a popup priority, a popup template number, a display state and a network interface. The page identifier may be a page identifier for identifying the page showing the popup window, and the page identifier may be represented by a number, for example, a page identifier of a top page of an application may be represented by 1.
Therefore, by loading the popup information into the queue when the application program is started and controlling the popup to be sent through the queue, the logic for sending the popup can be kept clear, so that the subsequent trigger call of the application program is facilitated.
Step 202, in response to receiving a popup display request sent by a target terminal, determining a page corresponding to the popup display request as a target page and determining a popup queue corresponding to the target page as a popup target queue.
In some embodiments, the pop-up window show request may include a page identifier and a pop-up window identifier. The execution main body can respond to a received popup display request sent by a target terminal, determine a target page according to a page identifier included in the popup display request, and determine a popup queue, which is the same as the page identifier of the target page, as a popup target queue, a page identifier of a page corresponding to the popup queue. The popup display request may be a popup display request generated by an application during human-computer interaction or a popup display request automatically initiated by the application. The target page may be a page showing a popup requested by the popup show request.
Therefore, the target queue where the popup to be displayed is located can be determined.
Step 203, determining a target popup according to the popup target queue.
In some embodiments, the execution subject may determine a popup with a highest priority in the popup target queue as a target popup. The target popup is a popup requested by the popup display request.
Thus, the popup to be presented can be determined from the popup object queue.
In an optional manner of some embodiments, the execution subject may determine, as the target popup, the popup requested by the popup display request in the popup target queue in response to determining that the popup requested by the popup display request exists in the popup target queue. In response to determining that a popup exists in the popup target queue, determining a popup in the popup target queue that is the same as the popup identifier included in the popup display request as a target popup.
Therefore, the popup requested by the popup display request can be determined from the popup queue according to the popup identifier of the popup in the popup queue.
Optionally, the execution main body may further register the popup requested by the popup display request to the popup target queue and determine the popup registered to the popup target queue as a target popup in response to determining that the popup requested by the popup display request does not exist in the popup target queue.
Therefore, by registering the target popup into the popup target queue, the transmission of all the popup is controlled only by the popup queue, and the abnormal situation that popup transmission is disordered does not occur.
Step 204, in response to determining that the display state of the target pop-up window is the first display state, changing the display state of the target pop-up window to the second display state.
In some embodiments, the execution subject may change the display state of the target popup into a second display state in response to determining that the display state of the target popup is a first display state, where the first display state is used to represent that the target popup is to be displayed, and the second display state is used to represent that the target popup is ready to be displayed. The display states of the target pop-up window include three display states of waiting to be displayed, ready for pop-up window display and displaying, the display state of the target pop-up window is defaulted to be the display state, and the display state of the pop-up window can be represented digitally, for example, 0, 1 and 2 can be used to respectively represent that the pop-up window is waiting to be displayed, ready for pop-up window display and displaying the pop-up window.
Therefore, by changing the display state of the target popup in the popup target queue, the logic sent by the popup can be kept clear and orderly, and the popup logic cannot be disordered.
Step 205, in response to determining that there is no popup in the popup target queue in the third display state and that the target popup is the popup with the highest priority in the popup target queue and the currently displayed page of the target application is the target page, generating a display popup.
In some embodiments, the execution main body may, in response to determining that there is no popup in the popup target queue in a third presentation state, where the target popup is a popup in the popup target queue with a highest priority and a page currently presented by the target application is a target page, assign a reserved parameter in the target popup, and use the assigned target popup as a presentation popup, where the third presentation state is used to represent that the target popup is being presented.
Therefore, the popup window to be displayed can be ensured to be displayed on the correct page through confirmation and check of the display page before the popup window is sent.
And step 206, responding to the fact that the target application program is displayed in the foreground of the target terminal, and sending the display popup to the target terminal.
In some embodiments, the execution subject may first obtain the display page information of the target terminal, and then send the display popup to the target terminal in response to determining that the display page information represents that the target application is displayed in the foreground of the target terminal. The foreground of the target terminal can be a display interface of the mobile phone.
Therefore, the popup window to be displayed can be matched with the application program by checking the running condition of the application program before the popup window is sent.
The above embodiments of the present disclosure have the following advantages: through the popup window sending method of some embodiments of the present disclosure, management of popup window sending is performed in a queue manner, so that confusion of code logic is not easily caused, when a problem occurs in the logic sent by a popup window, logic combing is facilitated, efficiency of problem location is improved, and later maintenance is facilitated. Specifically, cause the code logic confusion, when the logic that the popup was sent goes wrong, the logic was difficult for combing, problem location inefficiency, was unfavorable for later stage code maintenance's reason to lie in: the popup window type and the type are required to be coded according to different popup window types and types, when the popup window types and types are more and the logic is more complex, a large number of codes can be generated, the logic sent by the popup window at the later stage is not easy to comb, and the problem is not easy to locate. Based on this, in the popup sending method according to some embodiments of the present disclosure, first, in response to receiving start information of a target application sent by a target terminal, according to a popup priority, each popup corresponding to each page in the target application is registered in a queue to generate a popup queue, where the pages correspond to the popup queues one to one. Therefore, by loading the popup information into the queue when the application program is started and controlling the popup to be sent through the queue, the logic for sending the popup can be kept clear, so that the subsequent trigger call of the application program is facilitated. And then, in response to receiving a popup display request sent by the target terminal, determining a page corresponding to the popup display request as a target page and determining a popup queue corresponding to the target page as a popup target queue. Therefore, the target queue where the popup to be displayed is located can be determined. And then, determining a target popup according to the popup target queue. Thus, the popup to be presented can be determined from the popup object queue. And then, in response to determining that the display state of the target pop-up window is a first display state, changing the display state of the target pop-up window into a second display state, wherein the first display state is used for representing that the target pop-up window is to be displayed, and the second display state is used for representing that the target pop-up window is ready for display. Therefore, by changing the display state of the target popup in the popup target queue, the logic sent by the popup can be kept clear and orderly, and the popup logic cannot be disordered. Then, in response to determining that there is no popup in the popup target queue in a third display state, where the target popup is a popup in the popup target queue with a highest priority and the currently displayed page of the target application is the target page, generating a display popup, where the third display state is used to represent that the target popup is being displayed. Therefore, the popup window to be displayed can be ensured to be displayed on the correct page through confirmation and check of the display page before the popup window is sent. And finally, responding to the fact that the target application program is displayed in the foreground of the target terminal, and sending the display popup to the target terminal. Therefore, the popup window to be displayed can be matched with the application program by checking the running condition of the application program before the popup window is sent. And because the popup is managed only through the popup queue, the target popup is directly determined according to the priority of the popup in the popup queue, and a large amount of complex coding is not required for logic sent by the popup. When the popup window sends a problem to the logic, the method is favorable for logic combing, improves the problem positioning efficiency and is favorable for later code maintenance.
With further reference to fig. 3, a flow 300 of further embodiments of a pop-window sending method is shown. The process 300 of the pop-up window sending method includes the following steps:
step 301, in response to receiving the start information of the target application program sent by the target terminal, registering each popup corresponding to each page in the target application program into a queue according to the popup priority to generate a popup queue.
Step 302, in response to receiving a popup display request sent by a target terminal, determining a page corresponding to the popup display request as a target page and determining a popup queue corresponding to the target page as a popup target queue.
Step 303, determining a target popup according to the popup target queue.
Step 304, in response to determining that the display state of the target pop-up window is the first display state, changing the display state of the target pop-up window to the second display state.
In some embodiments, the specific implementation manner and technical effects of steps 301 and 304 may refer to steps 201 and 204 in the embodiments corresponding to fig. 2, which are not described herein again.
Step 305, in response to determining that there is no popup in the popup target queue in the third display state and that the target popup is the popup with the highest priority in the popup target queue and that the currently displayed page of the target application is the target page, generating a display popup.
In some embodiments, the executing body generates the display popup in response to determining that there is no popup in the popup target queue in the third display state and that the target popup is a popup with the highest priority in the popup target queue and that a currently displayed page of the target application is a target page, and may include the following steps:
step 3051, obtaining an attribute value set of the target popup.
In some embodiments, the execution subject may obtain the set of attribute values of the target popup through a wired connection manner or a wireless connection manner. Wherein, the attribute value set may include: the property value of the pop-up window template, the property value of the network interface and the property value of the display state. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future. Therefore, the browsing amount, the browsing duration and the conversion rate included in the acquired user information set can provide data support for the generation of the user viscosity value.
Thus, the obtained attribute value set can provide data support for generating the presentation popup.
Step 3052, in response to determining that the property value of the pop-up window template is the first property value, selecting a target pop-up window template from the pop-up window template set according to the property value of the pop-up window template.
In some embodiments, the execution subject may select a target popup template from the set of popup templates according to the popup template attribute value in response to determining that the popup template attribute value is the first attribute value. The popup information may further include a popup template. The pop-up template can be used for identifying whether the acquisition mode of the pop-up template is selected from the pop-up template set or generated by self-definition. The first attribute value represents that the target popup template is included in the popup template set. The first attribute value may be represented by a number, for example, 0 may be used to characterize the target popup included in the popup template set.
Therefore, the same pop-up window template can be used on different pages through presetting the pop-up window template, and the reusability of the pop-up window is improved.
3053, according to the network interface attribute value, obtaining a target attribute value set of the target popup from the network interface represented by the network interface attribute value.
In some embodiments, the execution subject may obtain the target attribute value set of the target popup from the network interface characterized by the network interface attribute value according to the network interface attribute value. The network interface may be an interface for acquiring standard format parameters.
Thus, a standard parameter set for displaying the pop-up window can be obtained.
3054, generating a display popup according to the target attribute value set and the target popup template.
In some embodiments, the execution subject may replace, according to the target attribute value set and the target pop-up window template, a parameter reserved in the target pop-up window template with each attribute value in the target attribute value set, so as to obtain the display pop-up window. The display popup is a popup requested by the popup display request.
Optionally, the execution main body generates the target pop-up window template according to the attribute value set in response to determining that the attribute value of the pop-up window template is the second attribute value.
And the second attribute value represents a target popup template supporting popup self-definition. The second attribute value may be represented numerically, for example, 1 may be used to characterize a pop-up window-supporting custom target pop-up window template.
Step 3055, in response to determining that the display popup includes the blocking identifier, changing the display state attribute value of the target popup corresponding to the display popup into an attribute value representing a third display state.
In some embodiments, the execution subject may change, in response to determining that the presentation popup includes the blocking flag, the presentation state attribute value of the target popup corresponding to the presentation popup to an attribute value characterizing the third presentation state. The blocking flag represents a field that needs to be interacted with, and may be, for example, "determine", "cancel", or "close".
Therefore, the display state of the target popup in the queue is changed in real time, the logic of sending each popup in the queue can be kept clear and orderly all the time, and the disorder of popup logic can be avoided.
Step 3056, in response to determining that the display popup does not include the blocking identifier, deleting the target popup corresponding to the display popup from the popup target queue.
In some embodiments, the execution subject may delete the target popup corresponding to the presentation popup from the popup target queue in response to determining that the presentation popup does not include the blocking flag.
Therefore, repeated popup of the popup can be avoided, and influence on normal sending of subsequent popup due to too high priority of the target popup corresponding to the display popup is avoided.
Step 3051-3056 and related content thereof are used as an inventive point of the embodiment of the present disclosure, and a second technical problem mentioned in the background art is solved, "a specific popup window needs to be written for a specific page, resulting in a lower reuse rate of the popup window". The factors that result in a relatively low pop-up window reuse ratio are as follows: since the popup corresponds to the page one to one, a specific popup needs to be written for a specific page. If the above factors are solved, the reuse rate of the popup can be improved. In order to achieve the effect, the pop-up window template set is preset, so that the pop-up window templates in the pop-up window template set can be reused by each page of the application program. Therefore, the reuse rate of the popup is improved.
Step 306, in response to determining that the target application program is displayed in the foreground of the target terminal, sending a display popup to the target terminal.
In some embodiments, the specific implementation manner and technical effects of step 306 may refer to step 206 in those embodiments corresponding to fig. 2, and are not described herein again.
Optionally, the execution body may generate the popup priority by performing the following steps:
the method comprises the steps of responding to the user behavior information obtained within the preset time period, and using a user preference model to conduct serialization processing on the user behavior within the preset time period to obtain a user preference information sequence.
Firstly, user behavior information in a preset time period can be input into a pre-trained user preference model to obtain a user preference information sequence. The user preference information in the user preference information sequence comprises a time identifier and an article type identifier. The preset time period may be a preset time period. For example, the preset time period may be 24 hours with the current time point as the termination time point. The user preference model takes user behavior information as input and takes a user information sequence as output. The user preference model comprises a first submodel, a second submodel and a third submodel. The first submodel firstly uses two layers of convolution layers to extract the characteristic vector of the user behavior to obtain a first characteristic vector set, and then maps the first characteristic vector set into a vector sequence with a fixed length to obtain a first vector sequence. And the second submodel firstly selects user preference characteristic vectors by using a self-attention mechanism for the input user behavior information to obtain a second characteristic vector set, and then maps the second characteristic vector set into a vector sequence with a fixed length to obtain a second vector sequence. The first vector sequence and the second vector sequence have the same length. The third submodel compares the first vector sequence with the second vector sequence through cosine values, extracts the same vector in the first vector sequence and the second vector sequence to form a third vector sequence, then determines the confidence coefficient of different vectors in the first vector sequence and the second vector sequence, adds the vector with the confidence coefficient larger than a preset threshold value to the third vector sequence, and finally maps the third vector sequence into a user preference information sequence.
Therefore, the change of the user preference in the preset time period can be determined by extracting the characteristics of the user behavior information in the preset time period.
And secondly, determining the specific gravity value of each piece of user preference information in the user preference information sequence according to a preset specific gravity value information sequence to obtain a preference specific gravity value sequence.
The preset specific gravity value information sequence can be a preset specific gravity value information sequence. The preset specific gravity value information in the preset specific gravity value information sequence comprises a preset time identification range and a preset specific gravity value. The preset specific gravity value is a preset specific gravity value, and the closer to the current time, the larger the set specific gravity value is. For each user preference information in the user preference information sequence, a preference specific gravity value set may be obtained in response to determining that a time identifier included in the user preference information is within a time identifier range of a certain preset specific gravity value information in a preset specific gravity value information sequence, determining preset specific gravity value information whose time identifier range includes the time identifier of the user preference information as target specific gravity value information, and determining a preset specific gravity value included in the target specific gravity value information as a preference specific gravity value.
Therefore, the user preference in the preset time period can be predicted more accurately by giving different specific gravity values to the user preference at different times.
Thirdly, executing the following popup window priority determining steps for each popup window corresponding to each page in the target application program:
the first substep is to determine the matching degree between each popup window corresponding to the page and each user preference information in the user preference information sequence to generate a matching degree sequence, and obtain a matching degree sequence set.
The pop-up window information of each pop-up window corresponding to the page and the user preference information in the user preference information sequence can be input into a pre-trained matching degree model, so that a matching degree sequence set is obtained. And each popup window corresponding to the page corresponds to each matching degree sequence in the matching degree sequence set in a one-to-one manner. The matching degree model can map input popup window information and user preference information into a popup window vector sequence and a user preference vector sequence, and then determine the similarity of the popup window vector sequence and the user preference vector sequence through cosine values to obtain a matching degree sequence set.
And a second substep of determining, for each sequence of matching degrees in the set of matching degree sequences, a product value of each matching degree in the sequence of matching degrees and a corresponding preference specific gravity value in the sequence of preference specific gravity values as a first target value, thereby obtaining a first target value set.
And for each matching degree sequence in the matching degree sequence set, determining a product value of each matching degree in the matching degree sequence and the preference specific gravity value with the same position in the preference specific gravity value sequence as a first target value, and obtaining a first target value group. And each popup window corresponding to the page corresponds to each first target value group in the first target value group set one by one.
A third substep of determining the arithmetic mean of each of the obtained first set of target values as a second target value, resulting in a second set of target values.
And each popup window corresponding to the page corresponds to each second target value in the second target value set one by one.
Therefore, the matching degree of each popup window and the user preference in the preset time period can be obtained.
And a fourth substep of sequencing each second target value in the second target value set to obtain a third target value information set.
First, each second target value in the second target value set may be sorted in a descending order, and then numbers are sequentially numbered from small to large for the sorted second target values to obtain a third target value information set. Wherein the third set of target value information includes a second target value and a sequence number. The serial number may be represented by a number. And each popup window corresponding to the page corresponds to each third target value information in the third target value information set one by one.
And a fifth substep of determining each sequence number included in the third set of target value information as a priority of each popup corresponding to the page.
The sequence number included in each third target value information in the third target value information set may be determined as the priority of the corresponding popup according to the corresponding relationship between the popup corresponding to the page and each third target value information in the third target value information set.
Therefore, the target popup which is matched with the current user preference can be determined by analyzing the user behavior, the popup with high matching degree can be preferentially popped up by adjusting the priority of the popup, the popup sequence can be controlled according to the user preference, and the personalized needs of the user can be further met.
Optionally, in response to determining that the target application program is started for the first time, determining a default popup priority as a priority of each popup corresponding to each page in the target application program. The default popup priority is a preset popup priority.
As can be seen from fig. 3, compared with the description of some embodiments corresponding to fig. 2, the flow 300 of the task optimization method in some embodiments corresponding to fig. 3 embodies a step of expanding the generation of the display popup. Therefore, in the solutions described in the embodiments, the pop-up window template is selected from the pop-up window template set, and the display pop-up window is generated by multiplexing the pop-up window templates, so that the reuse rate of the pop-up window is improved.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a pop-up window sending apparatus, which correspond to those of the method embodiments shown in fig. 2, and which may be applied in various electronic devices in particular.
As shown in fig. 4, the pop-up window transmission apparatus 400 of some embodiments includes: a registration unit 401, a first determination unit 402, a second determination unit 403, a change unit 404, a generation unit 405, and a transmission unit 406. The registering unit 401 is configured to, in response to receiving start information of a target application program sent by a target terminal, register each popup corresponding to each page in the target application program into a queue according to a popup priority to generate a popup queue, where the pages correspond to the popup queue one to one; the first determining unit 402 is configured to, in response to receiving a pop-up window display request sent by the target terminal, determine a page corresponding to the pop-up window display request as a target page and determine a pop-up window queue corresponding to the target page as a pop-up window target queue; the second determining unit 403 is configured to determine a target popup according to the popup target queue; the changing unit 404 is configured to change the display state of the target pop-up window to a second display state in response to determining that the display state of the target pop-up window is a first display state, wherein the first display state is used for representing that the target pop-up window is to be displayed, and the second display state is used for representing that the target pop-up window is ready to be displayed; the generating unit 405 is configured to generate a display popup in response to determining that there is no popup in the popup target queue in a third display state, where the target popup is a popup with a highest priority in the popup target queue and a currently displayed page of the target application is the target page, where the third display state is used to indicate that the target popup is being displayed; and the sending unit 406 is configured to send the presentation popup to the target terminal in response to determining that the target application is presented in the foreground of the target terminal.
It will be understood that the elements described in the apparatus 400 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 400 and the units included therein, and will not be described herein again.
Referring now to FIG. 5, a block diagram of an electronic device (such as computing device 101 shown in FIG. 1) 500 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: and in response to receiving starting information of a target application program sent by a target terminal, registering each popup corresponding to each page in the target application program into a queue according to the popup priority to generate a popup queue, wherein the pages correspond to the popup queue one by one. And in response to receiving the popup display request sent by the target terminal, determining a page corresponding to the popup display request as a target page and determining a popup queue corresponding to the target page as a popup target queue. And determining a target popup according to the popup target queue. And in response to determining that the display state of the target pop-up window is a first display state, changing the display state of the target pop-up window into a second display state, wherein the first display state is used for representing that the target pop-up window is to be displayed, and the second display state is used for representing that the target pop-up window is ready for display. And generating a display popup in response to determining that no popup in the popup target queue exists, wherein the status of the popup is a third display status, the target popup is a popup with the highest priority in the popup target queue, and a currently displayed page of the target application is the target page, wherein the third display status is used for representing that the target popup is being displayed. And sending the display popup to the target terminal in response to determining that the target application is displayed in the foreground of the target terminal.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a registration unit, a first determination unit, a second determination unit, a change unit, a generation unit, and a transmission unit. Where the names of these units do not in some cases constitute a limitation on the unit itself, for example, the second determination unit may also be described as a "unit that determines a target pop from a pop target queue".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.