A pop-up processing method and device, a storage medium and an electronic device

By monitoring and analyzing the content of pop-up windows to generate operation instructions, the problem of unclear user intent regarding pop-ups has been solved, improving the user experience and information acquisition efficiency while reducing risks.

CN116302235BActive Publication Date: 2026-05-29ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Filing Date
2022-11-29
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Users are often confused when faced with pop-up messages, unable to intuitively understand the intent and outcome of the pop-up, leading to inconvenience and potential risks in device use.

Method used

By monitoring the activation of information pop-ups, the system obtains pop-up content information, uses image recognition and semantic analysis to generate operation instructions, and outputs these instructions when the pop-up is displayed to guide the user on how to operate.

Benefits of technology

It improves users' understanding of information pop-ups, reduces usage limitations, enhances device experience, reduces risks, and increases information acquisition efficiency and intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116302235B_ABST
    Figure CN116302235B_ABST
Patent Text Reader

Abstract

The specification discloses a pop-up processing method and device, a storage medium and an electronic device, wherein the method comprises: obtaining pop-up content information when an information pop-up is monitored to start, generating operation instruction information for the information pop-up based on the pop-up content information, and outputting the operation instruction information when the information pop-up is displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a pop-up window handling method, apparatus, storage medium and electronic device. Background Technology

[0002] In everyday use, various types of applications typically employ pop-up mechanisms to push information, such as daily news notifications and application permission granting pop-ups. Most applications on electronic devices will automatically pop up and push relevant content to the user when the device is turned on, other applications are being used, or the user visits a website or application. Summary of the Invention

[0003] This specification provides a method, apparatus, storage medium, and electronic device for handling pop-up windows, the technical solution of which is as follows:

[0004] Firstly, this specification provides a method for handling pop-up windows, the method comprising:

[0005] Upon detecting the activation of an information pop-up window, obtain the pop-up window content information;

[0006] Based on the pop-up content information, generate operation instruction information for the information pop-up;

[0007] When the information pop-up window is displayed, the operation instruction information is output.

[0008] Secondly, this specification provides a pop-up window handling device, the device comprising:

[0009] The pop-up monitoring module is used to detect when an information pop-up is launched and to obtain the pop-up content information of the information pop-up.

[0010] The information generation module is used to generate operation instruction information for the information pop-up based on the pop-up content information;

[0011] The operation instruction module is used to output the operation instruction information when the information pop-up is displayed.

[0012] Thirdly, this specification provides a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the above-described method steps.

[0013] Fourthly, this specification provides an electronic device that may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the above-described method steps.

[0014] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following:

[0015] In one or more embodiments of this specification, when an electronic device detects the activation of an information pop-up, it acquires the pop-up content information and then generates operation instruction information for the pop-up based on the pop-up content information. When the information pop-up is displayed, the operation instruction information is output. Through the operation instruction information based on the pop-up content, the user can intuitively and quickly obtain the push intent of the information pop-up, reducing the limitations of information pop-up usage, improving the device user experience, and facilitating users to quickly obtain pop-up information, thereby improving the information acquisition efficiency of information pop-ups and enhancing the intelligence level of pop-up processing. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic diagram of a pop-up window handling system provided in this manual;

[0018] Figure 2 This is a flowchart illustrating a pop-up window handling method provided in this manual;

[0019] Figure 3 This is a flowchart illustrating another pop-up window handling method provided in this manual;

[0020] Figure 4 This is a flowchart illustrating another pop-up window handling method provided in this manual;

[0021] Figure 5 This is a schematic diagram of the interface of a pop-up auxiliary control provided in this manual;

[0022] Figure 6 This is a schematic diagram of an information pop-up window provided in this manual;

[0023] Figure 7 This is a schematic diagram of a pop-up window handling device provided in this manual;

[0024] Figure 8 This is a structural diagram of an information generation module provided in this specification;

[0025] Figure 9 This is a schematic diagram of the structure of a result determination unit provided in this specification;

[0026] Figure 10This is a schematic diagram of the structure of an electronic device provided in this specification;

[0027] Figure 11 This is a schematic diagram of the operating system and user space provided in this manual;

[0028] Figure 12 yes Figure 11 Architecture diagram of the Android operating system in China;

[0029] Figure 13 yes Figure 11 Architecture diagram of the iOS operating system. Detailed Implementation

[0030] The technical solutions in this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0031] In the description of this application, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this application, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0032] In related technologies, users often experience confusion regarding pop-up notifications, such as whether the pop-up can be clicked, whether clicking it will incur charges, and the purpose of the pop-up. Currently, users often resolve their confusion by reading the pop-up's content. However, this method of self-reading has significant limitations, leading to issues such as inconvenience in device use and potential risks from malicious pop-ups.

[0033] The present application will now be described in detail with reference to specific embodiments.

[0034] Please see Figure 1 This is a schematic diagram of a pop-up window handling system provided in this specification. Figure 1 As shown, the pop-up handling system may include at least a client cluster and a service platform 100.

[0035] The client cluster may include at least one client, such as Figure 1 As shown, it specifically includes client 1 corresponding to user 1, client 2 corresponding to user 2, ..., client n corresponding to user n, where n is an integer greater than 0.

[0036] Each client in a client cluster can be an electronic device with communication capabilities, including but not limited to: wearable devices, handheld devices, personal computers, tablets, in-vehicle devices, smartphones, computing devices, or other processing devices connected to a wireless modem. Electronic devices may have different names in different networks, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), and electronic devices in 5G networks or future evolved networks.

[0037] The service platform 100 can be a standalone server device, such as a rack-mount, blade, tower, or cabinet-type server device, or a workstation, mainframe, or other hardware device with strong computing power; or it can be a server cluster composed of multiple servers. The servers in the service cluster can be composed in a symmetrical manner, wherein each server is functionally and hierarchically equivalent in the transaction chain, and each server can provide services independently. The independent provision of services can be understood as not requiring the assistance of other servers.

[0038] In one or more embodiments of this specification, the service platform 100 can establish a communication connection with at least one client in the client cluster, and complete the interaction of pop-up data during the pop-up processing based on the communication connection. For example, the service platform 100 can push the pop-up content of the information pop-up to the client's electronic device; or the client's electronic device can execute the pop-up processing method to display the information pop-up on the electronic device and output operation instruction information.

[0039] It should be noted that the service platform 100 establishes a communication connection with at least one client in the client cluster via a network for interactive communication. This network can be a wireless network or a wired network. Wireless networks include, but are not limited to, cellular networks, wireless LANs, infrared networks, or Bluetooth networks. Wired networks include, but are not limited to, Ethernet, universal serial bus (USB), or controller area networks. In one or more embodiments of the specification, technologies and / or formats including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), etc., are used to represent data exchanged over the network (such as target compressed packets). Furthermore, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), and Internet Protocol Security (IPsec) can be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can be used to replace or supplement the aforementioned data communication technologies.

[0040] The pop-up window handling system embodiments provided in this specification and the pop-up window handling methods described in one or more embodiments belong to the same concept. The execution subject corresponding to the pop-up window handling methods involved in one or more embodiments of this specification can be the electronic device corresponding to the aforementioned client; the specific implementation is determined based on the actual application environment. The implementation process of the pop-up window handling system embodiments can be found in the following method embodiments, which will not be repeated here.

