CN113448668B - Method and device for skipping popup window and electronic equipment - Google Patents

Method and device for skipping popup window and electronic equipment Download PDF

Info

Publication number
CN113448668B
CN113448668B CN202110694547.6A CN202110694547A CN113448668B CN 113448668 B CN113448668 B CN 113448668B CN 202110694547 A CN202110694547 A CN 202110694547A CN 113448668 B CN113448668 B CN 113448668B
Authority
CN
China
Prior art keywords
displayed
popup
text information
popup window
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110694547.6A
Other languages
Chinese (zh)
Other versions
CN113448668A (en
Inventor
田聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110694547.6A priority Critical patent/CN113448668B/en
Publication of CN113448668A publication Critical patent/CN113448668A/en
Application granted granted Critical
Publication of CN113448668B publication Critical patent/CN113448668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The disclosure discloses a method and a device for skipping a popup window and electronic equipment, relates to the field of computers, and particularly relates to the field of computer systems. The specific implementation scheme is as follows: acquiring text information in a popup window to be displayed; determining target operation for ending the popup window to be displayed according to the text information; and before the popup to be displayed is displayed, executing the target operation to end the popup to be displayed. The method and the device can automatically determine the target operation for ending the popup to be displayed according to the text information before the popup to be displayed is displayed, so that the popup to be displayed is responded before being displayed by utilizing the determined target operation, and therefore the popup to be displayed can be ended before the popup to be displayed is displayed, the user does not need to manually read the content in the popup to be displayed and respond, and the operation amount of the user can be saved.

Description

Method and device for skipping popup window and electronic equipment
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to computer system technology.
Background
The application can create and display the popup window in the running process, so that a user responds according to the content displayed by the popup window, and interaction between the user and the application is realized.
Disclosure of Invention
The present disclosure provides a method, apparatus, device, and storage medium for saving user operation amount.
According to a first aspect of the present disclosure, there is provided a method of skipping a popup window, the method comprising:
acquiring text information in a popup window to be displayed;
determining target operation for ending the popup window to be displayed according to the text information;
and before the popup to be displayed is displayed, executing the target operation to end the popup to be displayed.
According to a second aspect of the present disclosure, there is provided an apparatus for skipping a pop-up window, the apparatus comprising:
the character information acquisition module is used for acquiring character information in the popup window to be displayed;
the target operation determining module is used for determining target operation for ending the popup window to be displayed according to the text information;
and the target operation execution module is used for executing the target operation to finish the popup to be displayed before the popup to be displayed is displayed.
According to a third aspect of the present disclosure, there is provided an electronic device, comprising: at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the first aspects above.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method according to any one of the first aspects above.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method according to any of the first aspects described above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow diagram of a method of skipping a pop-up window provided in accordance with the present disclosure;
FIG. 2 is a flow diagram of a target operation determination method provided in accordance with the present disclosure;
FIG. 3 is another flow diagram of a method of skipping a pop-up window provided in accordance with the present disclosure;
FIG. 4 is another flow diagram of a method of skipping a pop-up window provided in accordance with the present disclosure;
FIG. 5 is another flow diagram of a method of skipping a pop-up window provided in accordance with the present disclosure;
FIG. 6 is a schematic structural view of a device for pop-up window according to the present disclosure;
fig. 7 is a block diagram of an electronic device for implementing a method of skipping a pop-up window in accordance with an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
For more clear explanation of the method for skipping a popup window provided by the present disclosure, one possible application scenario of the method for skipping a popup window provided by the present disclosure will be described in the following by way of example, and it should be understood that the following examples are only one possible application scenario of the method for skipping a popup window provided by the present disclosure, and in other embodiments, the method for skipping a popup window provided by the present disclosure may also be applied to other possible application scenarios, which are not limited in any way by the following examples.
Some applications will detect whether the current version of the application is the latest version when started, create and display a popup when detecting that the current version is not the latest version, so as to prompt the user that the current version of the application is not the latest version, and a first control marked with "immediately upgrade" and a second control marked with "cancel upgrade" can be arranged in the displayed popup, and the user can end the popup by clicking any one of the controls. And when the control clicked by the user is the first control, the application is updated, and when the control clicked by the user is the second control, the application is not updated.
And the popup window is displayed until the popup window is finished, the user is required to manually read the content in the popup window, and click on the corresponding control according to the actual demand, so that the operation amount of the user when using the application is more.
The disclosure provides a method for skipping a pop-up window, referring to fig. 1, fig. 1 is a schematic flow chart of the method for skipping a pop-up window, which may include:
s101, acquiring character information in a popup window to be displayed.
S102, determining target operation for ending the popup window to be displayed according to the text information.
And S103, before the popup to be displayed is displayed, executing a target operation to end the popup to be displayed.
By adopting the embodiment, the target operation for ending the popup to be displayed can be automatically determined according to the text information contained in the popup to be displayed before the popup to be displayed is displayed, so that the popup to be displayed is responded before the popup to be displayed is displayed, the popup to be displayed can be ended before the popup to be displayed is displayed, the user does not need to manually read the content in the popup to be displayed and respond, and the operation amount of the user can be saved.
In S101, the popup to be displayed is a popup that has not yet been displayed, and hereinafter, for convenience of description, an application for creating the popup to be displayed is referred to as a target application. The target application herein may refer to any application running on a computer that has the ability to create a pop-up window, and the computer may refer to any electronic device that has computing capabilities, including but not limited to servers, personal computers, cell phones, tablet computers, and the like.
The to-be-exposed popup may be any popup or popups created for the target application, and may refer to, for example, in some embodiments, popups created when the target application is started, and in other embodiments, popups to be exposed may also refer to all popups created by the target application during operation.
The text information in the popup to be displayed may refer to all or part of the text information included in the popup to be displayed, and in some embodiments, the text information in the popup to be displayed may refer to text information in a main body window of the popup to be displayed, but does not include text information in a title bar of the popup to be displayed, and in other embodiments, the text information in the popup to be displayed may also refer to text information in the main body window of the popup to be displayed and text information in the title bar of the popup to be displayed.
The step S102, in which the target operation for ending the popup window to be displayed is to be able to end the operation of the popup window to be displayed by executing the operation, and by taking the application scenario of the foregoing example as an example, the target operation may be an operation of clicking the first control or an operation of clicking the second control.
It will be appreciated that the application creates and presents the popup to prompt the user to respond, so the popup should include information for indicating how the user responds, for example, in the application scenario of the foregoing example, the presented popup may include the text "the current version is not the latest version, ask about whether to upgrade" to prompt the user to respond to whether to upgrade the application.
Therefore, the acquired text information of the popup window to be displayed can reflect how to respond to the popup window to be displayed so as to finish the popup window to be displayed, and determining the target operation for ending the popup window to be displayed according to the text information. How to determine the target operation will be exemplarily described hereinafter and will not be described again.
In S103, since the target operation is an operation for ending the popup to be displayed, the popup to be displayed may be ended by performing the target operation. And because the target operation can be regarded as the response of the popup to be displayed, the user does not need to respond to the popup, and on the other hand, the popup to be displayed is not displayed because the popup to be displayed is ended before being displayed. So that the user is not required to read the content in the displayed popup window and respond manually.
In some application scenarios, the default execution order of the target operation may be lower than that of the window to be displayed, in these application scenarios, in order to enable the target operation to be executed before the window to be displayed is displayed, the execution order of the target operation may be changed by a hook (hook) to before the window to be displayed is displayed, and the implementation manner of the hook may be different according to the application scenarios, and may be, for example, implemented by a function hook or by a method hook, which is not limited in this disclosure.
For example, in some application scenarios a popup window may be created to end as follows: the method comprises the steps of creating a popup window by a target application, displaying the popup window by the target application through a system built in a computer, controlling the computer to execute target operation by a user according to the displayed popup window, and ending the popup window. In the application scene, the execution order of the target operation is later than that of the display popup, so in the application scene, after the target application creates the popup and before the target application displays the popup through a system built in a computer, the popup created by the target application is checked, text information in the popup created by the target application is acquired, the target operation for ending the popup is determined according to the text information, and the execution order of the target operation is adjusted to be before the popup is displayed in a hook mode, so that the popup is ended before the popup is displayed.
In the following, an exemplary description will be given of how the target operation is determined, and the following examples are only possible ways to determine the target operation, and in other possible embodiments, the target operation may be determined in a different manner from the following examples, which do not limit in any way.
In one possible embodiment, an operation corresponding to a keyword included in the text information may be determined as the target operation according to a preset correspondence between the keyword and the operation.
The keywords may be one or more words preset, and exemplary keywords may include, but are not limited to, one or more words of "skip", "next recall", "ignore", "cancel upgrade", "agree", "no", "cancel". The correspondence between the keywords and the operations can be set by a user according to actual demands or experience, and can also be learned by a machine learning mode, wherein the machine learning mode comprises, but is not limited to, machine learning based on a deep neural network and machine learning based on a traditional algorithm model.
For example, taking the application scenario of the foregoing example as an example, if the user considers that the target application of the current version can provide the service meeting the actual requirement of the user, no upgrade is needed for the target application, so that the keyword "cancel upgrade" can be corresponding to the operation of clicking the second control in the corresponding relationship, and when the acquired text information includes the keyword "cancel upgrade", the target operation can be determined to be clicking the second control according to the corresponding relationship.
For another example, if it is determined by machine learning based on a response of the user to the popup window historically that the user tends to update the target application to the latest version, the keyword "immediately upgrade" may be associated with the operation of clicking the first control in the correspondence relationship, and when the acquired text information includes the keyword "immediately upgrade", the target operation may be determined to be clicking the first control according to the correspondence relationship.
In determining the keyword included in the text information, an accurate matching mode or a fuzzy matching mode may be used for example, whether the keyword "cancel upgrade" is included in the text information is determined, whether the word "cancel upgrade" is included in the text information may be determined by a regular matching mode, and when the word "cancel upgrade" is included in the text information, the keyword "cancel upgrade" is included in the text information. Or determining whether the text information contains "upgrading" and any combination word representing negative words in a regular matching manner, for example, the combination word of "upgrading" and "not upgrading" and the combination word of "upgrading" and "rejecting" can reject upgrading ", and if the text information contains" upgrading "and any combination word representing negative words, determining that the text information contains the keyword" cancel upgrading ".
By adopting the embodiment, on one hand, the target operation can be determined with less calculation amount through the corresponding relation between the preset keywords and the operation, so that the system resources occupied by skipping the popup window are reduced. On the other hand, the user can make the determined target operation accord with the actual requirement of the user by changing the corresponding relation between the keywords and the operation.
It can be appreciated that in some application scenarios, the application a of the current version is considered by the user to be able to provide the service meeting the actual demand of the user, and the application a is not required to be upgraded, but only the application B of the latest version is considered by the user to be able to provide the service meeting the actual demand of the user, so that the application B needs to be kept as the latest version.
Therefore, in one possible embodiment, the correspondence between the keywords preset for different applications and the operations may be different, and when determining the target operation, the operation corresponding to the keywords included in the text information may be determined as the target operation according to the correspondence between the keywords preset for the target application and the operations.
For example, a first correspondence relationship between keywords and operations may be set in advance for application a, and a second correspondence relationship between keywords and operations may be set in advance for application B. And in the first corresponding relation, the keyword 'cancel upgrading' corresponds to clicking a second control, and in the second corresponding relation, the keyword 'immediately upgrading' corresponds to clicking the first control.
When the target application is the application A, the target operation can be determined to be clicking the second control according to the first corresponding relation, and when the target application is the application B, the target operation can be determined to be clicking the first control according to the second corresponding relation. That is, when the target application is application a, the second control can be automatically clicked to cancel upgrading application a, and when the target application is application B, the first control can be automatically clicked to upgrade application B to keep application B the latest version. Therefore, whether the target application is the application A or the application B, the control meeting the actual requirements of the user can be automatically clicked.
By adopting the embodiment, different corresponding relations can be set for different applications, so that the determined target operation can meet the actual requirements of users in different application scenes, and the determined target operation can be more accurate.
In another possible embodiment, when determining the target operation, as shown in fig. 2, fig. 2 is a schematic flow chart of a method for determining the target operation provided in the present disclosure, which may include:
s201, carrying out semantic analysis on the text information to obtain semantic information.
The semantic information is information for representing meaning of the text information.
Determining the target operation according to the text information can be regarded as a process of mapping the text information to the target operation, and the closer the mapping relation used in mapping is to the actual real mapping relation, the more accurate the determined target operation is.
The text information is often expressed in a form of natural language, and the natural language has certain irregularity when ideas, that is, the same meaning can be expressed through a plurality of different text information, for example, in some application scenes, three different text information of "ignore", "skip", "next recall" have meanings that are not upgrading target applications, that is, in the application scenes, the three different text information correspond to the same semantic information.
And under the influence of ideographic irregularity, it is difficult to accurately determine the real mapping relationship between the text information and the target operation, so if the text information is directly mapped to the target operation, the accuracy of the obtained target operation may be lower.
S202, determining target operation for ending the popup window to be displayed according to the semantic information.
The process of determining the target operation according to the semantic information can be regarded as the process of mapping the semantic information to the target operation, and the process of mapping the semantic information to the target operation is not affected by the irregularity, so that the semantic information can be mapped to the target operation relatively accurately. The embodiment is selected, semantic information of the text information can be obtained, and target operation is determined according to the semantic information, so that the influence of natural semantic ideographic irregularity is avoided, and the accuracy of the determined target operation is improved.
Referring to fig. 3, fig. 3 is another flow chart illustrating a method for skipping a pop-up window provided in the present disclosure, which may include:
s301, determining whether the target application for creating the popup window to be displayed is a white list application, if so, executing S302, and if not, executing S305
The white list application may be an application in a white list preset by a user, or an application not in a black list preset by a user, or an application that is turned on by a local switch set by a pointer to the application. For example, assuming that the user is preset with a white list and the white list includes an application a, an application B, and an application C, when the target application is the application a, the application B, or the application C, the target application is the white list application. For another example, assuming that the user is preset with a blacklist and the blacklist includes application C, when the target application is not application C, the target application is a whitelist application. For another example, local switches may be set for each application in advance, and a user may turn on or off the local switch of any application according to actual needs, if the local switch of the target application is turned on, the target application is a white list application, and if the local switch of the target application is turned off, the target application is not a white list application.
S302, acquiring text information in a popup window to be displayed.
This step is the same as S101 described above, and reference may be made to the description of S101 described above, which is not repeated here,
s303, determining target operation for ending the popup window to be displayed according to the text information.
This step is the same as S102 described above, and reference may be made to the description of S102 described above, which is not repeated here,
s304, before the popup to be displayed is displayed, executing target operation to end the popup to be displayed.
This step is the same as S103 described above, and reference may be made to the description of S103 described above, which is not repeated here,
s305, displaying the popup window to be displayed.
It will be appreciated that when the target application is a whitelist application, the user may be considered to wish to skip the window created by the target application, and thus the steps of S302-S304 described above may be performed at this time to skip the window to be presented. When the target application is not the white name application, the user can be considered to not wish to skip the popup window created by the target application, so that the popup window to be displayed can be displayed at this time, and the user can respond according to the displayed popup window.
For example, taking the foregoing exemplary application scenario as an example, it is assumed that the user considers that the current version of application a can provide a service meeting the actual requirement of the user, without upgrading the application a, and that the user considers that, according to the actual use situation of the user, there is a need for upgrading under some conditions, such as that a new version of application C provides a new function, and in other conditions, no upgrade is required, such as that the new version of application C only optimizes the original function.
The user may set a white list including application a or set a black list including application C. When the target application is application a, the steps of S302-S304 are executed to skip the popup window to be presented, and the second control is clicked automatically. And when the target application is the application C, displaying the popup window to be displayed, so that a user selects whether to upgrade the application C according to actual conditions.
By adopting the embodiment, the user can set the white list application according to the actual demand, so that the popup window created by the white list application is automatically skipped, and the popup window created by the non-white list application is displayed, so that the customization of the method is further improved, and the actual demand of the user is more met.
Referring to fig. 4, fig. 4 is another flow chart illustrating a method for skipping a pop-up window provided in the present disclosure, which may include:
s401, determining whether a preset global switch is turned on, if so, executing S402, and if not, executing S405.
The preset global switch can be a virtual switch realized by software or an entity switch realized by hardware. For example, taking a computer as an example of a mobile phone, a switch control may be added to a setting interface of an operating system of the mobile phone, where the switch space may be used to indicate whether the global switch is turned on, and a user may interact with the light-on control through a preset gesture operation, such as clicking, sliding, etc., to turn on or off the global switch. Or a hardware switch is arranged on the body of the mobile phone and used as a global switch.
S402, acquiring text information in a popup window to be displayed.
This step is the same as S101 described above, and reference may be made to the description of S101 described above, which is not repeated here,
s403, determining target operation for ending the popup window to be displayed according to the text information.
This step is the same as S102 described above, and reference may be made to the description of S102 described above, which is not repeated here,
s404, before the popup to be displayed is displayed, a target operation is executed to end the popup to be displayed.
This step is the same as S103 described above, and reference may be made to the description of S103 described above, which is not repeated here,
s405, displaying the popup window to be displayed.
It will be appreciated that when the global switch is on, the user may be considered to wish to skip the popup created by each application, and therefore the steps of S402-S404 described above may be performed at this time to skip the popup to be presented. When the global switch is closed, the user may not want to skip the popup window created by each application, so that the popup window to be displayed may be displayed at this time, so that the user can respond according to the displayed popup window.
For example, taking the foregoing exemplary application scenario as an example, assuming that in the first period of time, the user considers that the current version of application a can provide a service meeting the actual requirement of the user, without upgrading the application a, the user may open the global switch in the first period of time, so as to skip the popup window to be displayed created by the application a, and automatically click the second control.
In the second period, the user finds that the application A has a need of upgrading according to the actual use condition of the user, for example, the new version of the application A provides new functions under some conditions, and in other conditions, the user does not need to upgrade, for example, the new version of the application A only optimizes the original functions. The user may close the global switch in the second period of time, so that the popup created by the application a is shown, and the user may choose whether to upgrade the application a according to the actual situation.
By adopting the embodiment, a user can turn on or off the global switch according to actual demands, so that whether the popup window to be displayed is skipped or not is controlled according to the actual demands, and the customizable of the display can be further improved to more meet the actual demands of the user.
Referring to fig. 5, fig. 5 is another flow chart illustrating a method for skipping a pop-up window provided in the present disclosure, which may include:
s501, determining whether the target application is a white list application or not and whether a preset global switch is turned on or not, if yes, executing S502, and if not, executing S505.
The related description of S301 may be referred to for the whitelist application, and the related description of S401 may be referred to for the global switch, which is not repeated herein. In some application scenarios, the case of yes may refer to: the target application is a white list application, and the preset global switch is turned on, and if not, the target application means that: the target application is not a white list application, or a preset global switch is turned off. In other application scenarios, if so, it may also refer to: the target application is a white list application, or a preset global switch is turned on, and if not, the method means that: the target application is not a white list application and the preset global switch is turned off.
S502, acquiring text information in a popup window to be displayed.
This step is the same as S101 described above, and reference may be made to the description of S101 described above, which is not repeated here,
and S503, determining a target operation for ending the popup window to be displayed according to the text information.
This step is the same as S102 described above, and reference may be made to the description of S102 described above, which is not repeated here,
s504, before the popup to be displayed is displayed, a target operation is executed to end the popup to be displayed.
This step is the same as S103 described above, and reference may be made to the description of S103 described above, which is not repeated here,
s505, displaying the popup window to be displayed.
For convenience of description, the case that the target application is the whitelist application and the preset global switch is turned on in S501 is described as an example, and the other cases are similarly available and are not described again. It will be appreciated that a user may not wish to skip any application-created popup during some time periods, but may wish to skip some application-created popups during other time periods.
For example, taking the foregoing exemplary application scenario as an example, it is assumed that, in the first period of time, the user considers that the current version of application a can provide a service meeting the actual requirements of the user, without upgrading the application a, and in the second period of time, the user finds that, according to the actual use condition of the user, the application a needs to be upgraded under some conditions, for example, a new version of application a provides a new function, and in other cases, no upgrade is required, for example, the new version of application a only optimizes the original function. And, the user considers that the application C always needs to be upgraded according to the actual use condition of the user.
The user may set a white list including application a or set a black list including application C. And turning on the global switch for a first period of time and turning off the global switch for a second period of time. Then the popup created by application a during the first time period will be skipped and the popup created during the second time period will not be skipped. And, the popup window created by application B during any period of time will not be skipped.
By adopting the embodiment, a user can set the white list application according to the actual demand and turn on or turn off the global switch, so that whether the popup window to be displayed is skipped or not is controlled according to the actual demand, and the customizability of the display can be further improved to more meet the actual demand of the user.
Corresponding to the foregoing method for skipping a pop-up window, the present disclosure further provides a device for skipping a pop-up window, and fig. 6 may be referred to as a schematic structural diagram of the device for skipping a pop-up window, where fig. 6 is a schematic structural diagram of the device for skipping a pop-up window, and may include:
the text information obtaining module 601 is configured to obtain text information in a popup window to be displayed;
the target operation determining module 602 is configured to determine, according to the text information, a target operation for ending the popup window to be displayed;
and a target operation execution module 603, configured to execute the target operation to end the popup to be displayed before displaying the popup to be displayed.
In one embodiment, the target operation determining module 602 determines, according to the text information, a target operation for ending the popup window to be displayed, including:
and determining the operation corresponding to the keyword included in the text information as a target operation according to the corresponding relation between the preset keyword and the operation.
In one embodiment, the target operation determining module 602 determines, as the target operation, an operation corresponding to a keyword included in the text information according to a preset correspondence between the keyword and the operation, where the target operation includes:
and determining an operation corresponding to the keyword included in the text information as a target operation according to a corresponding relation between the keyword and the operation preset for the target application, wherein the target application is an application for creating the popup window to be displayed.
In one embodiment, the target operation determining module 602 determines, according to the text information, a target operation for ending the popup window to be displayed, including:
carrying out semantic analysis on the text information to obtain semantic information;
and determining target operation for ending the popup window to be displayed according to the semantic information.
In one embodiment, the apparatus further comprises a whitelist module for determining whether a target application for creating a popup to be presented is a whitelist application;
if yes, driving the text information obtaining module 601 to execute the step of obtaining the text information in the popup window to be displayed;
and if not, displaying the popup window to be displayed.
In one embodiment, the apparatus further comprises a global switch module for determining whether a preset global switch is on;
if yes, driving the text information obtaining module 601 to execute the step of obtaining the text information in the popup window to be displayed;
and if not, displaying the popup window to be displayed.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as the method of skipping a pop-up window described above. For example, in some embodiments, the method of skipping a pop-up window described in any of the preceding may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of any of the above-described methods of skipping a pop may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform any of the methods of skipping a pop described above in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. A method of skipping a pop-up window, comprising:
after the target application creates the popup and before the target application displays the popup through a system built in the computer, acquiring text information in the popup to be displayed;
determining target operation for ending the popup window to be displayed according to the text information;
adjusting the execution sequence of the target operation to be before the popup window is displayed in a hook mode, and executing the target operation to end the popup window to be displayed before the popup window to be displayed is displayed;
and determining the target operation for ending the popup window to be displayed according to the text information, wherein the target operation comprises the following steps:
and determining the operation corresponding to the keyword included in the text information as a target operation according to the corresponding relation between the preset keyword and the operation.
2. The method according to claim 1, wherein the determining, according to the correspondence between the preset keywords and the operations, the operation corresponding to the keywords included in the text information as the target operation includes:
and determining an operation corresponding to the keyword included in the text information as a target operation according to a corresponding relation between the keyword and the operation preset for the target application, wherein the target application is an application for creating the popup window to be displayed.
3. The method of claim 1, wherein the determining, according to the text information, a target operation for ending the popup window to be displayed comprises:
carrying out semantic analysis on the text information to obtain semantic information;
and determining target operation for ending the popup window to be displayed according to the semantic information.
4. A method according to any one of claims 1-3, wherein prior to said obtaining text information in the popup window to be displayed, the method further comprises:
determining whether a target application for creating a popup to be displayed is a white list application;
if yes, executing the step of acquiring the text information in the popup window to be displayed;
and if not, displaying the popup window to be displayed.
5. The method of claim 4, wherein prior to the obtaining text information in the popup window to be displayed, the method further comprises:
determining whether a preset global switch is turned on;
if yes, executing the step of acquiring the text information in the popup window to be displayed;
and if not, displaying the popup window to be displayed.
6. A device for skipping a pop-up window, comprising:
the character information acquisition module is used for acquiring character information in the popup to be displayed after the popup is created by the target application and before the popup is displayed by the target application through a system built in the computer;
the target operation determining module is used for determining target operation for ending the popup window to be displayed according to the text information;
the target operation execution module is used for adjusting the execution sequence of target operations to be before the popup window is displayed in a hook mode, and executing the target operations to end the popup window to be displayed before the popup window to be displayed is displayed;
the target operation determining module determines a target operation for ending the popup window to be displayed according to the text information, and the target operation determining module comprises the following steps:
and determining the operation corresponding to the keyword included in the text information as a target operation according to the corresponding relation between the preset keyword and the operation.
7. The apparatus of claim 6, wherein the target operation determining module determines, as the target operation, an operation corresponding to a keyword included in the text information according to a correspondence between a preset keyword and the operation, including:
and determining an operation corresponding to the keyword included in the text information as a target operation according to a corresponding relation between the keyword and the operation preset for the target application, wherein the target application is an application for creating the popup window to be displayed.
8. The apparatus of claim 6, wherein the target operation determining module determines, according to the text information, a target operation for ending the popup window to be presented, comprising:
carrying out semantic analysis on the text information to obtain semantic information;
and determining target operation for ending the popup window to be displayed according to the semantic information.
9. The apparatus according to any of claims 6-8, wherein the apparatus further comprises a whitelist module for determining whether a target application for creating a popup to be presented is a whitelist application;
if yes, driving the text information acquisition module to execute the step of acquiring the text information in the popup window to be displayed;
and if not, displaying the popup window to be displayed.
10. The apparatus of claim 9, wherein the apparatus further comprises a global switch module to determine whether a preset global switch is on;
if yes, driving the text information acquisition module to execute the step of acquiring the text information in the popup window to be displayed;
and if not, displaying the popup window to be displayed.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202110694547.6A 2021-06-22 2021-06-22 Method and device for skipping popup window and electronic equipment Active CN113448668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110694547.6A CN113448668B (en) 2021-06-22 2021-06-22 Method and device for skipping popup window and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110694547.6A CN113448668B (en) 2021-06-22 2021-06-22 Method and device for skipping popup window and electronic equipment

Publications (2)

Publication Number Publication Date
CN113448668A CN113448668A (en) 2021-09-28
CN113448668B true CN113448668B (en) 2023-09-29

Family

ID=77812240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110694547.6A Active CN113448668B (en) 2021-06-22 2021-06-22 Method and device for skipping popup window and electronic equipment

Country Status (1)

Country Link
CN (1) CN113448668B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889518A (en) * 1995-10-10 1999-03-30 Anysoft Ltd. Apparatus for and method of acquiring, processing and routing data contained in a GUI window
CN103034800A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Device and method for intercepting pop-up windows
CN104252477A (en) * 2013-06-27 2014-12-31 贝壳网际(北京)安全技术有限公司 Method and device for controlling webpage pop-up window
CN105573911A (en) * 2015-12-10 2016-05-11 北京奇虎科技有限公司 Application popup window processing method and apparatus
CN106649417A (en) * 2015-11-04 2017-05-10 珠海市君天电子科技有限公司 Window interception method and device
WO2018227899A1 (en) * 2017-06-14 2018-12-20 北京小米移动软件有限公司 Application interaction method, interaction method and device
CN109753425A (en) * 2017-11-06 2019-05-14 腾讯科技(深圳)有限公司 Pop-up processing method and processing device
CN111258914A (en) * 2020-02-26 2020-06-09 广州虎牙科技有限公司 Popup window processing method, device and equipment for automatic case test and storage medium
CN111597008A (en) * 2020-05-22 2020-08-28 广州酷狗计算机科技有限公司 Popup management method, popup management device, terminal and storage medium
CN112286781A (en) * 2019-07-23 2021-01-29 百度时代网络技术(北京)有限公司 Automatic testing method, device, equipment and storage medium
CN112800337A (en) * 2021-02-08 2021-05-14 联想(北京)有限公司 Information processing method and device, electronic equipment and computer storage medium
CN112804553A (en) * 2020-10-30 2021-05-14 上海酷量信息技术有限公司 System and method for guiding user by using popup

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889518A (en) * 1995-10-10 1999-03-30 Anysoft Ltd. Apparatus for and method of acquiring, processing and routing data contained in a GUI window
CN103034800A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Device and method for intercepting pop-up windows
CN104252477A (en) * 2013-06-27 2014-12-31 贝壳网际(北京)安全技术有限公司 Method and device for controlling webpage pop-up window
CN106649417A (en) * 2015-11-04 2017-05-10 珠海市君天电子科技有限公司 Window interception method and device
CN105573911A (en) * 2015-12-10 2016-05-11 北京奇虎科技有限公司 Application popup window processing method and apparatus
WO2018227899A1 (en) * 2017-06-14 2018-12-20 北京小米移动软件有限公司 Application interaction method, interaction method and device
CN109753425A (en) * 2017-11-06 2019-05-14 腾讯科技(深圳)有限公司 Pop-up processing method and processing device
CN112286781A (en) * 2019-07-23 2021-01-29 百度时代网络技术(北京)有限公司 Automatic testing method, device, equipment and storage medium
CN111258914A (en) * 2020-02-26 2020-06-09 广州虎牙科技有限公司 Popup window processing method, device and equipment for automatic case test and storage medium
CN111597008A (en) * 2020-05-22 2020-08-28 广州酷狗计算机科技有限公司 Popup management method, popup management device, terminal and storage medium
CN112804553A (en) * 2020-10-30 2021-05-14 上海酷量信息技术有限公司 System and method for guiding user by using popup
CN112800337A (en) * 2021-02-08 2021-05-14 联想(北京)有限公司 Information processing method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN113448668A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN114861910B (en) Compression method, device, equipment and medium of neural network model
CN112527281B (en) Operator upgrading method and device based on artificial intelligence, electronic equipment and medium
KR20210088464A (en) Method and apparatus for processing voice interaction, electronic equipment, storage medium, and computer program product
CN114091589B (en) Model training method and device, electronic equipment and medium
CN114428902B (en) Information searching method, device, electronic equipment and storage medium
CN113448668B (en) Method and device for skipping popup window and electronic equipment
CN114881170B (en) Training method for neural network of dialogue task and dialogue task processing method
CN113554062B (en) Training method, device and storage medium for multi-classification model
CN115762503A (en) Vehicle-mounted voice system, vehicle-mounted voice autonomous learning method, device and medium
CN111783872B (en) Method, device, electronic equipment and computer readable storage medium for training model
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN113747423A (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN113900734B (en) Application program file configuration method, device, equipment and storage medium
CN113361575B (en) Model training method and device and electronic equipment
CN113535187B (en) Service online method, service updating method and service providing method
CN114690997B (en) Text display method and device, equipment, medium and product
CN116071422B (en) Method and device for adjusting brightness of virtual equipment facing meta-universe scene
CN113961263B (en) Applet distribution method, device, apparatus and storage medium
CN107886119B (en) Feature extraction method, application control method, device, medium and electronic equipment
CN116739136A (en) Data prediction method, device, electronic equipment and medium
CN116149875A (en) Scheduling method and device of cloud terminal, electronic equipment, storage medium and product
CN117196932A (en) Image processing method, device, equipment and medium
CN116991520A (en) Application program interface calling method, device, equipment and storage medium
CN117742711A (en) Low-code-oriented page rendering method and device, electronic equipment and storage medium
CN117131299A (en) Page layout method and device based on user

Legal Events

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