[0041] based on Figure 1 The following is a detailed description of the pop-up window handling method provided by one or more embodiments of this specification, as illustrated in the schematic diagram of the scenario.

[0042] Please see Figure 2 This document provides a flowchart illustrating a pop-up window handling method according to one or more embodiments of this specification. This method can be implemented using a computer program and can run on a pop-up window handling device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone utility application. The pop-up window handling device can be an electronic device.

[0043] Specifically, the pop-up window handling method includes:

[0044] S102: Detect the activation of the information pop-up window and obtain the pop-up window content information;

[0045] The information pop-up can be understood as a window page presented on the device display interface of an electronic device in the form of a pop-up window.

[0046] Understandably, the information pushed by the information pop-up is the same as the pop-up content.

[0047] These are illustrative examples of pop-up ads, news pop-ups, and game information pop-ups that appear when the target user of an electronic device is accessing a webpage.

[0048] Specifically, electronic devices can monitor the activation of pop-up windows. Typically, the operating system of the electronic device can detect whether a pop-up window has been activated. For example, it can monitor whether the pop-up window interface has started rendering on the device's display screen. Detecting the start of pop-up window rendering confirms that the pop-up window has been activated. The size of the pop-up window is usually smaller than the device's display screen size.

[0049] It is understandable that when an electronic device detects the activation of an information pop-up, it could be because the information pop-up is already displayed on the device's display interface, or it could be because the information pop-up is in the window interface rendering stage and has not yet been displayed on the device's display interface.

[0050] Furthermore, once the electronic device detects that the information pop-up has been activated, it can obtain the pop-up content information contained within it.

[0051] Optionally, when an information pop-up appears on the device's display interface, the electronic device can acquire the pop-up image and perform image information recognition to obtain the pop-up content information.

[0052] For example, when an electronic device displays a pop-up message, the operating system can determine the window's location on the device's display interface. Then, a screenshot of that window location area can be taken to obtain the pop-up image. Image recognition technology can then be used to identify the pop-up content.

[0053] As an illustration, Optical Character Recognition (OCR) technology in image recognition can be used to recognize all the text and images in the pop-up image, identify all the characters contained in the content of the pop-up image, and use all the characters as the recognition result, which is the pop-up content information.

[0054] Optionally, the electronic device can create a listening process for the information pop-up. This listening process monitors the program interface used to create the pop-up window. When the program interface of the pop-up window is loaded or called by the operating system, the operating system usually needs to execute the process of starting the information pop-up. That is, when the listening process detects that the "program interface for creating the pop-up window" is called, the listening process obtains the interface function data of the program interface of the pop-up window (such as data including window attribute information, window display content, etc.). The interface function data contains the pop-up content information of the information pop-up to be displayed. Since the operating system usually needs a certain window loading time to render the pop-up, the electronic device can obtain the pop-up content information within the window loading time.

[0055] S104: Generate operation instruction information for the information pop-up based on the pop-up content information;

[0056] The operation instruction information can be understood as instruction information generated based on the pop-up content, used to instruct or prompt the current target user, such as how to operate the information pop-up, and the operation result information of the information pop-up. In some embodiments, the operation instruction information can be regarded as a pop-up explanation information, serving as an explanation of the operation result of subsequent pop-up operations. The operation instruction information can prompt the current target user about the operation results generated after the operation information pop-up, such as changes in account data associated with the user's account after the operation pop-up, whether a charge will be incurred after the operation pop-up, and whether stored data will be read after the operation pop-up, etc.

[0057] In one or more embodiments of this specification, target users may experience confusion when faced with information pop-ups due to customer limitations. For example, they may wonder whether they can confirm or reject the pop-up, whether they will be charged after interacting with it, what the pop-up's intent is, and how to interact with it. By generating operation instructions for the information pop-ups, the target user can be guided or prompted on how to interact with them.

[0058] In one feasible implementation, semantic recognition can be performed on the pop-up content information to obtain the pop-up push intent for the information pop-up, and operation instruction information for the information pop-up can be generated based on the pop-up push intent.

[0059] As an illustration, the semantic features of the pop-up content can be extracted, and the pop-up push intent can be identified based on the semantic features.

[0060] The semantic features of a pop-up window refer to the unique semantic attributes of unstructured data expressed in text and / or images within a pop-up window. For a pop-up window, these semantic features include semantic elements such as the pop-up topic description and the underlying meaning of the content. These semantic features are various characteristics that can express the semantics of the object itself and its semantics within the environment. In one or more embodiments of this specification, these semantic features can be understood as the semantic feature information of the pop-up content. For the pop-up content, this semantic feature information can include, but is not limited to, content keyword information, content word frequency distribution information, grammatical-level content entity information, and semantic-level content topic. The semantic features extracted from the pop-up content information can be used to infer the pop-up push intent, such as the result or impact of confirming or rejecting the information pop-up, whether an action will result in a deduction of money, and the purpose of the information pop-up push.

[0061] Optionally, electronic devices can employ relevant semantic extraction algorithms to extract the semantic features of the pop-up content information.

[0062] For example, semantic extraction algorithms can be text feature information extraction methods based on contextual frameworks. That is, first determine the extraction elements of the text content (sentences, words, characters, symbols, etc.), and then integrate semantic analysis into statistical algorithms to extract the pop-up content information to obtain the pop-up semantic features of the pop-up content information.

[0063] For example, it could be a concept feature extraction method based on a database, that is, a feature extraction method based on concept features. On the basis of the Vector Space Model (VSM), semantic analysis is performed on the notification information. The semantic information of words is obtained from the database, words with the same semantics are mapped to the same concept, and then clustered to obtain the clustered words, which are used as feature terms of the text vector of the VSM model. Then, model calculations are performed to obtain the pop-up semantic features of the pop-up content information.

[0064] As an illustration, an intent recognition model can be created, incorporating the semantic features of the pop-up content information extracted above as part of the intent recognition model. The intent recognition model automatically extracts the semantic features of the pop-up content information and identifies the pop-up push intent based on these semantic features. Alternatively, semantic features of the pop-up can be extracted using relevant semantic extraction algorithms, and these features can be input into the intent recognition model for identification to obtain the pop-up push intent.

[0065] Optionally, the intent recognition model can be implemented by fitting one or more of the following machine learning analysis algorithms: Convolutional Neural Network (CNN), Deep Neural Network (DNN), Recurrent Neural Networks (RNN), Embedding, Gradient Boosting Decision Tree (GBDT), and Logistic Regression (LR). Furthermore, introducing an error backpropagation algorithm to optimize the existing neural network model can improve the recognition accuracy of the intent recognition model based on the neural network model.

[0066] In practical applications, for example, an initial intent recognition model can be created based on a neural network model. This initial intent recognition model is composed of densely interconnected simple nonlinear simulation processing elements of many nodes, mimicking a system model of biological neurons. The neural network model is formed by connecting the input of at least one node to the output of every other node, similar to the synaptic connections of real neurons. Each neuron expresses a specific output function, i.e., an activation function, and the connection between every two neurons contains a connection strength, i.e., a weighted value of the signal acting through that connection.

[0067] In this embodiment, a large amount of semantic feature pop-up content sample data can be pre-acquired, the pop-up content sample data can be pre-processed, the sample pop-up semantic features can be extracted from the pop-up content sample data, and reference intent labels can be marked on the pop-up content sample data. The sample pop-up semantic features are input into the initial intent recognition model for training. Based on the error between the expected output value (reference intent label) and the actual output value (model recognition intent), the error propagates backward from the output layer and the connection weights and thresholds of each layer of the model are adjusted along the output path. After training, the trained intent recognition model is obtained. This intent recognition model has the ability to extract features, generalize semantic feature knowledge, and learn and memorize. Usually, the information or knowledge learned by the intent recognition model is stored in the connection matrix between each unit node.

[0068] Furthermore, the electronic device can output a pop-up push intent for the information pop-up based on the trained intent recognition model, and then the electronic device can generate operation instruction information for the information pop-up based on the pop-up push intent.

[0069] Optionally, electronic devices can directly use the pop-up push intent as an operation instruction for the information pop-up.

[0070] Optionally, the electronic device can combine several reference pop-up operation items for the information pop-up and determine the pop-up operation results corresponding to all or some of the reference pop-up operation items according to the pop-up push intent. Several pop-up operation results can form operation instruction information.

[0071] The reference pop-up operation items include at least pop-up confirmation operation items, pop-up cancellation operation items, pop-up close operation items, etc., and the specific ones can be determined based on the operable pop-up methods of information pop-ups in actual applications.

[0072] Optionally, the operation instruction information may also include risk warning information regarding the pop-up push intent. Specifically, the pop-up push intent may be subject to risk assessment to obtain risk warning information, and then the operation instruction information may be generated by combining the pop-up push intent and the risk warning information.

[0073] As an example, risk assessment processing can involve identifying risk information from the intent of pop-up notifications. If risk information is present, a risk warning message containing the risk information is generated, such as a confirmation pop-up indicating the risk of being charged or a confirmation pop-up indicating the leakage of privacy information.

[0074] S106: When the information pop-up window is displayed, output the operation instruction information.

[0075] In one or more embodiments of this specification, the electronic device may display an information pop-up window on the device display interface in any order of generating the operation instruction information, such as after generating the operation instruction information or before generating the operation instruction information.

[0076] Understandably, electronic devices can use preset pop-up message prompt rules to output operation instructions.

[0077] The pop-up information prompt rules can output operation instructions in the form of images, text, audio, etc.

[0078] Optionally, the electronic device may output operation instructions by loading corresponding text reminders on the current display screen;

[0079] Furthermore, since the operation instruction information already contains the intention to push the information pop-up, and considering that the information pop-up is displayed on the current device display interface, in order to avoid poor display effects caused by the stacking of various display elements on the current device display interface, the electronic device can directly load the operation instruction information in the display area where the information pop-up is located, that is, the operation instruction information is overlaid on the display content area of ​​the information pop-up.

[0080] Optionally, the operation instruction information is loaded into the information pop-up window, and the display area of ​​the operation instruction information does not overlap with the display area of ​​at least one pop-up window operation item button.

[0081] Optionally, the electronic device may output operation instructions in the form of voice, using semantic broadcast operation instructions.

[0082] In one or more embodiments of this specification, when an electronic device detects the activation of an information pop-up, it acquires the pop-up content information and then generates operation instruction information for the pop-up based on the pop-up content information. When the information pop-up is displayed, the operation instruction information is output. Through the operation instruction information based on the pop-up content, the user can intuitively and quickly obtain the push intent of the information pop-up, reducing the limitations of information pop-up usage, improving the device user experience, and facilitating users to quickly obtain pop-up information, thereby improving the information acquisition efficiency of information pop-ups and enhancing the intelligence level of pop-up processing.

[0083] Please see Figure 3 , Figure 3 This is a flowchart illustrating another embodiment of a pop-up window handling method proposed in one or more embodiments of this specification. Specifically:

[0084] S202: The pop-up window is detected to be activated, and the pop-up window content information is obtained;

[0085] For details, please refer to the method steps in other embodiments of this specification, which will not be repeated here.

[0086] S204: Obtain at least one reference pop-up operation item of the information pop-up, and determine the reference pop-up operation result for the reference pop-up operation item based on the pop-up content information;

[0087] The reference pop-up operation items are based on actual application scenarios and include at least pop-up confirmation, pop-up cancellation, and pop-up close operations.

[0088] A pop-up confirmation option can be understood as a user triggering the pop-up confirmation option to confirm or agree to the pop-up push intent, such as confirming the intent to deduct fees, confirming the intent to subscribe, confirming the intent to claim rewards, confirming redirection to a service page, etc.

[0089] The pop-up cancellation option corresponds to the pop-up confirmation option. It can be understood that when a user triggers the pop-up cancellation option, they cancel or refuse the pop-up push, such as refusing to pay, refusing to subscribe, refusing to claim rewards, refusing to be redirected to a service page, etc.

[0090] The pop-up close option can be understood as closing the pop-up window containing the information.

[0091] The reference pop-up operation result can be understood as the predicted operation result generated by triggering the reference pop-up operation item based on the pop-up content information. For example, the predicted operation result of clicking the pop-up confirmation operation item could be confirming a charge, confirming a subscription to a service message, confirming the receipt of a reward, confirming the granting of a device permission, etc.

[0092] In one or more embodiments of this specification, the reference pop-up operation result is determined based on the pop-up content information, after which all or part of the reference pop-up operation items are subsequently triggered by the user. This is to allow users to more intuitively and clearly understand the push intent of the information pop-up. On the other hand, due to objective factors such as user type (e.g., children, the elderly) and the difficulty in intuitively understanding pop-up content, users may develop resistance and directly reduce the frequency of using the corresponding transaction, thus closing or exiting the pop-up. Therefore, using the reference pop-up operation result can reduce user resistance and improve the device user experience and the overall experience of the corresponding transaction.

[0093] In one feasible implementation, the electronic device performing the determination of the reference pop-up operation result based on the pop-up content information for the reference pop-up operation item can be:

[0094] A2: Perform semantic recognition on the pop-up content information to obtain the pop-up push intent for the information pop-up;

[0095] In some embodiments, a machine learning-based intent recognition model can be created. This model performs semantic recognition on the pop-up content information to obtain the pop-up push intent. Illustratively, an electronic device can input the pop-up content information into a trained intent recognition model and output a pop-up push intent for the information pop-up.

[0096] In one feasible implementation, to achieve refined and targeted pop-up processing, further segmentation and focusing can be performed based on the current user group of the electronic device. Considering that different user groups have different focuses regarding pop-ups, and to meet the characteristic attention needs of different user groups for key points of interest, refined identification can be performed when recognizing the pop-up push intent. This allows the generated operation instructions to provide better refined prompts for the user group's characteristic points of interest. On the other hand, based on refined and targeted processing, the difficulty of machine recognition can be reduced, and the machine resources consumed by pop-up processing can be decreased.

[0097] Specifically, electronic devices can pre-set corresponding key points of interest for different user (group) types based on actual application needs. For example, the key points of interest for user (group) type A are: billing interest, message subscription interest, and work push interest; the key points of interest for user (group) type B are: sensitive information interest, game information interest, and security risk interest, etc.

[0098] Furthermore, the electronic device performing semantic recognition on the pop-up content information to obtain the pop-up push intent for the information pop-up can be:

[0099] A2-2: The electronic device determines the user type corresponding to the target user and obtains the key points of interest corresponding to the user type;

[0100] The user type can be a youth user type, an elderly user type, an office worker user type, etc.

[0101] Specifically, electronic devices acquire user data of the current target user and identify the user type corresponding to the target user based on the user data.

[0102] The user data can be a user type defined by the target user, that is, a user type input into the electronic device. The user data can be the target user's biometric data (such as facial images, voiceprints, etc.), and the electronic device can use relevant biometric technologies to determine the user type based on the biometric data.

[0103] Specifically, after determining the user type corresponding to the target user, the key interest points corresponding to the current user type are determined based on the pre-set mapping relationship between several reference user types and their corresponding reference key interest points. For example, if the user type is a teenager, the key interest points can be billing interest points, sensitive information interest points, game information interest points, etc. If the user type is an office worker, the key interest points can be work notification interest points, transportation interest points, weather information interest points, etc.

[0104] A2-4: Based on the key points of interest, perform key semantic recognition on the pop-up content information to obtain the pop-up push intent for the information pop-up.

[0105] The key interest points (PIs) are used to instruct (e.g., the model) during key semantic recognition to focus on identifying the intent of the dimension corresponding to the PI, while reducing or even eliminating the focus on other semantic dimensions besides the PI. For example, if the PI could be a work notification PI, a transportation PI, or a weather information PI, then targeted key semantic recognition can be performed on "work notification PI, transportation PI, and weather information PI," focusing on identifying the push intent of the work notification dimension, the transportation PI, etc., while the push intent of the billing dimension, the game information fee dimension, etc., can be ignored.

[0106] Specifically, electronic devices can input both key points of interest and pop-up content information into the intent recognition model. The intent recognition model focuses on recognizing the intent in the key point of interest dimension of the pop-up content information based on key points of interest, thereby outputting the pop-up push intent for the information pop-up. At this time, the output pop-up push intent mainly includes the intent in the key point of interest dimension, such as the aforementioned intent in the work notification dimension, the intent in the transportation dimension, the intent in the weather push dimension, and so on.

[0107] Indicatively, key interest points can be introduced into the training process of the intent recognition model to train its directional intent recognition capability. Pop-up content sample data and key interest point annotations are input into the initial intent recognition model for training. Reference intent labels are pre-annotated to the pop-up content sample data, which contain the intents corresponding to the key interest points. After training, the trained intent recognition model is obtained. This intent recognition model has the ability to extract features, generalize semantic features, recognize key interest point-oriented intents, and learn and memorize.

[0108] A4: Determine the reference pop-up operation result corresponding to each of the reference pop-up operation items based on the pop-up push intent.

[0109] In one feasible implementation, the electronic device performs the step of determining the reference pop-up operation results corresponding to each of the reference pop-up operation items based on the pop-up push intent. This can be achieved by combining several reference pop-up operation items for the information pop-up with the pop-up push intent to determine the pop-up operation results corresponding to all or some of the reference pop-up operation items respectively, and the several pop-up operation results can generate operation instruction information.

[0110] The reference pop-up operation items include at least pop-up confirmation operation items, pop-up cancellation operation items, pop-up close operation items, etc., and the specific ones can be determined based on the operable pop-up methods of information pop-ups in actual applications.

[0111] If the reference pop-up operation item is a pop-up confirmation operation item, then obtain the pop-up confirmation result corresponding to the pop-up confirmation operation item based on the pop-up push intent;

[0112] If the reference pop-up operation item is a pop-up cancellation operation item, then the pop-up cancellation result corresponding to the pop-up cancellation operation item is obtained based on the pop-up push intent;

[0113] If the reference pop-up operation item is a pop-up close operation item, then the pop-up close result corresponding to the pop-up close operation item is obtained based on the pop-up push intent.

[0114] In illustrative terms, pop-up results are typically generated by combining the pop-up push intent and the pop-up action item type according to certain rules. For example, if the pop-up push intent is to remind the user to renew a service, the pop-up confirmation result corresponding to the pop-up confirmation action item could be: "Confirm pop-up will renew service." If the pop-up push intent is to remind the user to deduct additional fees, the pop-up cancellation result corresponding to the pop-up cancellation action item could be: "Cancel pop-up will deduct additional fees."

[0115] S206: Generate operation instruction information for the information pop-up based on the operation result of the reference pop-up.

[0116] In one feasible implementation, the electronic device can directly use the operation results of several reference pop-up windows as operation instructions for the information pop-up window.

[0117] Optionally, the operation instructions may consist of the operation results from the reference pop-up window and the pop-up window information.

[0118] In one feasible implementation, risk indication information is determined based on the reference pop-up operation result, and operation guidance information for the reference pop-up operation item is obtained; based on the reference pop-up operation result, the risk indication information, and the operation guidance information, operation guidance information for the information pop-up is generated.

[0119] Optionally, a risk assessment can be performed on the results of the reference pop-up operation to obtain risk warning information for the results of the reference pop-up operation.

[0120] As an example, risk assessment processing can involve identifying risk information from the intent of pop-up notifications. If risk information is present, a risk warning message containing the risk information is generated, such as a confirmation pop-up indicating the risk of being charged or a confirmation pop-up indicating the leakage of privacy information.

[0121] For example, regarding data such as pop-up operation results, a key risk keyword database can be constructed or an existing risk keyword database can be used. The pop-up operation results are then matched against this database. The risk detection result is determined based on the matching results, and the type of risk detection result depends on the attributes of the key risk keyword database. This database stores various types of key risk keywords, including but not limited to negative keywords and sensitive keywords (such as terms related to fraud, politics, or harmful health information). When a pop-up operation result is compared with keywords in the database, if negative keywords are detected, the result is deemed risky, and corresponding risk information is output. Since the key risk keyword database is a risk rule base refined through testing and operational processes, it can be used to perform risk detection on any pop-up operation result, determining whether a risk exists and outputting risk warning information if one is found.

[0122] The operation guidance information is guidance on how to operate the information pop-up, such as which icon to touch to close the information pop-up, which icon to touch to confirm the information pop-up, and which icon to touch to cancel the information pop-up.

[0123] Then, the electronic device can generate operation instructions for the information pop-up based on the reference pop-up operation results, risk indication information, and operation guidance information.

[0124] As an illustration, electronic devices can set operation instruction templates, and then recombine the reference pop-up operation results, risk indication information, and operation guidance information based on the operation instruction templates to generate operation instruction information.

[0125] S208: Perform simulated triggering processing on the reference pop-up operation item to obtain the simulated pop-up operation result of the reference pop-up operation item;

[0126] The simulated triggering process is to simulate a user triggering several reference pop-up operation items (such as confirmation items, cancellation items, etc.) and then detect the simulated pop-up operation results.

[0127] Optionally, the electronic device can construct a virtual machine environment and trigger events for reference pop-up operation items in the simulated machine environment to obtain the simulated pop-up operation results.

[0128] Optionally, the electronic device can use web crawling technology to obtain the jump interface information indicated by the pop-up link corresponding to the reference pop-up operation item, such as the page information after the pop-up link redirects to the confirmation item, the page information after the pop-up link redirects to the cancellation item, etc. The jump interface information includes elements such as text, images, and videos. The jump interface information is then subjected to theme recognition to determine the corresponding interface theme, which is used as the result of the pop-up operation that triggers the reference pop-up operation item.

[0129] S210: Based on the simulated pop-up operation result, perform result correction processing on the reference pop-up operation result to obtain the corrected reference pop-up operation result.

[0130] Understandably, electronic devices can correct the results of a reference pop-up operation based on the results of a simulated pop-up operation, thereby obtaining a corrected reference pop-up operation result.

[0131] For example, regarding a pop-up confirmation action, if the simulated pop-up action result is a confirmation of intent to be charged within three days, while the reference pop-up action result is a confirmation of intent to be refunded within three days, then the reference pop-up action result will be corrected based on the simulated pop-up action result, and the corrected reference pop-up action result will prevail. Similarly, if the simulated pop-up action result is a confirmation of intent to claim a reward, while the reference pop-up action result is a confirmation of intent to subscribe to a service, then the reference pop-up action result will be corrected based on the simulated pop-up action result, and the corrected reference pop-up action result will prevail.

[0132] Furthermore, electronic devices can also measure the risk of information pop-ups based on the results of simulated pop-up operations and reference pop-up operations, and perform risk assessment processing by combining the similarity between the reference pop-up operation results and the simulated pop-up operation results to obtain risk warning information.

[0133] If the similarity between the reference pop-up operation and the simulated pop-up operation is greater than or equal to the set similarity threshold, it can be considered that the risk is generally low, and the risk warning information can indicate low risk.

[0134] If the similarity between the reference pop-up operation and the simulated pop-up operation is greater than or equal to the set similarity threshold, it can be considered that the risk is generally high, and the risk warning information can indicate high risk.

[0135] S212: When the information pop-up window is displayed, output the operation instruction information.

[0136] For details, please refer to the method steps in other embodiments of this specification, which will not be repeated here.

[0137] In one or more embodiments of this specification, when an electronic device detects the activation of an information pop-up, it acquires the pop-up content information and then generates operation instruction information for the pop-up based on the pop-up content information. When the information pop-up is displayed, the operation instruction information is output. Through the operation instruction information based on the pop-up content, the user can intuitively and quickly obtain the push intent of the information pop-up, reducing the limitations of information pop-up usage, improving the device user experience, facilitating quick access to pop-up information, improving the efficiency of information acquisition from pop-ups, and enhancing the intelligence of pop-up processing; furthermore, the operation instruction information can reduce the risk of user operation of pop-ups, avoid privacy information leakage, and improve the risk resistance capability against information pop-ups.

[0138] Please see Figure 3 , Figure 3 This is a flowchart illustrating another embodiment of a pop-up window handling method proposed in one or more embodiments of this specification. Specifically:

[0139] S302: Obtain user data of the target user, and determine the user type corresponding to the target user based on the user data;

[0140] In one feasible implementation, in order to achieve refined and targeted pop-up processing, the current user group of the electronic device can be further segmented and focused. Considering that different user groups have different speeds of understanding the intent of the pop-up, the pop-up processing method described in this application can be executed when the current target user is the target user type (such as the elderly).

[0141] User types can include teenage users, elderly users, working professionals, and so on.

[0142] User data can be a user type defined by the target user, that is, a user type entered into the electronic device. The user data can be the target user's biometric data (such as facial images, voiceprints, etc.), and the electronic device can use relevant biometric technologies to determine the user type based on the biometric data.

[0143] S304: If the user type belongs to the target user type, then execute the step of detecting the information pop-up window and obtaining the pop-up window content information of the information pop-up window;

[0144] The target user type can be a predefined user type. Users of the target user type are usually slower to understand the intent of the pop-up or are people who are likely to ignore the intent of the pop-up. For example, the target user type can be the elderly.

[0145] S306: Generate operation instruction information for the information pop-up based on the pop-up content information;

[0146] For details, please refer to the method steps in other embodiments of this specification, which will not be repeated here.

[0147] S308: Display pop-up auxiliary controls for the aforementioned information pop-up;

[0148] The pop-up auxiliary control is used to output operation instructions to the current target user based on the information pop-up.

[0149] The pop-up auxiliary control can be displayed on the device display interface of an electronic device as a specified image (such as a circle or triangle).

[0150] In one or more embodiments of this specification, auxiliary controls for the pop-up window can be displayed after the information pop-up window is detected to have been activated. For example... Figure 5 As shown, Figure 5 This is a schematic diagram of the interface of a pop-up auxiliary control. Figure 5 In the navigation application interface shown, the electronic device detects that an information pop-up has been launched but not yet rendered. The electronic device can then display an auxiliary control for this pop-up on the navigation application interface. This auxiliary control can output corresponding operation instructions using voice, text, images, etc., when the information pop-up is displayed. For example... Figure 6 As shown, Figure 6 This is a schematic diagram of an information pop-up window interface. The electronic device displays the information pop-up window, which contains several reference pop-up window operation items, such as pop-up confirmation operation items and pop-up cancellation operation items.

[0151] S310: When the information pop-up is displayed, control the pop-up auxiliary control to output the operation instruction information.

[0152] As an illustration, users can trigger pop-up auxiliary controls to output operation instructions for the information pop-up. Furthermore, users can perform human-computer interaction operations by interacting with the pop-up auxiliary controls, such as touching the pop-up auxiliary controls. The electronic device recognizes this human-computer interaction operation and controls the pop-up auxiliary controls to output the operation instructions.

[0153] In a demonstrative sense, the pop-up auxiliary control can be controlled to broadcast operation instructions via voice, such as broadcasting that the current information pop-up will not / will not incur any charges, clicking the pop-up will allow you to receive XX reward / subscribe to XX message, clicking the upper right corner will close the pop-up, etc.

[0154] In one feasible implementation, the operation instruction information may also include risk warning information for the information pop-up. The risk warning information is used to provide feedback on the risks arising after the user touches the corresponding reference pop-up operation item in the information pop-up. The risk warning information corresponds to the relevant risk pop-up operation item. For example, if the risk warning information is: "Confirming the pop-up will result in the risk of personal privacy leakage," then the risk pop-up operation item is the pop-up confirmation operation item.

[0155] Specifically, after the electronic device controls the pop-up auxiliary control to output the operation instruction information, it can also: receive the pop-up operation of the current target user for the target pop-up operation item corresponding to the information pop-up, and obtain the risk pop-up operation item indicated by the operation instruction information;

[0156] As an illustration, after determining the target pop-up action triggered by the user and the risky pop-up action related to the information pop-up, the electronic device can perform risk interception processing on the pop-up action. That is, it checks whether the target pop-up action and the risky pop-up action are consistent.

[0157] If the target pop-up operation is a risky pop-up operation, then the pop-up operation will be blocked. Risk blocking reduces the risk of device pop-up operations and ensures user security.

[0158] If the target pop-up operation item is inconsistent with the risk pop-up operation item, then in response to the pop-up operation, the pop-up operation logic corresponding to the pop-up operation is executed.

[0159] In one or more embodiments of this specification, when an electronic device detects the activation of an information pop-up, it acquires the pop-up content information and then generates operation instructions for the pop-up based on the content information. When the pop-up is displayed, the operation instructions are output. Through these operation instructions based on the pop-up content, users can intuitively and quickly understand the push intent of the information pop-up, reducing the limitations of using information pop-ups and improving the user experience. The operation instructions facilitate quick access to pop-up information, improving the efficiency of information retrieval and enhancing the intelligence of pop-up processing. Furthermore, the operation instructions reduce the risk of user interaction with the pop-up, preventing privacy leaks and improving the device's resilience against risks. Finally, the pop-up auxiliary controls enable convenient information output, improving the ease of pop-up processing.

[0160] The following will combine Figure 7 This manual provides a detailed description of the pop-up window handling device. It should be noted that... Figure 7 The pop-up window processing device shown is used to execute this application. Figures 1-6The methods of the embodiments shown are illustrated only in connection with this specification for ease of explanation; for specific technical details not disclosed, please refer to this application. Figures 1-6 The example shown.

[0161] Please see Figure 7 This diagram illustrates the structure of the pop-up window processing device described in this specification. The pop-up window processing device 1 can be implemented as all or part of an electronic device through software, hardware, or a combination of both. According to some embodiments, the pop-up window processing device 1 includes a pop-up window processing module 11, a pop-up window processing module 12, and a pop-up window processing module 13, specifically used for:

[0162] Pop-up monitoring module 11 is used to detect the activation of an information pop-up and obtain the pop-up content information of the information pop-up;

[0163] Information generation module 12 is used to generate operation instruction information for the information pop-up based on the pop-up content information;

[0164] The operation instruction module 13 is used to output the operation instruction information when the information pop-up is displayed.

[0165] Optionally, the pop-up monitoring module 11 is further configured to:

[0166] Obtain user data of the target user, and determine the user type corresponding to the target user based on the user data;

[0167] If the user type belongs to the target user type, then the step of detecting the information pop-up window and obtaining the pop-up window content information is executed.

[0168] Optional, such as Figure 8 As shown, the information generation module 12 includes:

[0169] The result determination unit 121 is used to obtain at least one reference pop-up operation item of the information pop-up, and determine the reference pop-up operation result for the reference pop-up operation item based on the pop-up content information.

[0170] The information generation unit 122 is used to generate operation instruction information for the information pop-up based on the operation result of the reference pop-up.

[0171] Optional, such as Figure 9 As shown, the result determination unit 121 is specifically used for:

[0172] The semantic recognition subunit 1211 is used to perform semantic recognition on the pop-up content information to obtain the pop-up push intent for the information pop-up;

[0173] The result determination subunit 1212 is used to determine the reference pop-up operation result corresponding to each of the reference pop-up operation items based on the pop-up push intent.

[0174] Optionally, the semantic recognition subunit 1211 is used for:

[0175] Determine the user type corresponding to the target user, and obtain the key interest points corresponding to the user type;

[0176] Based on the key points of interest, key semantic recognition is performed on the pop-up content information to obtain the pop-up push intent for the information pop-up.

[0177] Optionally, the result-determining subunit 1212 is used for:

[0178] If the reference pop-up operation item is a pop-up confirmation operation item, then obtain the pop-up confirmation result corresponding to the pop-up confirmation operation item based on the pop-up push intent;

[0179] If the reference pop-up operation item is a pop-up cancellation operation item, then the pop-up cancellation result corresponding to the pop-up cancellation operation item is obtained based on the pop-up push intent;

[0180] If the reference pop-up operation item is a pop-up close operation item, then the pop-up close result corresponding to the pop-up close operation item is obtained based on the pop-up push intent.

[0181] Optionally, the information generation module 12 is specifically used for:

[0182] The reference pop-up operation item is simulated and triggered to obtain the simulated pop-up operation result of the reference pop-up operation item;

[0183] The step of generating operation instruction information for the information pop-up based on the reference pop-up operation result includes:

[0184] Based on the simulated pop-up operation result, the reference pop-up operation result is corrected to obtain the corrected reference pop-up operation result.

[0185] Based on the reference pop-up operation results, operation instructions are generated for the information pop-up.

[0186] Optionally, the information generation module 12 is specifically used for:

[0187] Based on the operation results of the reference pop-up window, risk indication information is determined, and operation guidance information for the operation items in the reference pop-up window is obtained.

[0188] Based on the reference pop-up operation result, the risk indication information, and the operation guidance information, operation guidance information is generated for the information pop-up.

[0189] Optionally, the device 1 is further configured to:

[0190] Display pop-up auxiliary controls for the aforementioned information pop-up;

[0191] When the information pop-up is displayed, the operation instruction information is output, including:

[0192] When the information pop-up is displayed, control the pop-up auxiliary control to output the operation instruction information.

[0193] It should be noted that the pop-up processing device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the pop-up processing method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the pop-up processing device and the pop-up processing method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0194] The serial numbers in this specification are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0195] In one or more embodiments of this specification, when an electronic device detects the activation of an information pop-up, it acquires the pop-up content information and then generates operation instructions for the pop-up based on the content information. When the pop-up is displayed, the operation instructions are output. Through these operation instructions based on the pop-up content, users can intuitively and quickly understand the push intent of the information pop-up, reducing the limitations of using information pop-ups and improving the user experience. The operation instructions facilitate quick access to pop-up information, improving the efficiency of information retrieval and enhancing the intelligence of pop-up processing. Furthermore, the operation instructions reduce the risk of user interaction with the pop-up, preventing privacy leaks and improving the device's resilience against risks. Finally, the pop-up auxiliary controls enable convenient information output, improving the ease of pop-up processing.

[0196] This specification also provides a computer storage medium capable of storing multiple instructions adapted to be loaded and executed by a processor as described above. Figures 1-6 The pop-up window handling method described in the illustrated embodiment can be found in the following documentation for a detailed execution process. Figures 1-6 The specific details of the illustrated embodiments will not be elaborated here.

[0197] This application also provides a computer program product storing at least one instruction, which is loaded and executed by the processor as described above. Figures 1-6 The pop-up window handling method described in the illustrated embodiment can be found in the following documentation for a detailed execution process. Figures 1-6 The specific details of the illustrated embodiments will not be elaborated here.

[0198] Please refer to Figure 10 This diagram illustrates a structural block diagram of an electronic device provided in an exemplary embodiment of this application. The electronic device in this application may include one or more components such as a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected via the bus 150.

[0199] Processor 110 may include one or more processing cores. Processor 110 connects to various parts of the electronic device via various interfaces and lines, and performs various functions and processes data of electronic device 100 by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). Processor 110 may integrate one or more of the following: central processing unit (CPU), graphics processing unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented separately through a communication chip.

[0200] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described below, etc. The operating system may be the Android system, including systems deeply developed based on the Android system, the iOS system developed by Apple Inc., including systems deeply developed based on the iOS system, or other systems. The data storage area may also store data created by the electronic device during use, such as phonebook data, audio and video data, chat log data, etc.

[0201] See Figure 11 As shown, the memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, while native and third-party applications run in the user space. To ensure that different third-party applications can achieve good running performance, the operating system allocates corresponding system resources for each application. However, different application scenarios within the same third-party application have different requirements for system resources. For example, in local resource loading scenarios, third-party applications have high requirements for disk read speed; in animation rendering scenarios, third-party applications have high requirements for GPU performance. Since the operating system and third-party applications are independent of each other, the operating system often cannot promptly perceive the current application scenario of a third-party application, resulting in the operating system's inability to adapt system resources accordingly to the specific application scenario of the third-party application.

[0202] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to establish data communication between the third-party applications and the operating system. This would allow the operating system to obtain the current scenario information of the third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0203] Taking the Android operating system as an example, the programs and data stored in memory 120 are as follows: Figure 12As shown, the memory 120 can store the Linux kernel layer 320, the system runtime library layer 340, the application framework layer 360, and the application layer 380. The Linux kernel layer 320, system runtime library layer 340, and application framework layer 360 belong to the operating system space, while the application layer 380 belongs to the user space. The Linux kernel layer 320 provides low-level drivers for various hardware components of the electronic device, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, and power management. The system runtime library layer 340 provides support for key features of the Android system through several C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D graphics support, and the Webkit library provides browser kernel support. The system runtime library layer 340 also provides the Android runtime library, which mainly provides core libraries that allow developers to write Android applications using the Java language. The Application Framework Layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, and location management. At least one application runs in the Application Layer 380. These applications can be native applications that come with the operating system, such as contacts, SMS, clock, and camera apps; or third-party applications developed by third-party developers, such as games, instant messaging, and photo editing apps.

[0204] Taking the operating system as an example (iOS), the programs and data stored in memory 120 are as follows: Figure 13As shown, the iOS system includes: Core OS layer 420, Core Services layer 440, Media layer 460, and Cocoa Touch layer 480. Core OS layer 420 includes the operating system kernel, drivers, and low-level program frameworks. These low-level program frameworks provide hardware-level functionality for use by the program frameworks located in Core Services layer 440. Core Services layer 440 provides system services and / or program frameworks required by applications, such as Foundation framework, account framework, advertising framework, data storage framework, network connectivity framework, geolocation framework, motion framework, etc. Media layer 460 provides applications with audiovisual interfaces, such as interfaces related to graphics and images, audio technology, video technology, and AirPlay (wireless playback of audio and video transmission technologies). Cocoa Touch layer 480 provides various commonly used interface-related frameworks for application development and is responsible for user touch interaction on electronic devices. Examples include local notification services, remote push services, advertising frameworks, game tool frameworks, message user interface (UI) frameworks, UIKit user interface frameworks, map frameworks, and so on.

[0205] exist Figure 13 The framework shown includes, but is not limited to, the base framework in the core service layer 440 and the UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, offering the most basic system services to all applications, and is independent of the UI. The UIKit framework, on the other hand, provides a basic UI class library for creating touch-based user interfaces. iOS applications can use the UIKit framework to provide their UI, thus providing the application's infrastructure for building user interfaces, drawing, handling user interaction events, responding to gestures, and so on.

[0206] The methods and principles for implementing data communication between third-party applications and the operating system in the iOS system can be referenced from the Android system, and will not be elaborated here.

[0207] The input device 130 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 140 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined into a touch screen, which is used to receive touch operations from the user using a finger, stylus, or any suitable object on or near it, and to display the user interface of various applications. The touch screen is usually located on the front panel of the electronic device. The touch screen can be designed as a full-screen, curved screen, or irregularly shaped screen. The touch screen can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; this specification does not limit this.

[0208] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device may also include radio frequency circuits, input units, sensors, audio circuits, wireless fidelity (WiFi) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.

[0209] In this specification, the entity executing each step can be the electronic device described above. Optionally, the entity executing each step can be the operating system of the electronic device. The operating system can be Android, iOS, or other operating systems; this specification does not limit this.

[0210] The electronic device described in this manual may also be equipped with a display device. This display device can be any device capable of displaying information, such as a cathode ray tube display (CR), a light-emitting diode display (LED), an e-ink screen, a liquid crystal display (LCD), or a plasma display panel (PDP). Users can use the display device on electronic device 101 to view displayed text, images, videos, and other information. The electronic device may be a smartphone, tablet computer, gaming device, AR (Augmented Reality) device, automobile, data storage device, audio playback device, video playback device, laptop, desktop computing device, or wearable device such as an electronic watch, electronic glasses, electronic helmet, electronic bracelet, electronic necklace, or electronic clothing.

[0211] exist Figure 10 In the illustrated electronic device, which can be a terminal, the processor 110 can be used to call the application stored in the memory 120 and specifically perform the following operations:

[0212] Upon detecting the activation of an information pop-up window, obtain the pop-up window content information;

[0213] Based on the pop-up content information, generate operation instruction information for the information pop-up;

[0214] When the information pop-up window is displayed, the operation instruction information is output.

[0215] In one embodiment, when the processor 110 executes the pop-up window processing, it specifically performs the following operations:

[0216] Obtain user data of the target user, and determine the user type corresponding to the target user based on the user data;

[0217] If the user type belongs to the target user type, then the step of detecting the information pop-up window and obtaining the pop-up window content information is executed.

[0218] In one embodiment, when the processor 110 executes the operation instruction information for the information pop-up based on the pop-up content information, it specifically performs the following operations:

[0219] Obtain at least one reference pop-up operation item from the information pop-up, and determine a reference pop-up operation result for the reference pop-up operation item based on the pop-up content information;

[0220] Based on the reference pop-up operation results, operation instructions are generated for the information pop-up.

[0221] In one embodiment, when the processor 110 executes the process of determining the reference pop-up operation result for the reference pop-up operation item based on the pop-up content information, it specifically performs the following operations:

[0222] Semantic recognition is performed on the pop-up content information to obtain the pop-up push intent for the information pop-up;

[0223] Based on the pop-up push intent, determine the reference pop-up operation result corresponding to each of the reference pop-up operation items.

[0224] In one embodiment, when the processor 110 performs semantic recognition on the pop-up content information to obtain the pop-up push intent for the information pop-up, it specifically performs the following operations:

[0225] Determine the user type corresponding to the target user, and obtain the key interest points corresponding to the user type;

[0226] Based on the key points of interest, key semantic recognition is performed on the pop-up content information to obtain the pop-up push intent for the information pop-up.

[0227] In one embodiment, when the processor 110 executes the process of determining the reference pop-up operation result corresponding to each reference pop-up operation item based on the pop-up push intent, it specifically performs the following operations:

[0228] If the reference pop-up operation item is a pop-up confirmation operation item, then obtain the pop-up confirmation result corresponding to the pop-up confirmation operation item based on the pop-up push intent;

[0229] If the reference pop-up operation item is a pop-up cancellation operation item, then the pop-up cancellation result corresponding to the pop-up cancellation operation item is obtained based on the pop-up push intent;

[0230] If the reference pop-up operation item is a pop-up close operation item, then the pop-up close result corresponding to the pop-up close operation item is obtained based on the pop-up push intent.

[0231] In one embodiment, after the processor 110 executes the step of determining the reference pop-up operation results corresponding to each reference pop-up operation item based on the pop-up push intent, it further performs the following steps:

[0232] The reference pop-up operation item is simulated and triggered to obtain the simulated pop-up operation result of the reference pop-up operation item;

[0233] The step of generating operation instruction information for the information pop-up based on the reference pop-up operation result includes:

[0234] Based on the simulated pop-up operation result, the reference pop-up operation result is corrected to obtain the corrected reference pop-up operation result.

[0235] Based on the reference pop-up operation results, operation instructions are generated for the information pop-up.

[0236] In one embodiment, when the processor 110 generates operation instruction information for the information pop-up based on the reference pop-up operation result, it specifically performs the following operations:

[0237] Based on the operation results of the reference pop-up window, risk indication information is determined, and operation guidance information for the operation items in the reference pop-up window is obtained.

[0238] Based on the reference pop-up operation result, the risk indication information, and the operation guidance information, operation guidance information is generated for the information pop-up.

[0239] In one embodiment, after the processor 110 generates operation instruction information for the information pop-up based on the pop-up content information, it further performs the following steps:

[0240] Display pop-up auxiliary controls for the aforementioned information pop-up;

[0241] When the information pop-up is displayed, the operation instruction information is output, including:

[0242] When the information pop-up is displayed, control the pop-up auxiliary control to output the operation instruction information.

[0243] In one embodiment, after executing the command to control the pop-up auxiliary control to output the operation instruction information, the processor 110 further performs the following steps:

[0244] Receive pop-up operation for the target pop-up operation item corresponding to the information pop-up, and obtain the risk pop-up operation item indicated by the operation instruction information;

[0245] If the target pop-up operation item is the same as the risk pop-up operation item, then the pop-up operation will be subject to risk interception.

[0246] In one or more embodiments of this specification, when an electronic device detects the activation of an information pop-up, it acquires the pop-up content information and then generates operation instructions for the pop-up based on the content information. When the pop-up is displayed, the operation instructions are output. Through these operation instructions based on the pop-up content, users can intuitively and quickly understand the push intent of the pop-up, reducing the limitations of pop-up usage and improving the user experience. The operation instructions facilitate quick access to pop-up information, improving information acquisition efficiency and the intelligence of pop-up processing. Furthermore, the operation instructions reduce the risk of user interaction with the pop-up, preventing privacy leaks and enhancing the device's resilience against risks. Finally, the pop-up auxiliary controls enable convenient information output, improving the ease of pop-up processing.

[0247] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.

[0248] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A pop-up window handling method, the method comprising: Upon detecting the activation of an information pop-up window, obtain the pop-up window content information; Obtain at least one reference pop-up operation item of the information pop-up, use a trained intent recognition model to perform semantic recognition on the pop-up content information, obtain the pop-up push intent for the information pop-up, and determine the reference pop-up operation result corresponding to each of the reference pop-up operation items based on the pop-up push intent. The reference pop-up operation item is simulated and triggered to obtain the simulated pop-up operation result of the reference pop-up operation item. Based on the simulated pop-up operation result, the reference pop-up operation result is corrected to obtain the corrected reference pop-up operation result. Based on the reference pop-up operation result, generate operation instruction information for the information pop-up; When the information pop-up window is displayed, the operation instruction information is output; The process of simulating the triggering of the reference pop-up operation item to obtain the simulated pop-up operation result further includes: performing risk assessment processing based on the similarity between the reference pop-up operation result and the simulated pop-up operation result; if the similarity is greater than or equal to a set similarity threshold, generating risk warning information indicating a low-risk type; if the similarity is not greater than or equal to the set similarity threshold, generating risk warning information indicating a high-risk type; and generating operation instruction information for the information pop-up based on the corrected reference pop-up operation result and the risk warning information.

2. The method according to claim 1, further comprising: Obtain user data of the target user, and determine the user type corresponding to the target user based on the user data; If the user type belongs to the target user type, then the step of detecting the information pop-up window and obtaining the pop-up window content information is executed.

3. The method according to claim 1, wherein performing semantic recognition on the pop-up content information to obtain the pop-up push intent for the information pop-up includes: Determine the user type corresponding to the target user, and obtain the key interest points corresponding to the user type; Based on the key points of interest, key semantic recognition is performed on the pop-up content information to obtain the pop-up push intent for the information pop-up.

4. The method according to claim 3, wherein performing key semantic recognition on the pop-up content information based on the key points of interest to obtain the pop-up push intent for the information pop-up includes: The key points of interest and pop-up content information are input into the intent recognition model. The intent recognition model focuses on identifying the intent of the key points of interest in the pop-up content information based on the key points of interest, and outputs the pop-up push intent for the information pop-up. In this context, the key interest points are used to indicate that the schematic diagram recognition model focuses on recognizing the intent of the semantic dimension corresponding to the key interest points and reduces the intent recognition intensity of other semantic dimensions besides the key interest points during the key semantic recognition process.

5. The method according to claim 1, wherein determining the reference pop-up operation result corresponding to each of the reference pop-up operation items based on the pop-up push intent includes: If the reference pop-up operation item is a pop-up confirmation operation item, then obtain the pop-up confirmation result corresponding to the pop-up confirmation operation item based on the pop-up push intent; If the reference pop-up operation item is a pop-up cancellation operation item, then the pop-up cancellation result corresponding to the pop-up cancellation operation item is obtained based on the pop-up push intent; If the reference pop-up operation item is a pop-up close operation item, then the pop-up close result corresponding to the pop-up close operation item is obtained based on the pop-up push intent.

6. The method according to claim 1, wherein generating operation instruction information for the information pop-up based on the reference pop-up operation result includes: Based on the operation results of the reference pop-up window, risk indication information is determined, and operation guidance information for the operation items in the reference pop-up window is obtained. Based on the reference pop-up operation result, the risk indication information, and the operation guidance information, operation guidance information is generated for the information pop-up.

7. The method according to claim 1, further comprising, after generating operation instruction information for the information pop-up based on the pop-up content information: Display pop-up auxiliary controls for the aforementioned information pop-up; When the information pop-up is displayed, the operation instruction information is output, including: When the information pop-up is displayed, control the pop-up auxiliary control to output the operation instruction information.

8. The method according to claim 7, after controlling the pop-up auxiliary control to output the operation instruction information, further comprising: Receive pop-up operation for the target pop-up operation item corresponding to the information pop-up, and obtain the risk pop-up operation item indicated by the operation instruction information; If the target pop-up operation item is the same as the risk pop-up operation item, then the pop-up operation will be subject to risk interception.

9. A pop-up window handling device, the device comprising: The pop-up monitoring module is used to detect when an information pop-up is launched and to obtain the pop-up content information of the information pop-up. An information generation module is used to acquire at least one reference pop-up operation item of the information pop-up, perform semantic recognition on the pop-up content information using a trained intent recognition model to obtain the pop-up push intent for the information pop-up, determine the reference pop-up operation result corresponding to each of the reference pop-up operation items based on the pop-up push intent, perform simulated triggering processing on the reference pop-up operation items to obtain the simulated pop-up operation result of the reference pop-up operation items, perform result correction processing on the reference pop-up operation result based on the simulated pop-up operation result to obtain the corrected reference pop-up operation result, and generate operation instruction information for the information pop-up based on the reference pop-up operation result. The operation instruction module is used to output the operation instruction information when the information pop-up is displayed; The process of simulating the triggering of the reference pop-up operation item to obtain the simulated pop-up operation result further includes: performing risk assessment processing based on the similarity between the reference pop-up operation result and the simulated pop-up operation result; if the similarity is greater than or equal to a set similarity threshold, generating risk warning information indicating a low-risk type; if the similarity is not greater than or equal to the set similarity threshold, generating risk warning information indicating a high-risk type; and generating operation instruction information for the information pop-up based on the corrected reference pop-up operation result and the risk warning information.

10. A computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the method steps of any one of claims 1 to 8.

11. A computer program product storing at least one instruction, said at least one instruction being loaded by a processor and executing the method steps of any one of claims 1 to 8.

12. An electronic device, comprising: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed the method steps as claimed in any one of claims 1 to 8.