CN113687890B - Popup window management method, device and storage medium - Google Patents
Popup window management method, device and storage medium Download PDFInfo
- Publication number
- CN113687890B CN113687890B CN202110792145.XA CN202110792145A CN113687890B CN 113687890 B CN113687890 B CN 113687890B CN 202110792145 A CN202110792145 A CN 202110792145A CN 113687890 B CN113687890 B CN 113687890B
- Authority
- CN
- China
- Prior art keywords
- pop
- window
- target
- terminal device
- management
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例提供一种弹窗管理方法、装置及存储介质,涉及计算机技术领域,方法包括:终端设备记录目标用户对弹窗的操作信息;终端设备向服务器发送操作信息;操作信息用于服务器得到多个第一对应关系;终端设备向服务器发送弹窗管理请求;服务器根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;服务器向终端设备发送目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备拦截目标弹窗。第一对应关系从一定程度上反映了目标用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合目标用户的需求,从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。
The embodiment of the present application provides a pop-up window management method, device, and storage medium, which relate to the field of computer technology. The method includes: the terminal device records the operation information of the target user on the pop-up window; the terminal device sends the operation information to the server; the operation information is sent to the server Multiple first correspondences are obtained; the terminal device sends a pop-up window management request to the server; the server determines the target management policy corresponding to the feature information of the target pop-up window according to the multiple first correspondences; the server sends the target management policy to the terminal device; The target management policy is used to instruct the target pop-up window to be intercepted, and the terminal device intercepts the target pop-up window. The first correspondence reflects the target user's preference for pop-up windows to a certain extent. Therefore, the management strategy for pop-up windows determined according to the multiple first correspondences can better meet the needs of the target user, thereby reducing the number of pop-up windows displayed by the terminal device. The pop-up window interferes with the target user's use of the terminal device.
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种弹窗管理方法、装置及存储介质。The present application relates to the field of computer technology, and in particular to a pop-up window management method, device and storage medium.
背景技术Background technique
弹窗是指打开网页、打开应用程序、浏览网页以及运行应用程序等的时候弹出的窗口,弹窗可以显示推广信息,也可以显示快速进入应用程序的快捷链接。A pop-up window refers to a window that pops up when a web page is opened, an application is opened, a web page is browsed, an application is run, etc. The pop-up window can display promotional information or a shortcut link to quickly enter the application.
随着网页浏览量的增加以及应用程序的增多,可能产生大量的弹窗,较多的弹窗的显示会对用户使用终端设备造成干扰。With the increase of the number of web page views and the increase of application programs, a large number of pop-up windows may be generated, and the display of many pop-up windows will interfere with the user's use of the terminal device.
发明内容Contents of the invention
本申请实施例提供一种弹窗管理方法、装置及存储介质,涉及计算机技术领域,有助于减少弹窗的显示对用户使用终端设备的干扰。Embodiments of the present application provide a pop-up window management method, device, and storage medium, which relate to the field of computer technology and help reduce the interference of pop-up window display on users using terminal equipment.
第一方面,本申请实施例提供一种弹窗管理方法,应用于弹窗管理系统,该弹窗管理系统包括服务器和终端设备;该方法包括:终端设备记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备向服务器发送第一操作信息;第一操作信息用于服务器得到多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;终端设备获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备向服务器发送弹窗管理请求;弹窗管理请求用于服务器确定目标弹窗的管理策略;弹窗管理请求包括目标用户的账户标识以及目标弹窗的特征信息;服务器根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;服务器向终端设备发送目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备拦截目标弹窗。In the first aspect, the embodiment of the present application provides a pop-up window management method, which is applied to a pop-up window management system. The pop-up window management system includes a server and a terminal device; the method includes: the terminal device records the target user's first operation on the pop-up window Information; the first operation information includes: the target user's account identifier, the identifier of the pop-up window, the content displayed in the pop-up window, and the running time information of the pop-up window; the terminal device sends the first operation information to the server; the first operation information is used by the server to obtain A plurality of first correspondences; the first correspondence includes the correspondence between the feature information of the pop-up window and the management policy; the feature information of the pop-up window includes at least one of the logo of the pop-up window or the content displayed in the pop-up window; the terminal device Obtain a pop-up window request; the pop-up window request is used to request to start the target pop-up window; the terminal device sends a pop-up window management request to the server; the pop-up window management request is used for the server to determine the management policy of the target pop-up window; the pop-up window management request includes the account of the target user Identification and characteristic information of the target pop-up window; the server determines the target management strategy corresponding to the characteristic information of the target pop-up window according to multiple first correspondences; the server sends the target management strategy to the terminal device; the target management strategy is used to indicate the interception of the target pop-up window In the case of a window, the terminal device intercepts the target pop-up window.
本申请实施例中,服务器根据多个第一对应关系,确定终端设备中弹窗的管理策略,而该多个第一对应关系是基于该终端设备中目标用户对弹窗的第一操作信息分析得到的,目标用户对弹窗的第一操作信息从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合使用该终端设备的用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In the embodiment of the present application, the server determines the management strategy of the pop-up window in the terminal device according to multiple first correspondences, and the multiple first correspondences are based on the first operation information analysis of the pop-up window by the target user in the terminal device The obtained first operation information of the target user on the pop-up window reflects to a certain extent the preference of the user using the terminal device for the pop-up window, therefore, the management strategy of the pop-up window determined according to the multiple first correspondences is more effective. To meet the needs of users using the terminal device, the terminal device intercepts the pop-up windows in the first operation information that the target user is not interested in, thereby reducing the interference of the pop-up windows displayed by the terminal device on the target user's use of the terminal device.
可能的实现方式中,上述第一对应关系包括下述的一种或多种:第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。其中,预设关键字、预设图像特征或预设链接可以表征包括有害信息的特征,第二特征信息体现了第一操作信息中目标用户不感兴趣的弹窗的特征信息,第三特征信息体现了第一操作信息中目标用户感兴趣的弹窗的特征信息。这样,根据第一对应关系确定的目标管理策略更能符合目标用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备会拦截该弹窗,对于第一操作信息中目标用户感兴趣的弹窗,终端设备则允许其运行,对于包括有害信息的弹窗,终端设备拦截该弹窗。从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In a possible implementation, the above-mentioned first correspondence includes one or more of the following: the correspondence between the first feature information and the first management policy; the first management policy is used to indicate the interception of pop-up windows; the first feature The information includes one or more of preset keywords, preset image features, or preset links; or, account identification, correspondence between the second feature information and the first management strategy; the second feature information includes: The historical running time recorded in the first operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account identification, Correspondence between the third feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; Wherein, the second management policy is used to indicate that pop-up windows are allowed to run. Among them, the preset keywords, preset image features or preset links can represent features including harmful information, the second feature information reflects the feature information of pop-up windows that the target user is not interested in in the first operation information, and the third feature information reflects The feature information of the pop-up window that the target user is interested in in the first operation information is obtained. In this way, the target management strategy determined according to the first corresponding relationship can better meet the needs of the target user. For the pop-up window in the first operation information that the target user is not interested in, the terminal device will intercept the pop-up window. For the target user in the first operation information The terminal device allows the pop-up window of interest to run, and for the pop-up window containing harmful information, the terminal device intercepts the pop-up window. Therefore, the interference of the pop-up window displayed by the terminal device on the target user's use of the terminal device is reduced.
可能的实现方式中,上述服务器根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;包括:在服务器确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,服务器确定目标管理策略为第一管理策略。In a possible implementation, the above-mentioned server determines the target management strategy corresponding to the characteristic information of the target pop-up window according to the multiple first correspondences; including: determining the multiple first correspondences by the server includes the target management policy corresponding to the feature information of the target pop-up window In the case of the first management policy, the server determines that the target management policy is the first management policy.
可能的实现方式中,上述第一对应关系是服务器根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。In a possible implementation, the above-mentioned first correspondence is obtained by the server according to the pre-trained neural network model, and the neural network model is obtained by training based on the first sample data, and the first sample data is marked with the characteristic information of the pop-up window And the management strategy corresponding to the feature information of the pop-up window; the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可能的实现方式中,该方法还包括:在多个第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,服务器根据多个第二对应关系确定目标管理策略;多个第二对应关系是服务器根据第二操作信息得到的;第二操作信息为来自多个设备记录的使用设备的用户对弹窗的操作信息。这样,在第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,服务器还可以根据第二对应关系为目标弹窗确定目标管理策略。第二对应关系体现了大多数用户对弹窗的喜好,因而,对于大多数用户不感兴趣的弹窗,服务器为该弹窗确定的管理策略为用于拦截该弹窗的管理策略。从而减少了终端设备显示的弹窗对用户使用终端设备的干扰。In a possible implementation, the method further includes: in the case that the management policy corresponding to the characteristic information of the target pop-up window is not included in the multiple first correspondences, the server determines the target management policy according to the multiple second correspondences; The second correspondence is obtained by the server according to the second operation information; the second operation information is the operation information on the pop-up window recorded by the user using the device from multiple devices. In this way, if the first correspondence does not include the management policy corresponding to the characteristic information of the target pop-up window, the server may also determine the target management policy for the target pop-up window according to the second correspondence. The second correspondence reflects the preference of most users for pop-up windows. Therefore, for pop-up windows that most users are not interested in, the management policy determined by the server for the pop-up window is the management policy for blocking the pop-up window. Therefore, the interference of the pop-up window displayed by the terminal device on the user's use of the terminal device is reduced.
可能的实现方式中,第二对应关系包括下述的一种或多种:第四特征信息与第一管理策略的对应关系;第四特征信息包括:在弹窗拦截日志中的弹窗的标识;弹窗拦截日志为第二操作信息中记录的其他拦截工具对弹窗的拦截日志;其他拦截工具包括浏览器、系统或应用程序中的至少一种;第一管理策略用于指示拦截弹窗;或者,第五特征信息与第一管理策略之间的对应关系;第五特征信息包括:在第二操作信息中记录的目标数量在任一弹窗的日志数据的总数量中的占比小于或者等于预设阈值的任一弹窗的标识,目标数量为目标日志数据的数量;目标日志数据为:任一弹窗的历史运行时长大于或者等于预设时长的日志数据;或者,第六特征信息与第二管理策略之间的对应关系,第六特征信息包括:在第二操作信息中记录的占比大于预设阈值的任一弹窗的标识;第二管理策略用于指示允许运行弹窗。In a possible implementation, the second correspondence includes one or more of the following: the correspondence between the fourth characteristic information and the first management policy; the fourth characteristic information includes: the identification of the pop-up window in the pop-up blocking log ; The pop-up interception log is the interception log of the pop-up window by other interception tools recorded in the second operation information; other interception tools include at least one of the browser, system or application; the first management strategy is used to indicate the interception of the pop-up window ; Or, the correspondence between the fifth feature information and the first management strategy; the fifth feature information includes: the proportion of the number of targets recorded in the second operation information in the total amount of log data in any pop-up window is less than or The identification of any pop-up window equal to the preset threshold, the target number is the number of target log data; the target log data is: log data whose historical running time of any pop-up window is greater than or equal to the preset time length; or, the sixth characteristic information Corresponding relationship with the second management policy, the sixth characteristic information includes: the identification of any pop-up window recorded in the second operation information whose proportion is greater than the preset threshold; the second management policy is used to indicate that the pop-up window is allowed to run .
可能的实现方式中,该方法还包括:在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,终端设备拦截目标弹窗;终端设备向服务器发送目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息,发送的信息用于服务器更新多个第一对应关系。这样,更新后的多个第一对应关系更能符合目标用户对目标弹窗的真实喜好,根据第一对应关系确定的目标管理策略更能符合目标用户对弹窗的需求,减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In a possible implementation, the method further includes: when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device runs the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run In the case of a window, the terminal device displays the pop-up window prompt information and the control controls of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the target pop-up window to run, and the control controls include controls for receiving the permission to run the target pop-up window, and It is used to receive the control that does not allow the target pop-up window to run; when the terminal device receives the trigger for the control that does not allow the target pop-up window to run, the terminal device intercepts the target pop-up window; the terminal device sends the target user's account ID, target pop-up window to the server. The feature information of the window and the indication information used to indicate the interception target pop-up window, and the sent information is used for the server to update a plurality of first correspondences. In this way, the multiple first correspondences after the update can better meet the target user's real preferences for the target pop-up window, and the target management strategy determined according to the first correspondence relationship can better meet the target user's demand for the pop-up window, reducing the need for display on the terminal device. The pop-up window interferes with the target user's use of the terminal device.
第二方面,本申请实施例提供一种弹窗管理方法,应用于弹窗管理系统,弹窗管理系统包括服务器和终端设备;该方法包括:终端设备记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备向服务器发送第一操作信息;服务器根据第一操作信息确定多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;服务器向终端设备发送多个第一对应关系;终端设备获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备拦截目标弹窗。In the second aspect, the embodiment of the present application provides a pop-up window management method, which is applied to a pop-up window management system. The pop-up window management system includes a server and a terminal device; the method includes: the terminal device records the first operation information of the target user on the pop-up window ; The first operation information includes: the target user's account identification, the identification of the pop-up window, the content displayed in the pop-up window, and the running time information of the pop-up window; the terminal device sends the first operation information to the server; the server determines multiple The first correspondence; the first correspondence includes the correspondence between the feature information of the pop-up window and the management strategy; the feature information of the pop-up window includes at least one of the logo of the pop-up window or the content displayed in the pop-up window; the server sends the terminal device Send multiple first correspondences; the terminal device obtains a pop-up window request; the pop-up window request is used to request to start the target pop-up window; the terminal device determines the target management strategy corresponding to the feature information of the target pop-up window according to the multiple first correspondences; The target management policy is used to instruct the target pop-up window to be intercepted, and the terminal device intercepts the target pop-up window.
本申请实施例中,终端设备根据接收的多个第一对应关系,确定该终端设备中弹窗的管理策略,而该多个第一对应关系是基于该终端设备中目标用户对弹窗的第一操作信息分析得到的,目标用户对弹窗的第一操作信息从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合使用该终端设备的用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In the embodiment of the present application, the terminal device determines the management policy of the pop-up window in the terminal device according to the received multiple first correspondences, and the multiple first correspondences are based on the first number of pop-up windows received by the target user in the terminal device. According to the analysis of the operation information, the first operation information of the target user on the pop-up window reflects to a certain extent the preference of the user using the terminal device for the pop-up window. The management strategy can better meet the needs of users who use the terminal device. For the pop-up window in the first operation information that the target user is not interested in, the terminal device will intercept the pop-up window, thereby reducing the impact of the pop-up window displayed on the terminal device on the target user. device interference.
可能的实现方式中,第一对应关系包括下述的一种或多种:第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,该链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。其中,预设关键字、预设图像特征或预设链接可以表征包括有害信息的特征,第二特征信息体现了第一操作信息中目标用户不感兴趣的弹窗的特征信息,第三特征信息体现了第一操作信息中目标用户感兴趣的弹窗的特征信息。这样,根据第一对应关系确定的目标管理策略更能符合目标用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备会拦截该弹窗,对于第一操作信息中目标用户感兴趣的弹窗,终端设备则允许其运行,对于包括有害信息的弹窗,终端设备拦截该弹窗。从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In a possible implementation, the first correspondence includes one or more of the following: a correspondence between the first feature information and the first management policy; the first management policy is used to indicate the interception of pop-up windows; the first feature information Including one or more of preset keywords, preset image features or preset links; or, account identification, correspondence between the second feature information and the first management strategy; the second feature information includes: The historical running time recorded in the operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account identification, Correspondence between the third feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; Wherein, the second management policy is used to indicate that pop-up windows are allowed to run. Among them, the preset keywords, preset image features or preset links can represent features including harmful information, the second feature information reflects the feature information of pop-up windows that the target user is not interested in in the first operation information, and the third feature information reflects The feature information of the pop-up window that the target user is interested in in the first operation information is obtained. In this way, the target management strategy determined according to the first corresponding relationship can better meet the needs of the target user. For the pop-up window in the first operation information that the target user is not interested in, the terminal device will intercept the pop-up window. For the target user in the first operation information The terminal device allows the pop-up window of interest to run, and for the pop-up window containing harmful information, the terminal device intercepts the pop-up window. Therefore, the interference of the pop-up window displayed by the terminal device on the target user's use of the terminal device is reduced.
可能的实现方式中,终端设备根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;包括:在终端设备确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,终端设备确定目标管理策略为第一管理策略。In a possible implementation, the terminal device determines the target management strategy corresponding to the feature information of the target pop-up window according to the multiple first correspondences; including: determining the multiple first correspondences of the terminal device includes the corresponding feature information of the target pop-up window In the case of the first management policy, the terminal device determines that the target management policy is the first management policy.
可能的实现方式中,第一对应关系是服务器根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。In a possible implementation, the first corresponding relationship is obtained by the server according to the pre-trained neural network model, and the neural network model is obtained by training based on the first sample data, which is marked with the feature information of the pop-up window and The management strategy corresponding to the characteristic information of the pop-up window; the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可能的实现方式中,该方法还包括:在多个第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,终端设备根据多个第二对应关系确定目标管理策略;多个第二对应关系是服务器根据第二操作信息得到的;第二操作信息为来自多个设备记录的使用设备的用户对弹窗的操作信息。这样,在第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,终端设备还可以根据第二对应关系为目标弹窗确定目标管理策略。第二对应关系体现了大多数用户对弹窗的喜好,因而,对于大多数用户不感兴趣的弹窗,终端设备为该弹窗确定的管理策略为用于拦截该弹窗的管理策略。从而减少了终端设备显示的弹窗对用户使用终端设备的干扰。In a possible implementation, the method further includes: in the case that the multiple first correspondences do not include the management policy corresponding to the characteristic information of the target pop-up window, the terminal device determines the target management policy according to the multiple second correspondences; The second corresponding relationship is obtained by the server according to the second operation information; the second operation information is the operation information on the pop-up window recorded by the user using the device from multiple devices. In this way, if the first correspondence does not include the management policy corresponding to the characteristic information of the target pop-up window, the terminal device may also determine the target management policy for the target pop-up window according to the second correspondence. The second correspondence reflects the preference of most users for pop-up windows. Therefore, for pop-up windows that most users are not interested in, the management strategy determined by the terminal device for the pop-up window is the management strategy for blocking the pop-up window. Therefore, the interference of the pop-up window displayed by the terminal device on the user's use of the terminal device is reduced.
可能的实现方式中,第二对应关系包括下述的一种或多种:第四特征信息与第一管理策略的对应关系;第四特征信息包括:在弹窗拦截日志中的弹窗的标识;弹窗拦截日志为第二操作信息中记录的其他拦截工具对弹窗的拦截日志;其他拦截工具包括浏览器、系统或应用程序中的至少一种;第一管理策略用于指示拦截弹窗;或者,第五特征信息与第一管理策略之间的对应关系;第五特征信息包括:在第二操作信息中记录的目标数量在任一弹窗的日志数据的总数量中的占比小于或者等于预设阈值的任一弹窗的标识,目标数量为目标日志数据的数量;目标日志数据为:任一弹窗的历史运行时长大于或者等于预设时长的日志数据;或者,第六特征信息与第二管理策略之间的对应关系,第六特征信息包括:在第二操作信息中记录的占比大于预设阈值的任一弹窗的标识;第二管理策略用于指示允许运行弹窗。In a possible implementation, the second correspondence includes one or more of the following: the correspondence between the fourth characteristic information and the first management policy; the fourth characteristic information includes: the identification of the pop-up window in the pop-up blocking log ; The pop-up interception log is the interception log of the pop-up window by other interception tools recorded in the second operation information; other interception tools include at least one of the browser, system or application; the first management strategy is used to indicate the interception of the pop-up window ; Or, the correspondence between the fifth feature information and the first management strategy; the fifth feature information includes: the proportion of the number of targets recorded in the second operation information in the total amount of log data in any pop-up window is less than or The identification of any pop-up window equal to the preset threshold, the target number is the number of target log data; the target log data is: log data whose historical running time of any pop-up window is greater than or equal to the preset time length; or, the sixth characteristic information Corresponding relationship with the second management policy, the sixth characteristic information includes: the identification of any pop-up window recorded in the second operation information whose proportion is greater than the preset threshold; the second management policy is used to indicate that the pop-up window is allowed to run .
可能的实现方式中,该方法还包括:在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,终端设备拦截目标弹窗;终端设备根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系。这样,更新后的多个第一对应关系更能符合目标用户对目标弹窗的真实喜好,根据第一对应关系确定的目标管理策略更能符合目标用户对弹窗的需求,减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In a possible implementation, the method further includes: when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device runs the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run In the case of a window, the terminal device displays the pop-up window prompt information and the control controls of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the target pop-up window to run, and the control controls include controls for receiving the permission to run the target pop-up window, and It is used to receive the control that does not allow the target pop-up window to run; when the terminal device receives the trigger for the control that is not allowed to run the target pop-up window, the terminal device intercepts the target pop-up window; the terminal device intercepts the target pop-up window according to the target user's account ID and The feature information and the indication information used to indicate the interception target pop-up window update a plurality of first correspondences. In this way, the multiple first correspondences after the update can better meet the target user's real preferences for the target pop-up window, and the target management strategy determined according to the first correspondence relationship can better meet the target user's demand for the pop-up window, reducing the need for display on the terminal device. The pop-up window interferes with the target user's use of the terminal device.
可能的实现方式中,上述第一对应关系是服务器根据预先训练的神经网络模型得到的情况下,终端设备根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系,包括:终端设备根据第二样本数据更新神经网络模型;第二样本数据中标注有目标弹窗的特征信息以及用于指示拦截目标弹窗的管理策略;更新后的神经网络模型的输入为目标弹窗的特征信息的情况下,更新后的神经网络模型的输出为用于指示拦截目标弹窗的管理策略。In a possible implementation, the above-mentioned first correspondence is obtained by the server according to the pre-trained neural network model, and the terminal device according to the account identifier of the target user, the characteristic information of the target pop-up window and the instruction for intercepting the target pop-up window The information updates a plurality of first corresponding relationships, including: the terminal device updates the neural network model according to the second sample data; the second sample data is marked with the characteristic information of the target pop-up window and the management strategy used to indicate the interception of the target pop-up window; after the update When the input of the neural network model is the characteristic information of the target pop-up window, the output of the updated neural network model is a management strategy for instructing to intercept the target pop-up window.
第三方面,本申请实施例提供一种弹窗管理方法,应用于终端设备,该方法包括:终端设备记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备根据第一操作信息确定多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;终端设备获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备拦截目标弹窗。In the third aspect, the embodiment of the present application provides a pop-up window management method, which is applied to a terminal device. The method includes: the terminal device records the first operation information of the target user on the pop-up window; the first operation information includes: the target user's account identifier , the identification of the pop-up window, the content displayed on the pop-up window, and the running time information of the pop-up window; the terminal device determines a plurality of first correspondences according to the first operation information; the first correspondence includes the characteristic information of the pop-up window and the management strategy Correspondence; the characteristic information of the pop-up window includes at least one of the identification of the pop-up window or the content displayed in the pop-up window; the terminal device obtains the pop-up window request; the pop-up window request is used to request to start the target pop-up window; the terminal device according to multiple first The corresponding relationship determines the target management policy corresponding to the characteristic information of the target pop-up window; when the target management policy is used to indicate interception of the target pop-up window, the terminal device intercepts the target pop-up window.
本申请实施例中,终端设备记录目标用户对弹窗的第一操作信息,并根据第一操作信息确定多个第一对应关系,终端设备可以根据该多个第一对应关系确定目标弹窗的目标管理策略,第一对应关系从一定程度上反映了使用该终端设备的目标用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合目标用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。In the embodiment of the present application, the terminal device records the first operation information of the target user on the pop-up window, and determines a plurality of first correspondences according to the first operation information, and the terminal device can determine the target pop-up window according to the multiple first correspondences. In the target management strategy, the first correspondence reflects the preferences of the target user using the terminal device for pop-up windows to a certain extent. Therefore, the management strategy for pop-up windows determined according to the multiple first correspondences can better meet the target user's preferences. Requirement, for a pop-up window in the first operation information that the target user is not interested in, the terminal device will intercept the pop-up window, thereby reducing the interference of the pop-up window displayed by the terminal device on the target user's use of the terminal device.
可能的实现方式中,第一对应关系包括下述的一种或多种:账户标识、第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。In a possible implementation, the first corresponding relationship includes one or more of the following: the corresponding relationship between the account identifier, the first feature information, and the first management strategy; the first management strategy is used to instruct to block pop-up windows; The feature information includes one or more of preset keywords, preset image features, or preset links; or, the account identifier, the correspondence between the second feature information and the first management strategy; the second feature information includes : The historical running time recorded in the first operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account The corresponding relationship between the identification, the third characteristic information and the second management strategy; the third characteristic information includes: the historical operation duration recorded in the first operation information is greater than or equal to the preset duration, and includes the control or link pop-up window Identification; wherein, the second management policy is used to indicate that pop-up windows are allowed to run.
可能的实现方式中,终端设备根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;包括:在终端设备确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,终端设备确定目标管理策略为第一管理策略,或者,在终端设备确定多个第一对应关系中不包括目标弹窗的特征信息对应的第一管理策略的情况下,终端设备确定目标管理策略为第二管理策略。In a possible implementation, the terminal device determines the target management strategy corresponding to the feature information of the target pop-up window according to the multiple first correspondences; including: determining the multiple first correspondences of the terminal device includes the corresponding feature information of the target pop-up window In the case of the first management policy, the terminal device determines that the target management policy is the first management policy, or, when the terminal device determines that the multiple first correspondences do not include the first management policy corresponding to the characteristic information of the target pop-up window Next, the terminal device determines the target management policy as the second management policy.
可能的实现方式中,第一对应关系是终端设备根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。In a possible implementation, the first corresponding relationship is obtained by the terminal device according to the pre-trained neural network model, and the neural network model is obtained by training based on the first sample data, which is marked with the characteristic information of the pop-up window And the management strategy corresponding to the feature information of the pop-up window; the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可能的实现方式中,该方法还包括:在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,终端设备拦截目标弹窗;终端设备根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系。这样,用于指示拦截目标弹窗的指示信息更直接的给出了目标用户对目标弹窗的喜好,因此,根据更新后的第一关系确定的弹窗的管理策略更能符合目标用户的需求,从而减少了终端设备中弹窗的出现对目标用户使用终端设备造成的干扰。In a possible implementation, the method further includes: when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device runs the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run In the case of a window, the terminal device displays the pop-up window prompt information and the control controls of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the target pop-up window to run, and the control controls include controls for receiving the permission to run the target pop-up window, and It is used to receive the control that does not allow the target pop-up window to run; when the terminal device receives the trigger for the control that is not allowed to run the target pop-up window, the terminal device intercepts the target pop-up window; the terminal device intercepts the target pop-up window according to the target user's account ID and The feature information and the indication information used to indicate the interception target pop-up window update a plurality of first correspondences. In this way, the instruction information used to indicate the interception of the target pop-up window more directly gives the target user's preferences for the target pop-up window, therefore, the management strategy of the pop-up window determined according to the updated first relationship can better meet the needs of the target user , thereby reducing the interference caused by the appearance of pop-up windows in the terminal device to the use of the terminal device by the target user.
第四方面,本申请实施例提供一种弹窗管理系统,该弹窗管理系统包括服务器和终端设备;其中,终端设备用于记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备还用于向服务器发送第一操作信息;第一操作信息用于服务器得到多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;终端设备用于获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备用于向服务器发送弹窗管理请求;弹窗管理请求用于服务器确定目标弹窗的管理策略;弹窗管理请求包括目标用户的账户标识以及目标弹窗的特征信息;服务器用于根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;服务器还用于向终端设备发送目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备用于拦截目标弹窗。In the fourth aspect, the embodiment of the present application provides a pop-up window management system, the pop-up window management system includes a server and a terminal device; wherein, the terminal device is used to record the first operation information of the target user on the pop-up window; the first operation information includes : The target user's account ID, the ID of the pop-up window, the content displayed in the pop-up window, and the running time information of the pop-up window; the terminal device is also used to send the first operation information to the server; the first operation information is used for the server to obtain multiple first Correspondence; the first correspondence includes the correspondence between the feature information of the pop-up window and the management strategy; the feature information of the pop-up window includes at least one of the logo of the pop-up window or the content displayed in the pop-up window; the terminal device is used to obtain the pop-up window Window request; the pop-up request is used to request to start the target pop-up window; the terminal device is used to send the pop-up window management request to the server; the pop-up window management request is used for the server to determine the management strategy of the target pop-up window; the pop-up window management request includes the account of the target user The identification and the feature information of the target pop-up window; the server is used to determine the target management policy corresponding to the feature information of the target pop-up window according to multiple first correspondences; the server is also used to send the target management policy to the terminal device; In the case of an instruction to intercept the target pop-up window, the terminal device is used to intercept the target pop-up window.
可选的,上述第一对应关系包括下述的一种或多种:第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。其中,预设关键字、预设图像特征或预设链接可以表征包括有害信息的特征,第二特征信息体现了第一操作信息中目标用户不感兴趣的弹窗的特征信息,第三特征信息体现了第一操作信息中目标用户感兴趣的弹窗的特征信息。这样,根据第一对应关系确定的目标管理策略更能符合目标用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备会拦截该弹窗,对于第一操作信息中目标用户感兴趣的弹窗,终端设备则允许其运行,对于包括有害信息的弹窗,终端设备拦截该弹窗。从而减少了终端设备显示的弹窗对目标用户使用终端设备的干扰。Optionally, the above-mentioned first correspondence includes one or more of the following: a correspondence between the first feature information and the first management policy; the first management policy is used to indicate the interception of pop-up windows; the first feature information includes One or more of preset keywords, preset image features, or preset links; or, the corresponding relationship between account identifiers, second feature information, and first management policies; the second feature information includes: The historical running time recorded in the operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account identification, the third The corresponding relationship between the feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; wherein, The second management policy is used to indicate that the pop-up window is allowed to run. Among them, the preset keywords, preset image features or preset links can represent features including harmful information, the second feature information reflects the feature information of pop-up windows that the target user is not interested in in the first operation information, and the third feature information reflects The feature information of the pop-up window that the target user is interested in in the first operation information is obtained. In this way, the target management strategy determined according to the first corresponding relationship can better meet the needs of the target user. For the pop-up window in the first operation information that the target user is not interested in, the terminal device will intercept the pop-up window. For the target user in the first operation information The terminal device allows the pop-up window of interest to run, and for the pop-up window containing harmful information, the terminal device intercepts the pop-up window. Therefore, the interference of the pop-up window displayed by the terminal device on the target user's use of the terminal device is reduced.
可选的,在服务器确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,服务器用于确定目标管理策略为第一管理策略。Optionally, when the server determines the first management policy corresponding to the characteristic information of the target pop-up window among the multiple first correspondences, the server is configured to determine the target management policy as the first management policy.
可选的,上述第一对应关系是服务器根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。Optionally, the above-mentioned first corresponding relationship is obtained by the server according to the pre-trained neural network model. The neural network model is obtained by training based on the first sample data. The management strategy corresponding to the feature information of the window; the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可选的,在多个第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,服务器用于根据多个第二对应关系确定目标管理策略;多个第二对应关系是服务器根据第二操作信息得到的;第二操作信息为来自多个设备记录的使用设备的用户对弹窗的操作信息。Optionally, when the multiple first correspondences do not include the management policy corresponding to the characteristic information of the target pop-up window, the server is configured to determine the target management policy according to the multiple second correspondences; the multiple second correspondences are The server obtains according to the second operation information; the second operation information is the operation information on the pop-up window recorded by the user using the device from multiple devices.
可选的,第二对应关系包括下述的一种或多种:第四特征信息与第一管理策略的对应关系;第四特征信息包括:在弹窗拦截日志中的弹窗的标识;弹窗拦截日志为第二操作信息中记录的其他拦截工具对弹窗的拦截日志;其他拦截工具包括浏览器、系统或应用程序中的至少一种;第一管理策略用于指示拦截弹窗;或者,第五特征信息与第一管理策略之间的对应关系;第五特征信息包括:在第二操作信息中记录的目标数量在任一弹窗的日志数据的总数量中的占比小于或者等于预设阈值的任一弹窗的标识,目标数量为目标日志数据的数量;目标日志数据为:任一弹窗的历史运行时长大于或者等于预设时长的日志数据;或者,第六特征信息与第二管理策略之间的对应关系,第六特征信息包括:在第二操作信息中记录的占比大于预设阈值的任一弹窗的标识;第二管理策略用于指示允许运行弹窗。Optionally, the second correspondence includes one or more of the following: the correspondence between the fourth feature information and the first management strategy; the fourth feature information includes: the identification of the pop-up window in the pop-up interception log; The window interception log is the interception log of other interception tools for pop-up windows recorded in the second operation information; other interception tools include at least one of browser, system or application program; the first management policy is used to instruct interception of pop-up windows; or , the corresponding relationship between the fifth feature information and the first management strategy; the fifth feature information includes: the proportion of the number of targets recorded in the second operation information in the total amount of log data of any pop-up window is less than or equal to the preset The identification of any pop-up window with a threshold value, the target number is the number of target log data; the target log data is: the log data whose historical running time of any pop-up window is greater than or equal to the preset duration; or, the sixth characteristic information and the first The corresponding relationship between the two management policies, the sixth feature information includes: the identification of any pop-up window recorded in the second operation information whose proportion is greater than the preset threshold; the second management policy is used to indicate that the pop-up window is allowed to run.
可选的,在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备用于运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备用于显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,终端设备用于拦截目标弹窗;终端设备还用于向服务器发送目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息,发送的信息用于服务器更新多个第一对应关系。Optionally, when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device is used to run the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run, The terminal device is used to display the pop-up window prompt information and the control control of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the target pop-up window to run, and the control controls include controls for receiving the target pop-up window allowed to run, and for receiving Controls that are not allowed to run the target pop-up window; when the terminal device receives a trigger for a control that is not allowed to run the target pop-up window, the terminal device is used to intercept the target pop-up window; the terminal device is also used to send the target user’s account ID, The characteristic information of the target pop-up window and the indication information for indicating interception of the target pop-up window, the information sent is used for the server to update the plurality of first correspondences.
第五方面,本申请实施例提供一种弹窗管理系统,弹窗管理系统包括服务器和终端设备;终端设备用于记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备还用于向服务器发送第一操作信息;服务器用于根据第一操作信息确定多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;服务器用于向终端设备发送多个第一对应关系;终端设备还用于获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备用于根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备用于拦截目标弹窗。In the fifth aspect, the embodiment of the present application provides a pop-up window management system. The pop-up window management system includes a server and a terminal device; the terminal device is used to record the first operation information of the target user on the pop-up window; the first operation information includes: the target user The account identifier of the pop-up window, the pop-up window display content, and the running time information of the pop-up window; the terminal device is also used to send the first operation information to the server; the server is used to determine multiple first correspondences according to the first operation information The first correspondence includes the correspondence between the feature information of the pop-up window and the management strategy; the feature information of the pop-up window includes at least one of the logo of the pop-up window or the content displayed in the pop-up window; the server is used to send multiple a first correspondence relationship; the terminal device is also used to obtain a pop-up window request; the pop-up window request is used to request to start the target pop-up window; the terminal device is used to determine the target management corresponding to the feature information of the target pop-up window according to multiple first correspondence relationships Policy; in the case where the target management policy is used to indicate to intercept the target pop-up window, the terminal device is used to block the target pop-up window.
可选的,第一对应关系包括下述的一种或多种:第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,该链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。Optionally, the first correspondence includes one or more of the following: a correspondence between the first feature information and the first management policy; the first management policy is used to indicate interception of pop-up windows; the first feature information includes preset Set one or more of keywords, preset image features, or preset links; or, account identification, correspondence between the second feature information and the first management strategy; the second feature information includes: The historical running time recorded in the information is less than the preset time, and includes the identification of the pop-up window of the control or link, where the control is a control with adjustment or link function, and the link is different from the preset link; or, account identification, third party The corresponding relationship between the feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; wherein, The second management policy is used to indicate that the pop-up window is allowed to run.
可选的,终端设备具体用于:在终端设备确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,确定目标管理策略为第一管理策略。Optionally, the terminal device is specifically configured to: determine that the target management policy is the first management policy when the terminal device determines the first management policy corresponding to the characteristic information of the target pop-up window among the plurality of first correspondences.
可选的,第一对应关系是服务器根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。Optionally, the first correspondence is obtained by the server according to the pre-trained neural network model, and the neural network model is obtained by training based on the first sample data, which is marked with the characteristic information of the pop-up window and the pop-up window The management strategy corresponding to the characteristic information of the neural network model; the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可选的,在多个第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,终端设备用于根据多个第二对应关系确定目标管理策略;多个第二对应关系是服务器根据第二操作信息得到的;第二操作信息为来自多个设备记录的使用设备的用户对弹窗的操作信息。Optionally, when the multiple first correspondences do not include the management policy corresponding to the characteristic information of the target pop-up window, the terminal device is configured to determine the target management policy according to the multiple second correspondences; the multiple second correspondences It is obtained by the server according to the second operation information; the second operation information is the operation information on the pop-up window recorded by the user using the device from multiple devices.
可选的,第二对应关系包括下述的一种或多种:第四特征信息与第一管理策略的对应关系;第四特征信息包括:在弹窗拦截日志中的弹窗的标识;弹窗拦截日志为第二操作信息中记录的其他拦截工具对弹窗的拦截日志;其他拦截工具包括浏览器、系统或应用程序中的至少一种;第一管理策略用于指示拦截弹窗;或者,第五特征信息与第一管理策略之间的对应关系;第五特征信息包括:在第二操作信息中记录的目标数量在任一弹窗的日志数据的总数量中的占比小于或者等于预设阈值的任一弹窗的标识,目标数量为目标日志数据的数量;目标日志数据为:任一弹窗的历史运行时长大于或者等于预设时长的日志数据;或者,第六特征信息与第二管理策略之间的对应关系,第六特征信息包括:在第二操作信息中记录的占比大于预设阈值的任一弹窗的标识;第二管理策略用于指示允许运行弹窗。Optionally, the second correspondence includes one or more of the following: the correspondence between the fourth feature information and the first management strategy; the fourth feature information includes: the identification of the pop-up window in the pop-up interception log; The window interception log is the interception log of other interception tools for pop-up windows recorded in the second operation information; other interception tools include at least one of browser, system or application program; the first management strategy is used to instruct interception of pop-up windows; or , the corresponding relationship between the fifth feature information and the first management strategy; the fifth feature information includes: the proportion of the number of targets recorded in the second operation information in the total amount of log data of any pop-up window is less than or equal to the preset The identification of any pop-up window with a threshold value, the target number is the number of target log data; the target log data is: the log data whose historical running time of any pop-up window is greater than or equal to the preset duration; or, the sixth characteristic information and the first The corresponding relationship between the two management policies, the sixth feature information includes: the identification of any pop-up window recorded in the second operation information whose proportion is greater than the preset threshold; the second management policy is used to indicate that the pop-up window is allowed to run.
可选的,在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备用于运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备用于显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,终端设备用于拦截目标弹窗;终端设备还用于根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系。Optionally, when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device is used to run the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run, The terminal device is used to display the pop-up window prompt information and the control control of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the target pop-up window to run, and the control controls include controls for receiving the target pop-up window allowed to run, and for receiving Controls that are not allowed to run target pop-up windows; when the terminal device receives a trigger for controls that are not allowed to run target pop-up windows, the terminal device is used to intercept the target pop-up window; the terminal device is also used to The feature information of the window and the indication information used to indicate the interception target pop-up window update the plurality of first correspondences.
可选的,上述第一对应关系是服务器根据预先训练的神经网络模型得到的情况下,终端设备用于根据第二样本数据更新神经网络模型;第二样本数据中标注有目标弹窗的特征信息以及用于指示拦截目标弹窗的管理策略;更新后的神经网络模型的输入为目标弹窗的特征信息的情况下,更新后的神经网络模型的输出为用于指示拦截目标弹窗的管理策略。Optionally, the above-mentioned first correspondence is obtained by the server according to the pre-trained neural network model, and the terminal device is used to update the neural network model according to the second sample data; the second sample data is marked with the characteristic information of the target pop-up window And the management strategy used to indicate the interception of the target pop-up window; when the input of the updated neural network model is the characteristic information of the target pop-up window, the output of the updated neural network model is the management strategy used to indicate the interception of the target pop-up window .
第六方面,本申请实施例提供一种终端设备,该终端设备包括处理单元,处理单元用于记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;处理单元用于根据第一操作信息确定多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;处理单元用于获取弹窗请求;弹窗请求用于请求启动目标弹窗;处理单元用于根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,处理单元还用于拦截目标弹窗。In the sixth aspect, the embodiment of the present application provides a terminal device, the terminal device includes a processing unit, and the processing unit is used to record the first operation information of the target user on the pop-up window; the first operation information includes: the account identifier of the target user, the pop-up window The identification of the window, the content displayed on the pop-up window, and the running time information of the pop-up window; the processing unit is used to determine a plurality of first correspondences according to the first operation information; the first correspondence includes the characteristic information of the pop-up window and the management strategy Correspondence; the characteristic information of the pop-up window includes at least one of the identification of the pop-up window or the content displayed in the pop-up window; the processing unit is used to obtain the pop-up window request; the pop-up window request is used to request to start the target pop-up window; The multiple first correspondences determine the target management policy corresponding to the characteristic information of the target pop-up window; when the target management policy is used to indicate interception of the target pop-up window, the processing unit is also used to intercept the target pop-up window.
可选的,第一对应关系包括下述的一种或多种:账户标识、第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。Optionally, the first corresponding relationship includes one or more of the following: the corresponding relationship between the account identifier, the first feature information, and the first management policy; the first management policy is used to instruct to block pop-up windows; the first feature The information includes one or more of preset keywords, preset image features, or preset links; or, account identification, correspondence between the second feature information and the first management strategy; the second feature information includes: The historical running time recorded in the first operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account identification, Correspondence between the third feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; Wherein, the second management policy is used to indicate that pop-up windows are allowed to run.
可选的,处理单元具体用于:在确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,确定目标管理策略为第一管理策略,或者,在确定多个第一对应关系中不包括目标弹窗的特征信息对应的第一管理策略的情况下,确定目标管理策略为第二管理策略。Optionally, the processing unit is specifically configured to: determine that the target management policy is the first management policy when determining the first management policy corresponding to the characteristic information of the target pop-up window among the multiple first correspondences, or, when determining If the first management policy corresponding to the feature information of the target pop-up window is not included in the plurality of first correspondences, the target management policy is determined to be the second management policy.
可选的,处理单元还用于获取第一样本数据,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;处理单元还用于根据第一样本数据训练神经网络模型得到第一对应关系,神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。Optionally, the processing unit is also used to obtain the first sample data, which is marked with the feature information of the pop-up window and the management policy corresponding to the feature information of the pop-up window; the processing unit is also used to obtain the first sample data according to the first sample data The data training neural network model obtains the first corresponding relationship, the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可选的,终端设备还包括显示单元,在目标管理策略用于指示允许运行目标弹窗的情况下,处理单元用于运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,显示单元用于显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,处理单元用于拦截目标弹窗;处理单元用于根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系。Optionally, the terminal device further includes a display unit, and when the target management policy is used to indicate that the target pop-up window is allowed to run, the processing unit is used to run the target pop-up window; or, the management policy of the target pop-up window is used to indicate that the target pop-up window is allowed to run In the case of a target pop-up window, the display unit is used to display the pop-up window prompt information and the control controls of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the operation of the target pop-up window, and the control control includes receiving and allowing the target pop-up window to run controls, and for receiving controls that are not allowed to run the target pop-up window; when the terminal device receives a trigger for a control that is not allowed to run the target pop-up window, the processing unit is used to intercept the target pop-up window; The account identifier of the account, the characteristic information of the target pop-up window, and the indication information for instructing to intercept the target pop-up window update a plurality of first correspondences.
第七方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行第一方面或第一方面的任意一种可能的实现方式中描述的一种弹窗管理方法中终端设备或服务器所执行的方法,或者,使得计算机执行第二方面或第二方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备或服务器所执行的方法。或者,使得计算机执行第三方面或第三方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备所执行的方法。In the seventh aspect, the embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run on the computer, the computer executes the first aspect or the first A method performed by a terminal device or a server in a pop-up window management method described in any possible implementation of the second aspect, or making the computer execute the second aspect or described in any possible implementation of the second aspect The method executed by the terminal device or the server in the popup window management method. Alternatively, the computer is made to execute the method performed by the terminal device in the pop-up window management method described in the third aspect or any possible implementation manner of the third aspect.
第八方面,本申请实施例提供一种包括计算机程序的计算机程序产品,当计算机程序在计算机上运行时,使得计算机执行第一方面或第一方面的任意一种可能的实现方式中描述的一种弹窗管理方法中终端设备或服务器所执行的方法,或者,使得计算机执行第二方面或第二方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备或服务器所执行的方法。或者,使得计算机执行第三方面或第三方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备所执行的方法。In an eighth aspect, the embodiments of the present application provide a computer program product including a computer program, which, when the computer program is run on a computer, causes the computer to execute one of the first aspect or any one of the possible implementations of the first aspect. The method executed by the terminal device or the server in the pop-up window management method, or the method executed by the terminal device or the server in the pop-up window management method described in the second aspect or any possible implementation of the second aspect method. Alternatively, the computer is made to execute the method performed by the terminal device in the pop-up window management method described in the third aspect or any possible implementation manner of the third aspect.
第九方面,本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以执行第一方面或第一方面的任意一种可能的实现方式中描述的一种弹窗管理方法中终端设备或服务器所执行的方法,或者,以执行第二方面或第二方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备或服务器所执行的方法,或者以执行第三方面或第三方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备所执行的方法。其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。In a ninth aspect, the present application provides a chip or a chip system, the chip or chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions, A method performed by a terminal device or a server in a pop-up window management method described in the first aspect or any possible implementation of the first aspect, or to implement the second aspect or any one of the second aspect The method executed by the terminal device or the server in the pop-up window management method described in one possible implementation manner, or the terminal device in the pop-up window management method described in any possible implementation manner of the third aspect or the third aspect The method executed. Wherein, the communication interface in the chip may be an input/output interface, a pin or a circuit, and the like.
在一种可能的实现中,本申请中上述描述的芯片或者芯片系统还包括至少一个存储器,该至少一个存储器中存储有指令。该存储器可以为芯片内部的存储单元,例如,寄存器、缓存等,也可以是该芯片的存储单元(例如,只读存储器、随机存取存储器等)。In a possible implementation, the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (eg, a read-only memory, a random access memory, etc.).
第十方面,本申请实施例提供一种电子设备,该电子设备包括存储器和处理器,存储器用于存储计算机程序,所述处理器用于执行计算机程序,以执行上述第一方面或第一方面的任意一种可能的实现方式中描述的一种弹窗管理方法中终端设备或服务器所执行的方法,或者,以执行第二方面或第二方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备或服务器所执行的方法,或者以执行第三方面或第三方面的任意一种可能的实现方式中描述的弹窗管理方法中终端设备所执行的方法。In a tenth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to execute the computer program to perform the above-mentioned first aspect or the first aspect A method performed by a terminal device or a server in a pop-up window management method described in any possible implementation, or to execute the second aspect or the pop-up window described in any possible implementation of the second aspect The method executed by the terminal device or the server in the management method, or the method executed by the terminal device in the pop-up window management method described in the third aspect or any possible implementation of the third aspect.
应当理解的是,本申请的第四方面至第十方面与本申请的第一方面、第二方面或第三方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the fourth aspect to the tenth aspect of the present application correspond to the technical solutions of the first aspect, the second aspect or the third aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation modes are similar ,No longer.
附图说明Description of drawings
图1为本申请实施例所适用的终端设备的弹窗的示意图;FIG. 1 is a schematic diagram of a pop-up window of a terminal device applicable to an embodiment of the present application;
图2为本申请实施例所适用的一种弹窗管理系统的结构示意图;FIG. 2 is a schematic structural diagram of a pop-up window management system applicable to the embodiment of the present application;
图3为本申请实施例所适用的另一种弹窗管理系统的结构示意图;FIG. 3 is a schematic structural diagram of another pop-up window management system applicable to the embodiment of the present application;
图4为本申请实施例所适用的终端设备的结构示意图;FIG. 4 is a schematic structural diagram of a terminal device applicable to an embodiment of the present application;
图5为本申请实施例所适用的服务器的结构示意图;FIG. 5 is a schematic structural diagram of a server applicable to an embodiment of the present application;
图6为本申请实施例提供的一种弹窗管理方法的流程示意图;FIG. 6 is a schematic flowchart of a pop-up window management method provided in an embodiment of the present application;
图7为本申请实施例所适用的一种弹窗操作示意图;FIG. 7 is a schematic diagram of a pop-up operation applicable to the embodiment of the present application;
图8为本申请实施例所适用的另一种弹窗操作示意图;FIG. 8 is a schematic diagram of another pop-up window operation applicable to the embodiment of the present application;
图9为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 9 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application;
图10为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 10 is a schematic flowchart of another pop-up window management method provided in the embodiment of the present application;
图11为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 11 is a schematic flowchart of another pop-up window management method provided in the embodiment of the present application;
图12为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 12 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application;
图13为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 13 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application;
图14为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 14 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application;
图15为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 15 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application;
图16为本申请实施例提供的另一种弹窗管理方法的流程示意图;FIG. 16 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application;
图17为本申请实施例提供的一种弹窗提示信息显示的示意图;FIG. 17 is a schematic diagram of displaying prompt information in a pop-up window provided by an embodiment of the present application;
图18为本申请实施例提供的一种终端设备的结构示意图;FIG. 18 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
图19为本申请实施例提供的一种芯片的接口示意图。FIG. 19 is a schematic diagram of an interface of a chip provided by an embodiment of the present application.
具体实施方式detailed description
为了便于清楚描述本申请实施例的技术方案,以下,对本申请实施例中所涉及的部分术语和技术进行简单介绍:In order to clearly describe the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:
1)弹窗1) pop-up window
弹窗是指打开网页、打开应用程序、浏览网页以及运行应用程序等的时候弹出的窗口。A pop-up window refers to a window that pops up when you open a web page, open an application, browse the web, or run an application.
2)弹窗的特征信息2) Feature information of the pop-up window
弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种。其中,弹窗的标识可以包括弹窗对应的应用程序的名称,或者,弹窗的标识可以包括弹窗对应的应用程序的进程名称中的任意一种。弹窗显示的内容包括弹窗显示的链接、控件、字符以及图片等中的至少一种。The feature information of the pop-up window includes at least one of an identifier of the pop-up window or content displayed on the pop-up window. Wherein, the identification of the pop-up window may include the name of the application program corresponding to the pop-up window, or the identification of the pop-up window may include any one of the process names of the application program corresponding to the pop-up window. The content displayed in the pop-up window includes at least one of links, controls, characters and pictures displayed in the pop-up window.
3)用户对弹窗的操作信息、日志数据3) The user's operation information and log data on the pop-up window
用户对弹窗的操作信息包括用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息等。The user's operation information on the pop-up window includes the user's account ID, the pop-up window ID, the content displayed on the pop-up window, and the running time information of the pop-up window.
日志数据为终端设备、系统及应用程序等,在运行时产生的事件记录。事件记录包括事件发生日期、事件发生时间、参与事件的用户标识和用户操作等数据。示例性的,日志数据可以包括用户对弹窗的操作信息。The log data is the event records generated during operation of terminal equipment, systems, and applications. Event records include data such as the date the event occurred, the time the event occurred, the ID of the user who participated in the event, and the user's actions. Exemplarily, the log data may include user operation information on pop-up windows.
4)管理策略4) Management strategy
管理策略为弹窗的管理策略。管理策略包括第一管理策略以及第二管理策略。其中,第一管理策略用于表征拦截弹窗的策略,第二管理策略用于表征允许运行弹窗的管理策略。The management strategy is the management strategy of the pop-up window. The management strategy includes a first management strategy and a second management strategy. Wherein, the first management strategy is used to represent the strategy for blocking pop-up windows, and the second management strategy is used to represent the management strategy for allowing the running of pop-up windows.
5)样本数据5) Sample data
样本数据可以基于弹窗相关的日志数据标注得到。样本数据包括弹窗的特征信息以及弹窗的特征信息对应的标注管理策略。其中,标注管理策略可以为第一管理策略或第二管理策略。The sample data can be annotated based on the log data related to the pop-up window. The sample data includes the characteristic information of the pop-up window and the label management strategy corresponding to the characteristic information of the pop-up window. Wherein, the annotation management strategy may be the first management strategy or the second management strategy.
6)初始模型、管理策略的预测模型6) Initial model, predictive model of management strategy
初始模型可以是基于多层感知机、反向传播神经网络(back propagationnetwork)、卷积神经网络(convolutional neural networks,CNN)、残差收缩网络、生成式对抗网络(generative adversarial networks,GAN)、支持向量机(support vectormachines,SVM)或深度残差网络(deep residual networks,DRN)等神经网络中的至少一种构建的神经网络模型。The initial model can be based on multi-layer perceptron, back propagation network (back propagation network), convolutional neural network (convolutional neural networks, CNN), residual shrinkage network, generative adversarial networks (generative adversarial networks, GAN), support A neural network model constructed by at least one of neural networks such as support vector machines (SVM) or deep residual networks (DRN).
管理策略的预测模型是采用多个样本数据对初始模型进行训练得到的。管理策略的预测模型的输入为弹窗的特征信息,输出为弹窗的管理策略。The predictive model of the management strategy is obtained by training the initial model with multiple sample data. The input of the prediction model of the management strategy is the characteristic information of the pop-up window, and the output is the management strategy of the pop-up window.
7)其他术语7) Other terms
在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一芯片和第二芯片仅仅是为了区分不同的芯片,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. For example, the first chip and the second chip are only used to distinguish different chips, and their sequence is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not necessarily limit the difference.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a--c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a--c, b-c, or a-b-c, where a, b, c can be single or is multiple.
当前,用户在使用终端设备的过程中,终端设备会显示用户不感兴趣的弹窗,用户需要手工操作以退出该弹窗。因此该弹窗的显示对用户使用终端设备造成干扰,降低了用户体验。示例性的,用户在使用如图1所示的终端设备时,终端设备显示第一弹窗10,第一弹窗10显示的内容包括第一链接101以及关闭控件102。用户在对第一弹窗10不感兴趣的情况下,需要点击关闭控件102,以退出第一弹窗10。第一弹窗10的显示对用户使用终端设备造成干扰,降低了用户体验。Currently, when a user is using a terminal device, the terminal device may display a pop-up window that the user is not interested in, and the user needs to manually operate to exit the pop-up window. Therefore, the display of the pop-up window interferes with the user's use of the terminal device, reducing user experience. Exemplarily, when a user uses a terminal device as shown in FIG. 1 , the terminal device displays a first pop-up
基于此,本申请实施例提供一种弹窗管理方法,该方法中,终端设备记录用户对弹窗的操作信息。终端设备或服务器分析目标用户对弹窗的操作信息和/或多个用户对弹窗的操作信息,得到分析结果(如:后续的第一对应关系、第二对应关系或管理策略的预测模型中的至少一种,其中,第一对应关系以及第二对应关系均为弹窗的特征信息与管理策略的对应关系),并基于分析结果确定弹窗的管理策略。终端设备可以使用确定的管理策略管理弹窗。这样,若弹窗为目标用户感兴趣的弹窗,终端设备则允许其运行,若弹窗非目标用户感兴趣的弹窗,终端设备则对其进行拦截。Based on this, an embodiment of the present application provides a pop-up window management method. In the method, the terminal device records user operation information on the pop-up window. The terminal device or server analyzes the operation information of the target user on the pop-up window and/or the operation information of multiple users on the pop-up window, and obtains the analysis results (such as: in the prediction model of the subsequent first correspondence relationship, second correspondence relationship or management strategy) At least one of the above, wherein the first correspondence and the second correspondence are correspondences between characteristic information of pop-up windows and management strategies), and the management strategy of pop-up windows is determined based on the analysis results. The terminal device can manage the pop-up windows using a certain management strategy. In this way, if the pop-up window is a pop-up window that the target user is interested in, the terminal device allows it to run, and if the pop-up window is not a pop-up window that the target user is interested in, the terminal device intercepts it.
用户对弹窗的操作信息从一定程度上反映了用户对弹窗的喜好。用户对弹窗的操作信息可以被终端设备记录在日志数据中。例如,图1中,在第一弹窗10显示的内容包括第一链接101的情况下,在第一弹窗10非用户感兴趣的弹窗时,终端设备并不会获取到用户针对第一链接101的点击操作,而是获取到用户针对关闭控件102的点击操作,该点击操作用于关闭第一弹窗10,终端设备可以将第一弹窗10的特征信息、第一弹窗10的启动时间、第一弹窗10的退出时间以及用户对第一弹窗10中关闭控件102的点击操作等信息记录在日志数据中。又例如,在第一弹窗10是用户感兴趣的弹窗时,终端设备接收用户对第一链接101的点击操作,并响应于该点击操作显示第一链接101所指示的网络资源。在用户使用完第一弹窗10之后,终端设备才接收到第一弹窗10的退出指令,并响应于退出指令退出第一弹窗10。第一弹窗10的特征信息、第一弹窗10的启动时间、第一弹窗10的退出时间以及用户针对第一弹窗10的操作也被记录到日志数据中。The user's operation information on the pop-up window reflects the user's preference for the pop-up window to a certain extent. The user's operation information on the pop-up window can be recorded in the log data by the terminal device. For example, in FIG. 1, when the content displayed on the first pop-up
因此,本申请实施例的弹窗管理方法中,终端设备可以将用户对弹窗的操作信息记录在日志数据中,终端设备自行分析日志数据得到分析结果,终端设备也可以向服务器发送日志数据,以使服务器分析日志数据得到分析结果。在终端设备自行分析日志数据得到分析结果的情况下,终端设备基于分析结果确定弹窗的管理策略,并采用管理策略管理弹窗。在终端设备向服务器发送日志数据的情况下,服务器可以分析来自目标终端设备的日志数据得到第一分析结果,第一分析结果用于表征特定用户对弹窗的喜好。特定用户为使用目标终端设备的用户。服务器也可以分析来自多个终端设备的日志数据得到第二分析结果,第二分析结果用于表征用户对弹窗的通用性喜好。服务器可以将第一分析结果和/或第二分析结果发送给终端设备,以使终端设备基于第一分析结果和/或第二分析结果确定弹窗的管理策略,这样终端设备就可以采用管理策略管理弹窗。或者,服务器接收来自终端设备的弹窗管理请求,弹窗管理请求用于请求服务器基于第一分析结果和/或第二分析结果确定弹窗的管理策略,服务器将弹窗的管理策略发送给终端设备,以使终端设备使用管理策略管理弹窗。Therefore, in the pop-up window management method of the embodiment of the present application, the terminal device can record the user's operation information on the pop-up window in the log data, and the terminal device can analyze the log data by itself to obtain the analysis result, and the terminal device can also send the log data to the server, In order to make the server analyze the log data to obtain the analysis result. When the terminal device analyzes the log data by itself to obtain an analysis result, the terminal device determines a pop-up window management policy based on the analysis result, and uses the management policy to manage the pop-up window. When the terminal device sends log data to the server, the server can analyze the log data from the target terminal device to obtain a first analysis result, and the first analysis result is used to characterize a specific user's preferences for pop-up windows. A specific user is a user using the target terminal device. The server may also analyze log data from multiple terminal devices to obtain a second analysis result, and the second analysis result is used to characterize the user's general preferences for pop-up windows. The server may send the first analysis result and/or the second analysis result to the terminal device, so that the terminal device determines the management policy of the pop-up window based on the first analysis result and/or the second analysis result, so that the terminal device can adopt the management policy Manage popups. Alternatively, the server receives a pop-up window management request from the terminal device, the pop-up window management request is used to request the server to determine a pop-up window management policy based on the first analysis result and/or the second analysis result, and the server sends the pop-up window management policy to the terminal device, so that the terminal device uses the management policy to manage pop-up windows.
本申请实施例的弹窗管理方法可以适用于终端设备,终端设备将用户对弹窗的操作信息记录在日志数据中。终端设备获取该终端设备预设时间段内产生的日志数据,日志数据包括该终端设备该预设时间段内运行的弹窗的特征信息、弹窗的启动时间、弹窗的退出时间以及用户对弹窗的操作等信息。终端设备分析获取的日志数据得到弹窗的特征信息与管理策略的多个第一对应关系。终端设备基于该多个第一对应关系,确定管理策略,并采用确定的管理策略管理弹窗。或者,终端设备获取多个样本数据,样本数据包括弹窗的特征信息与管理策略的对应关系。终端设备使用该多个样本数据训练初始模型,得到管理策略的预测模型,该预测模型的输入为弹窗的特征信息,输出为管理策略。终端设备可以使用该管理策略的预测模型确定弹窗的管理策略,并采用确定的管理策略管理弹窗。这样,可以减少终端设备中显示的弹窗对用户使用终端设备的干扰。The method for managing pop-up windows in the embodiment of the present application may be applied to a terminal device, and the terminal device records the user's operation information on the pop-up window in the log data. The terminal device obtains the log data generated by the terminal device within the preset time period, and the log data includes the characteristic information of the pop-up windows run by the terminal device within the preset time period, the start time of the pop-up window, the exit time of the pop-up window, and the user's response to the pop-up window. The operation of the pop-up window and other information. The terminal device analyzes the acquired log data to obtain a plurality of first correspondences between the characteristic information of the pop-up window and the management policy. Based on the plurality of first correspondences, the terminal device determines a management policy, and uses the determined management policy to manage the pop-up window. Alternatively, the terminal device acquires a plurality of sample data, and the sample data includes a correspondence between characteristic information of the pop-up window and a management policy. The terminal device uses the plurality of sample data to train the initial model to obtain a prediction model of the management strategy. The input of the prediction model is the characteristic information of the pop-up window, and the output is the management strategy. The terminal device can use the prediction model of the management strategy to determine the management strategy of the pop-up window, and manage the pop-up window by using the determined management strategy. In this way, the interference of the pop-up window displayed on the terminal device on the user's use of the terminal device can be reduced.
本申请实施例提供的弹窗管理方法还可以适用于如图2所示的弹窗管理系统,图2所示的弹窗管理系统包括服务器201和终端设备202。在第一种可能的实现方式中,终端设备202将用户对弹窗的操作信息记录在日志数据中,并向服务器201发送日志数据。服务器201基于日志数据得到多个第一对应关系。其中,第一对应关系为该终端设备202的弹窗的特征信息与管理策略的对应关系,或者,可以理解为第一对应关系是基于终端设备202的日志数据得到的该终端设备202的个性化对应关系。服务器201向终端设备202发送多个第一对应关系。终端设备202基于该多个第一对应关系确定弹窗的管理策略,并采用管理策略管理弹窗,以减少弹窗的出现对用户使用终端设备202造成的干扰。The pop-up window management method provided in the embodiment of the present application can also be applied to the pop-up window management system shown in FIG. 2 . The pop-up window management system shown in FIG. 2 includes a
在第二种可能的实现方式中,与第一种可能的实现方式不同的是,服务器201存储该多个第一对应关系,终端设备202向服务器201发送弹窗管理请求,弹窗管理请求用于服务器201确定弹窗的管理策略。服务器201根据该多个第一对应关系确定弹窗的管理策略,并向终端设备202发送弹窗的管理策略,终端设备202采用接收的管理策略管理弹窗,以减少弹窗的出现对用户使用终端设备202造成的干扰。In the second possible implementation, different from the first possible implementation, the
在第三种可能的实现方式中,与上述实现方式不同的是,服务器201获取多个样本数据,样本数据是基于终端设备202的日志数据标注得到的。服务器201采用该多个样本数据训练初始模型,得到管理策略的预测模型,该管理策略的预测模型的输入为弹窗的特征信息,输出为管理策略。服务器201向终端设备202发送管理策略的预测模型,终端设备202将弹窗的特征信息输入管理策略的预测模型,得到弹窗的管理策略,并采用管理策略管理弹窗,以减少弹窗的出现对用户使用终端设备202造成的干扰。In a third possible implementation manner, different from the above implementation manner, the
在第四种可能的实现方式中,与上述第三种可能的实现方式不同的是,服务器201存储管理策略的预测模型,服务器201接收来自终端设备202的弹窗管理请求,弹窗管理请求用于服务器201确定弹窗的管理策略。弹窗管理请求包括弹窗的特征信息,服务器201将弹窗的特征信息输入管理策略的预测模型,得到弹窗的管理策略,并向终端设备202发送弹窗的管理策略,以使终端设备202采用管理策略管理弹窗,减少弹窗的出现对用户使用终端设备202造成的干扰。In the fourth possible implementation, different from the above third possible implementation, the
本申请实施例提供的弹窗管理方法还可以适用于如图3所示的弹窗管理系统30,图3所示的弹窗管理系统30包括服务器301和多个终端设备302(图3中以终端设备302-1以及终端设备302-2为例进行说明)。在第五种可能的实现方式中,终端设备302将用户对弹窗的操作信息记录在日志数据中,并向服务器301发送日志数据,服务器301分析接收到的日志数据得到多个第一对应关系和/或多个第二对应关系。服务器301向终端设备302发送得到多个第一对应关系和/或多个第二对应关系。这样,终端设备302就可以根据该多个第一对应关系和/或多个第二对应关系,确定终端设备302中弹窗的管理策略,并采用管理策略管理弹窗,以减少终端设备302中显示的弹窗对用户使用终端设备302造成的干扰。The pop-up window management method provided by the embodiment of the present application can also be applied to the pop-up
基于图3,服务器301分析终端设备302-1的日志数据得到终端设备302-1的第一对应关系。可以理解为,终端设备302-1的第一对应关系是终端设备302-1的弹窗的特征信息与关联策略的个性化对应关系。同样,服务器301可以分析终端设备302-2的日志数据,得到终端设备302-2的第一对应关系。服务器301分析终端设备302-1的日志数据以及终端设备302-2的日志数据得到第二对应关系,可以理解为第二对应关系是基于大数据得到的弹窗的特征信息与管理策略的通用性对应关系。Based on FIG. 3 , the
在第六种可能的实现方式中,服务器301收集来自终端设备302-1至终端设备302-2的日志数据,得到全量日志数据,服务器301向终端设备302-1至终端设备302-2发送全量日志数据,终端设备302分析全量日志数据得到多个第二对应关系。这样,终端设备302就可以根据该多个第二对应关系确定该终端设备302中弹窗的管理策略,并采用管理策略管理弹窗,以减少终端设备302中显示的弹窗对用户使用终端设备302造成的干扰。In the sixth possible implementation, the
在第七种可能的实现方式中,服务器301获取多个样本数据,服务器301使用得到的多个样本数据训练初始模型,得到管理策略的预测模型,服务器301分别向终端设备302-1至终端设备302-2发送管理策略的预测模型,这样,终端设备302可以将弹窗的特征信息输入管理策略的预测模型得到弹窗的管理策略,并采用管理策略管理弹窗,以减少终端设备302中显示的弹窗对用户使用终端设备302造成的干扰。In a seventh possible implementation, the
可以理解的是,服务器301还可以存储得到的多个第一对应关系和/或多个第二对应关系,或者,服务器301存储管理策略的预测模型。服务器301接收来自终端设备302的弹窗管理请求,弹窗管理请求用于服务器301确定弹窗的管理策略。服务器301根据多个第一对应关系和/或多个第二对应关系确定弹窗的管理策略,或者,服务器301将弹窗的特征信息输入管理策略的预测模型,得到弹窗的管理策略,服务器301将弹窗的管理策略发送给终端设备302,以使终端设备302采用管理策略管理弹窗,从而减少终端设备302中显示的弹窗对用户使用终端设备302造成的干扰。It can be understood that the
需要说明的是,本申请实施例中的终端设备可以是手机、平板电脑、掌上电脑、笔记本电脑、车载终端、智能穿戴设备或台式电脑等,本申请实施例中终端设备的功能可以由图4所示的终端设备实现,图4所示的终端设备140包括处理器1401、存储器1402、显示屏1403、电源1404、通信接口1405、按键1406以及传感器模块1407等。It should be noted that the terminal device in the embodiment of the present application may be a mobile phone, a tablet computer, a handheld computer, a notebook computer, a vehicle terminal, a smart wearable device or a desktop computer, etc., and the functions of the terminal device in the embodiment of the present application may be shown in Figure 4 The terminal device shown in FIG. 4 is implemented. The terminal device 140 shown in FIG.
处理器1401可以包括一个或多个处理单元,例如:处理器1401可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphicsprocessingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
处理器1401中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器1401中的存储器可以为高速缓冲存储器,该存储器可以保存处理器1401刚用过或循环使用的指令或数据。A memory may also be provided in the
在一些实施例中,处理器1401可以包括一个或多个接口,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integratedcircuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the
电源1404为处理器1401,存储器1402,显示屏1403,通信接口1405、按键1406以及传感器模块1407等供电。The power supply 1404 supplies power for the
终端设备140的通信接口1405可以提供应用在终端设备140上的包括无线局域网(wirelesslocal area networks,WLAN)(如:无线保真网络),蓝牙,全球导航卫星系统(global navigation satellite system,GNSS),FM,近距离无线通信技术,红外技术(infrared,IR)等无线通信的解决方案。The communication interface 1405 of the terminal device 140 can provide applications on the terminal device 140 including wireless local area networks (wireless local area networks, WLAN) (such as: Wi-Fi network), Bluetooth, global navigation satellite system (global navigation satellite system, GNSS), FM, short-range wireless communication technology, infrared technology (infrared, IR) and other wireless communication solutions.
终端设备140通过显示屏1403实现显示功能,显示屏1403用于显示图像,视频等,显示屏1403包括显示面板。在一些实施例中,终端设备140可以包括1个或N个显示屏1403,N为大于1的正整数。The terminal device 140 implements a display function through a display screen 1403, the display screen 1403 is used to display images, videos, etc., and the display screen 1403 includes a display panel. In some embodiments, the terminal device 140 may include 1 or N display screens 1403, where N is a positive integer greater than 1.
存储器1402可以用于存储计算机可执行程序代码,可执行程序代码包括指令。存储器1402可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如:图像显示功能、弹窗管理功能等),存储数据区可存储数据,例如:弹窗的特征信息与管理策略对应关系,管理策略的预测模型,日志数据等。The memory 1402 may be used to store computer-executable program code, which includes instructions. The memory 1402 may include an area for storing programs and an area for storing data. Among them, the storage program area can store the operating system, at least one application program required by the function (such as: image display function, pop-up window management function, etc.), and the storage data area can store data, for example: the feature information of the pop-up window corresponds to the management strategy relationships, predictive models for management strategies, log data, etc.
传感器模块1407包括压力传感器14071用于感受压力信号,其可以将压力信号转换成电信号。在一些实施例中,压力传感器14071可以设置于显示屏1403中。The sensor module 1407 includes a pressure sensor 14071 for sensing pressure signals, which can convert the pressure signals into electrical signals. In some embodiments, a pressure sensor 14071 may be disposed in the display screen 1403 .
触摸传感器14072,也称“触控器件”。触摸传感器14072可以设置于显示屏1403,由触摸传感器14072与显示屏1403组成触摸屏,也称“触控屏”。触摸传感器14072用于检测作用于其上或附近的触摸操作。Touch sensor 14072, also known as "touch device". The touch sensor 14072 can be arranged on the display screen 1403, and the touch sensor 14072 and the display screen 1403 form a touch screen, also called “touch screen”. The touch sensor 14072 is used to detect a touch operation on or near it.
按键1406包括音量键、开关键等,按键1406可以是机械按键,也可以是触摸式按键。终端设备140可以接收按键输入,产生与终端设备140的用户设置以及功能控制有关的键信号输入。The key 1406 includes a volume key, an on/off key, etc. The key 1406 may be a mechanical key or a touch key. The terminal device 140 may receive key input and generate key signal input related to user settings and function control of the terminal device 140 .
本申请实施例中的服务器可以是一个服务器,也可以是服务器集群,本申请实施例对此不进行限定。本申请实施例中服务器的功能可以由图5所示的服务器实现,图5所示的服务器150可以包括至少一个处理器1501,通信线路1502,存储器1503以及至少一个通信接口1504。The server in the embodiment of the present application may be one server or a server cluster, which is not limited in the embodiment of the present application. The functions of the server in the embodiment of the present application may be implemented by the server shown in FIG. 5 , and the
处理器1501可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The
通信线路1502可包括至少一条通路,比如数据总线,和/或控制总线,用于在上述组件(如至少一个处理器1501,通信线路1502,存储器1503以及至少一个通信接口1504)之间传送信息。The
通信接口1504,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如广域网(wide area network,WAN),局域网(local area networks,LAN)等。The
存储器1503,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compactdisc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器1503可以是独立存在,通过通信线路1502与处理器1501相连接。存储器1503也可以和处理器1501集成在一起。本申请实施例提供的存储器1503通常包括非易失性存储器。其中,存储器1503用于存储执行本申请方案的计算机指令,并由处理器1501来控制执行。处理器1501用于执行存储器1503中存储的计算机指令,从而实现本申请下述实施例提供的方法。示例性的,存储器1503中存储用于实现弹窗管理功能的计算机指令。存储弹窗的特征信息与管理策略对应关系,管理策略的预测模型,日志数据等。The
存储器1503包括内存和硬盘。
可选的,本申请实施例中的计算机指令也可以称之为应用程序代码或系统,本申请实施例对此不作具体限定。Optionally, the computer instructions in the embodiments of the present application may also be referred to as application program codes or systems, which are not specifically limited in the embodiments of the present application.
在具体实现中,作为一种实施例,服务器150可以包括多个处理器,这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the
在具体实现中,作为一种实施例,服务器150还可以包括输出设备1505和/或输入设备1506。输出设备1505和处理器1501通信,可以以多种方式来显示信息。例如,输出设备1505可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emittingdiode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备1506和处理器1501通信,可以以多种方式接收用户的输入。例如,输入设备1506可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an example, the
需要说明的是,本申请实施例示意的结构并不构成对终端设备140以及服务器150的具体限定;可以理解的是,终端设备140和服务器150可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置;其中,图示的部件可以以硬件,软件或软件和硬件的组合实现。It should be noted that the structure shown in the embodiment of the present application does not constitute a specific limitation on the terminal device 140 and the
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以独立实现,也可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be implemented independently, or may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
如图6所示为本申请实施例提供的一种弹窗管理方法的流程示意图,图6包括:As shown in Figure 6, it is a schematic flowchart of a pop-up window management method provided by the embodiment of the present application, and Figure 6 includes:
S600:终端设备将用户对弹窗的操作信息记录在日志数据中。S600: The terminal device records the user's operation information on the pop-up window in the log data.
在一个例子中,如图7所示,终端设备打开第一网页701的过程中,终端设备中弹出第二弹窗702,该第二弹窗702中显示当前热度前四的新闻资讯的链接,图7中A所示终端设备接收用户对第二弹窗702中第一新闻资讯链接7021的第一点击操作,终端设备响应于第一点击操作显示B中第一新闻资讯链接7021对应的第二网页703。终端设备响应于用户对第二网页703的滑动操作,滑动显示第一新闻资讯。终端设备接收针对第二网页703的关闭控件7031的点击操作,响应于该点击操作关闭第二网页703,并显示图7的C所示的界面,终端设备接收对该第二弹窗702的关闭控件7022的关闭指令,并响应于该关闭指令退出第二弹窗702。终端设备将第二弹窗702的标识、第二弹窗702的启动时间2021年6月15日13点25分、第二弹窗702的退出时间2021年6月15日13点35分以及第二弹窗702显示的内容等第一用户操作信息记录在日志数据中。第一用户操作信息为用户对第二弹窗702的操作信息。第一用户操作信息包括第二弹窗702的标识、第二弹窗702的启动时间2021年6月15日13点25分、第二弹窗702的退出时间2021年6月15日13点35分以及第二弹窗702显示的内容等信息。In one example, as shown in FIG. 7 , when the terminal device opens the
在另一个例子中,如图8所示,终端设备在运行第一应用程序501的过程中,弹出第三弹窗502,第三弹窗502包括推广链接5021以及关闭控件5022,终端设备接收针对第三弹窗502的关闭控件5022的关闭指令,响应于该关闭指令关闭第三弹窗502,终端设备将第三弹窗的标识、第三弹窗502的启动时间2021年6月15日13点25分40秒、第三弹窗502的退出时间2021年6月15日13点25分43秒以及第三弹窗502显示的内容等第二用户操作信息记录在日志数据中。第二用户操作信息为用户对第三弹窗502的操作信息。第二用户操作信息包括第三弹窗的标识、第三弹窗502的启动时间2021年6月15日13点25分40秒、第三弹窗502的退出时间2021年6月15日13点25分43秒以及第三弹窗502显示的内容等信息。In another example, as shown in FIG. 8, the terminal device pops up a third pop-up
S601:终端设备获取该终端设备预设时间段内产生的日志数据。其中,日志数据包括该终端设备该预设时间段内运行的弹窗的标识、弹窗的启动时间、弹窗的退出时间和弹窗显示的内容等信息。S601: The terminal device acquires log data generated by the terminal device within a preset time period. Wherein, the log data includes information such as the identification of the pop-up window run by the terminal device within the preset time period, the start time of the pop-up window, the exit time of the pop-up window, and the content displayed in the pop-up window.
可能的实现方式中,终端设备可以读取该终端设备上存储的预设时间段内产生的日志数据。In a possible implementation manner, the terminal device may read log data stored on the terminal device and generated within a preset time period.
基于S600中的示例,终端设备预设时间段内产生的日志数据包括终端设备在运行第二弹窗702的过程中记录的第二弹窗702的特征信息、第二弹窗702的启动时间以及第二弹窗702的退出时间等。日志数据还包括终端设备在运行第三弹窗502的过程中记录的第三弹窗502的特征信息、第三弹窗502的启动时间以及第三弹窗502的退出时间等。Based on the example in S600, the log data generated by the terminal device within the preset time period includes the characteristic information of the second pop-up
可选的,预设时间段内产生的日志数据还包括弹窗拦截日志。弹窗拦截日志包括弹窗的标识以及拦截工具的标识等信息。其中,弹窗拦截日志可以是终端设备记录的其他拦截工具(如:浏览器、系统或应用程序)对弹窗的拦截日志。Optionally, the log data generated within the preset time period also includes pop-up blocking logs. The pop-up blocking log includes information such as the identification of the pop-up window and the identification of the blocking tool. Wherein, the pop-up blocking log may be the blocking log of the pop-up window recorded by other blocking tools (such as browser, system or application program) recorded by the terminal device.
S602:终端设备根据获取的日志数据得到多个第一对应关系,第一对应关系包括弹窗的特征信息与管理策略的对应关系。弹窗的特征信息包括弹窗的标识以及弹窗显示的内容等中的至少一种。S602: The terminal device obtains a plurality of first correspondences according to the acquired log data, where the first correspondences include correspondences between characteristic information of pop-up windows and management policies. The feature information of the pop-up window includes at least one of an identifier of the pop-up window and content displayed on the pop-up window.
可能的实现方式中,终端设备确定日志数据中弹窗的运行时长,并根据弹窗的运行时长以及该弹窗显示的内容等信息确定弹窗的管理策略,得到用户的账户标识、弹窗的特征信息与该弹窗的管理策略的对应关系。In a possible implementation, the terminal device determines the running time of the pop-up window in the log data, and determines the management strategy of the pop-up window according to the running time of the pop-up window and the content displayed in the pop-up window, and obtains the user's account ID, the pop-up window The corresponding relationship between feature information and the management strategy of the pop-up window.
基于上述记录了第一用户操作信息的日志数据的示例,终端设备确定第二弹窗702的运行时长为:第二弹窗702的退出时间与第二弹窗702的启动时间的时间差为10分钟,第二弹窗702显示的内容包括第一新闻资讯链接至第四新闻资讯链接,第二弹窗702的运行时长为10分钟,第二弹窗702的运行时长大于预设时长5秒钟,说明第二弹窗702为用户感兴趣的弹窗,终端设备确定第二弹窗702的管理策略为第二管理策略。终端设备得到用户的账户标识、第二弹窗702的标识与第二管理策略的对应关系。其中,预设时长可以根据用户关闭不感兴趣的弹窗所需时间进行设定。Based on the above example of log data that records the first user operation information, the terminal device determines that the running time of the second pop-up
基于上述记录了第二用户操作信息的日志数据的示例,终端设备确定第三弹窗502的运行时长为:第三弹窗502的退出时间与第三弹窗502的启动时间的时间差为3秒钟,第三弹窗502显示的内容包括推广链接5021,第三弹窗502的运行时长为3秒钟。在第三弹窗502显示的内容包括推广链接5021的情况下,第三弹窗502的运行时长仅为3秒钟,第三弹窗502的运行时长小于预设时长说明第三弹窗502非用户感兴趣的弹窗,终端设备确定第三弹窗502的管理策略为第一管理策略。终端设备得到用户的账户标识、第三弹窗502的标识与第一管理策略的对应关系。Based on the above example of the log data recording the second user operation information, the terminal device determines that the running time of the third pop-up
可以理解的是,在弹窗显示的内容不包括链接或其他控件的情况下,该弹窗可能用于显示通知信息,本申请实施例确定该类弹窗的管理策略可以为第一管理策略。其他控件为除了用于控制弹窗的显示状态(例如:用于放大弹窗的控件、用于缩小弹窗的控件、以及用于隐藏弹窗的控件等)的控件以及用于退出弹窗的控件之外的控件。It can be understood that, when the content displayed in the pop-up window does not include links or other controls, the pop-up window may be used to display notification information, and the embodiment of the present application determines that the management policy of this type of pop-up window may be the first management policy. Other controls are controls used to control the display status of the pop-up window (for example: controls for zooming in the pop-up window, controls for reducing the pop-up window, controls for hiding the pop-up window, etc.) and controls for exiting the pop-up window Controls other than controls.
对于日志数据中弹窗拦截日志中的弹窗,终端设备确定该弹窗的特征信息对应的管理策略为第一管理策略。第一对应关系还可以包括弹窗拦截日志中的弹窗的标识与第一管理策略的对应关系。这样,即使终端设备中其他拦截工具失效的状态下,终端设备仍然可以拦截这些弹窗。For a pop-up window in the pop-up blocking log in the log data, the terminal device determines that the management policy corresponding to the characteristic information of the pop-up window is the first management policy. The first correspondence may also include a correspondence between identifiers of pop-up windows in the pop-up blocking log and the first management policy. In this way, even when other blocking tools in the terminal device fail, the terminal device can still block these pop-up windows.
第一对应关系还可以包括通过代码预置的第一特征信息与第一管理策略之间的对应关系。第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种。The first corresponding relationship may also include a corresponding relationship between the first feature information and the first management policy preset through the code. The first feature information includes one or more of preset keywords, preset image features, or preset links.
S603:终端设备获取弹窗请求,该弹窗请求用于请求启动目标弹窗。该弹窗请求可以包括目标弹窗的特征信息。目标弹窗的特征信息包括目标弹窗的标识以及目标弹窗显示的内容中的至少一种。S603: The terminal device acquires a pop-up window request, where the pop-up window request is used to request to start a target pop-up window. The popup request may include feature information of the target popup. The feature information of the target pop-up window includes at least one of an identifier of the target pop-up window and content displayed on the target pop-up window.
目标弹窗显示的内容包括:目标弹窗显示的字符信息、图像信息、链接或控件等。The content displayed in the target pop-up window includes: character information, image information, links or controls displayed in the target pop-up window.
可能的实现方式中,终端设备在弹窗请求被执行前使用预设代码截获弹窗请求。In a possible implementation manner, the terminal device uses a preset code to intercept the pop-up request before the pop-up request is executed.
需要说明的是,本申请实施例对弹窗请求的类型不进行限定,弹窗请求可以是网页或应用程序中的进程触发的自动弹窗请求。It should be noted that the embodiment of the present application does not limit the type of the pop-up request, and the pop-up request may be an automatic pop-up request triggered by a process in a webpage or an application program.
S604:终端设备根据存储的多个第一对应关系确定目标弹窗的管理策略。S604: The terminal device determines a management strategy for the target pop-up window according to the multiple stored first correspondences.
可能的实现方式中,终端设备从存储的多个第一对应关系中读取目标弹窗的特征信息对应的管理策略,在读取的管理策略中不包括用于指示拦截目标弹窗的策略的情况下,终端设备确定目标弹窗的管理策略为第二管理策略,在读取的管理策略中包括用于指示拦截目标弹窗的策略的情况下,终端设备确定目标弹窗的管理策略为第一管理策略。In a possible implementation, the terminal device reads the management policy corresponding to the characteristic information of the target pop-up window from the stored multiple first correspondences, and the read management policy does not include the policy used to indicate the interception of the target pop-up window. In this case, the terminal device determines that the management policy of the target pop-up window is the second management policy, and if the read management policy includes a policy for indicating interception of the target pop-up window, the terminal device determines that the management policy of the target pop-up window is the second management policy. 1. Management strategy.
基于上述日志数据的示例,若目标弹窗为第二弹窗702,第二弹窗702不包括预设关键字、预设图像特征或预设链接中的任一种,且第二弹窗702的标识在弹窗拦截日志中不存在,则终端设备确定第二弹窗702的管理策略为第二管理策略,若目标弹窗为第三弹窗502,则终端设备确定第三弹窗502的管理策略为第一管理策略。Based on the example of the above log data, if the target pop-up window is the second pop-up
这样,多个第一对应关系反映了使用该终端设备的用户对弹窗的喜好,因此,根据多个第一对应关系确定的管理策略理论上更符合该用户的需求,减少了弹窗的显示对用户使用终端设备的干扰。In this way, the multiple first correspondences reflect the preferences of the user using the terminal device for pop-up windows. Therefore, the management strategy determined according to the multiple first correspondences is theoretically more in line with the needs of the user and reduces the display of pop-up windows. Interference with the user's use of the terminal equipment.
可以理解的是,第一对应关系还可以包括预存储的第一特征信息与第一管理策略之间的对应关系。第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种。这样,对于日志数据中不存在,弹窗显示的内容包括预设关键字、预设图像特征以及预设链接等信息的情况下,终端设备仍然拦截弹窗。其中,预设关键字、预设图像特征以及预设链接等信息,可以根据经验,分析包括不良信息的弹窗显示的内容得到。It can be understood that the first correspondence may also include a correspondence between the pre-stored first feature information and the first management policy. The first feature information includes one or more of preset keywords, preset image features, or preset links. In this way, if the content displayed in the pop-up window includes information such as preset keywords, preset image features, and preset links that do not exist in the log data, the terminal device still intercepts the pop-up window. Among them, information such as preset keywords, preset image features, and preset links can be obtained by analyzing content displayed in pop-up windows including bad information based on experience.
在终端设备中存储的多个第一对应关系中不包括目标弹窗的特征信息对应的用于指示拦截目标弹窗的管理策略的情况下,终端设备确定目标弹窗的管理策略为第二管理策略。这样,包括推广信息的弹窗仍然能够正常弹出,有益于正常广告业的发展。In the case that the multiple first correspondences stored in the terminal device do not include the management strategy corresponding to the characteristic information of the target pop-up window for indicating interception of the target pop-up window, the terminal device determines that the management strategy of the target pop-up window is the second management strategy. Strategy. In this way, pop-up windows including promotional information can still pop up normally, which is beneficial to the development of the normal advertising industry.
S605:终端设备采用目标弹窗的管理策略管理目标弹窗。S605: The terminal device manages the target pop-up window by using the management policy of the target pop-up window.
在目标弹窗的管理策略用于指示拦截目标弹窗的情况下,终端设备拦截目标弹窗。或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备启动该目标弹窗。In a case where the management policy of the target pop-up window is used to indicate interception of the target pop-up window, the terminal device intercepts the target pop-up window. Alternatively, when the management policy of the target pop-up window is used to indicate that the target pop-up window is allowed to run, the terminal device starts the target pop-up window.
基于上述日志数据的示例,在目标弹窗为第二弹窗702的情况下,终端设备启动该第二弹窗702,在目标弹窗为第三弹窗502的情况下,终端设备拦截第三弹窗502。Based on the example of the above log data, if the target pop-up window is the second pop-up
本申请实施例中,终端设备根据存储的多个第一对应关系,确定该终端设备中弹窗的管理策略,而该多个第一对应关系是基于该终端设备中的日志数据分析得到的,日志数据从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合使用该终端设备的用户的需求,对于日志数据中用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了终端设备显示的弹窗对用户使用终端设备的干扰。In the embodiment of the present application, the terminal device determines the pop-up window management strategy in the terminal device according to the stored multiple first correspondences, and the multiple first correspondences are obtained based on the log data analysis in the terminal device, The log data reflects to a certain extent the preference of the user using the terminal device for the pop-up window. Therefore, the management strategy of the pop-up window determined according to the plurality of first correspondences can better meet the needs of the user using the terminal device. The terminal device will block the pop-up window in the log data that the user is not interested in, thereby reducing the interference of the pop-up window displayed by the terminal device on the user's use of the terminal device.
如图9所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图9所示的弹窗管理方法包括:As shown in FIG. 9, it is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application. The pop-up window management method shown in FIG. 9 includes:
S900:终端设备获取多个样本数据。样本数据包括弹窗的特征信息以及弹窗的特征信息对应的标注管理策略。S900: The terminal device acquires a plurality of sample data. The sample data includes the characteristic information of the pop-up window and the label management strategy corresponding to the characteristic information of the pop-up window.
需要说明的是,终端设备获取的多个样本数据可以是人工导入或接收其他设备发送的,本申请实施例对此不进行限定。It should be noted that the multiple sample data obtained by the terminal device may be manually imported or sent by other devices, which is not limited in this embodiment of the present application.
S901:终端设备根据该多个样本数据训练初始模型,得到管理策略的预测模型。该预测模型的输入为弹窗的特征信息,输出为管理策略。S901: The terminal device trains an initial model according to the plurality of sample data to obtain a prediction model of a management strategy. The input of the prediction model is the characteristic information of the pop-up window, and the output is the management strategy.
可能的实现方式中,终端设备将样本数据输入初始模型,得到样本数据中弹窗的特征信息对应的预测管理策略,终端设备确定预测管理策略与对应标注管理策略的差异值,得到多个差异值,终端设备反向传递该多个差异值以更新初始模型中的模型参数,直到差异值小于阈值,得到管理策略的预测模型。初始模型可以是终端设备中预设的基于预设规则构建的神经网络模型。其中,阈值可以根据管理策略的预测模型所需预测精度进行设定。In a possible implementation, the terminal device inputs the sample data into the initial model to obtain the prediction management strategy corresponding to the feature information of the pop-up window in the sample data, and the terminal device determines the difference between the prediction management strategy and the corresponding label management strategy to obtain multiple difference values , the terminal device reversely transmits the multiple difference values to update the model parameters in the initial model, until the difference value is less than the threshold, and obtains the prediction model of the management strategy. The initial model may be a neural network model preset in the terminal device and constructed based on preset rules. Wherein, the threshold can be set according to the prediction accuracy required by the prediction model of the management strategy.
S902:终端设备获取弹窗请求,该弹窗请求用于请求启动目标弹窗。该弹窗请求可以包括目标弹窗的特征信息。目标弹窗的特征信息包括目标弹窗的标识以及目标弹窗显示的内容中的至少一种。S902: The terminal device acquires a pop-up window request, where the pop-up window request is used to request to start a target pop-up window. The popup request may include feature information of the target popup. The feature information of the target pop-up window includes at least one of an identifier of the target pop-up window and content displayed on the target pop-up window.
可能的实现方式以及相关说明,参考上述S603中的描述,不再赘述。For possible implementations and related descriptions, refer to the description in S603 above, and details are not repeated here.
S903:终端设备将目标弹窗的特征信息输入管理策略的预测模型,得到目标弹窗的管理策略。S903: The terminal device inputs the characteristic information of the target pop-up window into the prediction model of the management strategy to obtain the management strategy of the target pop-up window.
S904:终端设备采用目标弹窗的管理策略管理目标弹窗。S904: The terminal device manages the target pop-up window by using the management policy of the target pop-up window.
可能的实现方式以及示例,参考上述S605中的描述,不再赘述。For possible implementations and examples, refer to the description in S605 above, and details are not repeated here.
本申请实施例中,终端设备中管理策略的预测模型是基于样本数据训练得到的,样本数据可以是基于该终端设备的日志数据标注得到的。日志数据从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,该管理策略的预测模型输出的管理策略更趋向于符合使用该终端设备的用户的需求,对于日志数据中使用该终端设备的用户不感兴趣的弹窗,终端设备将拦截该弹窗,减少了终端设备中显示的弹窗对用户使用终端设备的干扰。In the embodiment of the present application, the prediction model of the management policy in the terminal device is obtained through training based on sample data, and the sample data may be obtained based on the annotation of log data of the terminal device. To a certain extent, the log data reflects the preferences of the users who use the terminal equipment for pop-up windows. Therefore, the management strategy output by the predictive model of the management strategy tends to meet the needs of the users who use the terminal equipment. For the log data used The terminal device intercepts the pop-up window that the user of the terminal device is not interested in, thereby reducing the interference of the pop-up window displayed in the terminal device on the user's use of the terminal device.
图10为本申请实施例提供的另一种弹窗管理方法的流程示意图,图10所示的弹窗管理方法可以应用于图2所示的弹窗管理系统,图10包括:Fig. 10 is a schematic flowchart of another pop-up window management method provided in the embodiment of the present application. The pop-up window management method shown in Fig. 10 can be applied to the pop-up window management system shown in Fig. 2 , and Fig. 10 includes:
S1000:终端设备将用户对弹窗的操作信息记录在日志数据中。S1000: The terminal device records the user's operation information on the pop-up window in the log data.
可能的实现方式以及示例参考上述S600中的描述,不再赘述。For possible implementations and examples, refer to the description in S600 above, and details are not repeated here.
S1001:终端设备向服务器发送日志数据。S1001: The terminal device sends log data to the server.
在一种可能的实现方式中,终端设备每隔预设时间段向服务器发送该预设时间段内记录的日志数据。In a possible implementation manner, the terminal device sends the log data recorded within the preset time period to the server every preset time period.
示例性的,终端设备可以每隔预设时间段(如:一小时、半小时、24小时或一周等)向服务器发送该预设时间段内获取的日志数据。Exemplarily, the terminal device may send log data acquired within the preset time period to the server every preset time period (eg, one hour, half an hour, 24 hours, or one week, etc.).
在另一种可能的实现方式中,终端设备在启动后向服务器发送上一次启动期间获取的日志数据。In another possible implementation manner, the terminal device sends the log data obtained during the last startup to the server after startup.
在另一种可能的实现方式中,终端设备在该终端设备上存储的日志数据大于或等于预设数量的情况下,向服务器发送存储的日志数据。In another possible implementation manner, when the log data stored on the terminal device is greater than or equal to a preset amount, the terminal device sends the stored log data to the server.
在一个例子中,终端设备上存储的日志数据大于或等于预设数量(如:预设数量可以为30条、50条、60条或100条)的情况下,向服务器发送存储的日志数据。在另一个例子中,终端设备上存储的日志数据的大小大于或等于100M的情况下,向服务器发送获取的日志数据。In one example, when the log data stored on the terminal device is greater than or equal to a preset number (eg, the preset number can be 30, 50, 60 or 100), the stored log data is sent to the server. In another example, when the size of the log data stored on the terminal device is greater than or equal to 100M, the acquired log data is sent to the server.
可选的,终端设备向服务器发送的日志数据还包括使用该终端设备的账户标识。Optionally, the log data sent by the terminal device to the server also includes an account identifier for using the terminal device.
S1002:服务器分析日志数据,得到多个第一对应关系,第一对应关系包括弹窗的特征信息与管理策略的对应关系。弹窗的特征信息包括弹窗的标识以及弹窗显示的内容等中的至少一种。S1002: The server analyzes the log data to obtain a plurality of first correspondences, where the first correspondences include correspondences between characteristic information of pop-up windows and management policies. The feature information of the pop-up window includes at least one of an identifier of the pop-up window and content displayed on the pop-up window.
可能的实现方式以及对第一对应关系的描述参考上述S602中的描述,不再赘述。For a possible implementation manner and a description of the first correspondence, refer to the description in S602 above, and details are not repeated here.
S1003:服务器向终端设备发送多个第一对应关系。S1003: The server sends multiple first correspondences to the terminal device.
S1004~S1006参考上述S603~S605中的描述,不再赘述。For S1004-S1006, refer to the description in S603-S605 above, and details will not be repeated here.
本申请实施例中,终端设备根据接收的多个第一对应关系,确定该终端设备中弹窗的管理策略,而该多个第一对应关系是基于该终端设备中的日志数据分析得到的,日志数据从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合使用该终端设备的用户的需求,对于日志数据中用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了终端设备显示的弹窗对用户使用终端设备的干扰。In the embodiment of the present application, the terminal device determines the pop-up window management strategy in the terminal device according to the received multiple first correspondences, and the multiple first correspondences are obtained based on the log data analysis in the terminal device, The log data reflects to a certain extent the preference of the user using the terminal device for the pop-up window. Therefore, the management strategy of the pop-up window determined according to the plurality of first correspondences can better meet the needs of the user using the terminal device. The terminal device will block the pop-up window in the log data that the user is not interested in, thereby reducing the interference of the pop-up window displayed by the terminal device on the user's use of the terminal device.
图11所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图11所示的弹窗管理方法可以应用于图2所示的弹窗管理系统,图11包括:FIG. 11 is a schematic flowchart of another pop-up window management method provided in the embodiment of the present application. The pop-up window management method shown in FIG. 11 can be applied to the pop-up window management system shown in FIG. 2 , and FIG. 11 includes:
S1100~S1102参考上述S1000~S1002中的描述,不再赘述。For S1100-S1102, refer to the description in S1000-S1002 above, and details are not repeated here.
S1103:终端设备获取弹窗请求,该弹窗请求用于请求启动目标弹窗。该弹窗请求可以包括目标弹窗的特征信息。目标弹窗的特征信息包括目标弹窗的标识以及目标弹窗显示的内容中的至少一种。S1103: The terminal device obtains a pop-up window request, which is used to request to start a target pop-up window. The popup request may include feature information of the target popup. The feature information of the target pop-up window includes at least one of an identifier of the target pop-up window and content displayed on the target pop-up window.
可能的实现方式参考上述S603中的描述,不再赘述。For a possible implementation manner, refer to the description in S603 above, and details are not repeated here.
S1104:终端设备向服务器发送弹窗管理请求,该弹窗管理请求用于服务器确定目标弹窗的管理策略。弹窗管理请求包括目标弹窗的特征信息。S1104: The terminal device sends a pop-up window management request to the server, and the pop-up window management request is used for the server to determine a target pop-up window management policy. The popup window management request includes characteristic information of the target popup window.
S1105:服务器根据存储的多个第一对应关系确定目标弹窗的管理策略。S1105: The server determines a management strategy for the target pop-up window according to the stored multiple first correspondences.
可能的实现方式,参考上述S604中的描述,不再赘述。For a possible implementation manner, refer to the description in S604 above, and details are not repeated here.
S1106:服务器向终端设备发送目标弹窗的管理策略。S1106: The server sends the management policy of the target pop-up window to the terminal device.
S1107:终端设备采用目标弹窗的管理策略管理目标弹窗。S1107: The terminal device manages the target pop-up window by using the management policy of the target pop-up window.
可能的实现方式以及示例,参考上述S605中的描述,不再赘述。For possible implementations and examples, refer to the description in S605 above, and details are not repeated here.
本申请实施例中,服务器根据存储的多个第一对应关系,确定该终端设备中弹窗的管理策略,而该多个第一对应关系是基于该终端设备中的日志数据分析得到的,日志数据从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,根据该多个第一对应关系确定的弹窗的管理策略更能符合使用该终端设备的用户的需求,对于日志数据中用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了终端设备显示的弹窗对用户使用终端设备的干扰。In the embodiment of the present application, the server determines the pop-up window management strategy in the terminal device according to the multiple stored first correspondences, and the multiple first correspondences are obtained based on the analysis of the log data in the terminal device. The data reflects to a certain extent the preferences of users using the terminal device for pop-up windows. Therefore, the management strategy for pop-up windows determined according to the multiple first correspondences can better meet the needs of users using the terminal device. For log For the pop-up windows in the data that the user is not interested in, the terminal device will intercept the pop-up window, thereby reducing the interference of the pop-up windows displayed by the terminal device on the user's use of the terminal device.
图12所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图12所示的弹窗管理方法可以应用于图2所示的弹窗管理系统,图12包括:FIG. 12 is a schematic flowchart of another pop-up window management method provided in the embodiment of the present application. The pop-up window management method shown in FIG. 12 can be applied to the pop-up window management system shown in FIG. 2 , and FIG. 12 includes:
S1200:服务器获取多个样本数据。样本数据包括弹窗的特征信息以及弹窗的特征信息对应的标注管理策略。S1200: The server acquires a plurality of sample data. The sample data includes the characteristic information of the pop-up window and the label management strategy corresponding to the characteristic information of the pop-up window.
可能的实现方式以及示例参考S900中的描述,不再赘述。For possible implementations and examples, refer to the description in S900, and details are not repeated here.
S1201:服务器根据该多个样本数据训练初始模型,得到管理策略的预测模型。该预测模型的输入为弹窗的特征信息,输出为管理策略。S1201: The server trains an initial model according to the plurality of sample data to obtain a prediction model of a management strategy. The input of the prediction model is the characteristic information of the pop-up window, and the output is the management strategy.
可能的实现方式以及示例参考S901中的描述,不再赘述。For possible implementations and examples, refer to the description in S901, and details are not repeated here.
S1202~S1203参考上述S1103~S1104中的描述,不再赘述。For S1202-S1203, refer to the description in S1103-S1104 above, and details are not repeated here.
S1204:服务器将目标弹窗的特征信息输入管理策略的预测模型,得到目标弹窗的管理策略。S1204: The server inputs the feature information of the target pop-up window into the prediction model of the management strategy to obtain the management strategy of the target pop-up window.
S1205:服务器向终端设备发送目标弹窗的管理策略。S1205: The server sends the management policy of the target pop-up window to the terminal device.
S1206:终端设备采用目标弹窗的管理策略管理目标弹窗。S1206: The terminal device manages the target pop-up window by using the management policy of the target pop-up window.
本申请实施例中,服务器中管理策略的预测模型是基于样本数据训练得到的,样本数据可以是基于终端设备的日志数据标注得到的。日志数据从一定程度上反映了使用该终端设备的用户对弹窗的喜好,因此,该管理策略的预测模型输出的管理策略更趋向于符合使用该终端设备的用户的需求,对于日志数据中用户不感兴趣的弹窗,终端设备将拦截该弹窗,减少了终端设备中显示的弹窗对用户使用终端设备的干扰。In the embodiment of the present application, the prediction model of the management policy in the server is trained based on sample data, and the sample data may be obtained based on the annotation of log data of terminal devices. To a certain extent, the log data reflects the preferences of the users who use the terminal equipment for pop-up windows. Therefore, the management strategy output by the prediction model of the management strategy tends to meet the needs of the users who use the terminal equipment. For pop-up windows that are not of interest, the terminal device will intercept the pop-up window, reducing the interference of pop-up windows displayed on the terminal device on the user's use of the terminal device.
可以理解的是,上述服务器训练得到的管理策略的预测模型可以发送给终端设备,终端设备将弹窗的特征信息输入管理策略的预测模型,得到弹窗的管理策略,并采用弹窗的管理策略管理弹窗。对于日志数据中使用该终端设备的用户不感兴趣的弹窗,终端设备仍然可以拦截该弹窗的管理策略,减少了终端设备中显示的弹窗对用户使用终端设备的干扰。It can be understood that the prediction model of the management strategy obtained by the above server training can be sent to the terminal device, and the terminal device inputs the feature information of the pop-up window into the prediction model of the management strategy to obtain the management strategy of the pop-up window, and adopt the management strategy of the pop-up window Manage popups. For the pop-up window in the log data that the user using the terminal device is not interested in, the terminal device can still intercept the management policy of the pop-up window, reducing the interference of the pop-up window displayed on the terminal device to the user's use of the terminal device.
图13所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图13所示的弹窗管理方法可以应用于图3所示的弹窗管理系统,图13包括:FIG. 13 is a schematic flowchart of another pop-up window management method provided in the embodiment of the present application. The pop-up window management method shown in FIG. 13 can be applied to the pop-up window management system shown in FIG. 3 , and FIG. 13 includes:
S1301:第一终端设备将用户对弹窗的操作信息记录在第一日志数据中。S1301: The first terminal device records the user's operation information on the pop-up window in the first log data.
S1301':第二终端设备将用户对弹窗的操作信息记录在第二日志数据中。S1301': The second terminal device records the user's operation information on the pop-up window in the second log data.
S1301以及S1301'的描述以及示例,参考上述S600中的描述,不再赘述。For descriptions and examples of S1301 and S1301', refer to the description in S600 above, and details are not repeated here.
S1302:第一终端设备向服务器发送第一日志数据。S1302: The first terminal device sends the first log data to the server.
S1302':第二终端设备向服务器发送第二日志数据。S1302': The second terminal device sends the second log data to the server.
可选的,第一日志数据还包括使用第一终端设备的用户的账户标识。第二日志数据包括使用第二终端设备的用户的账户标识。Optionally, the first log data further includes an account identifier of a user using the first terminal device. The second log data includes an account identifier of a user using the second terminal device.
S1303:服务器分析第一日志数据和第二日志数据,得到多个第二对应关系。第二对应关系包括弹窗的特征信息与管理策略的对应关系。弹窗的特征信息包括弹窗的标识以及弹窗显示的内容等中的至少一种。S1303: The server analyzes the first log data and the second log data to obtain multiple second correspondences. The second correspondence includes the correspondence between the feature information of the pop-up window and the management policy. The feature information of the pop-up window includes at least one of an identifier of the pop-up window and content displayed on the pop-up window.
可以理解的是,第二对应关系是基于大数据得到的通用性对应关系。本申请实施例仅以两个终端设备为例进行说明。It can be understood that the second correspondence is a general correspondence obtained based on big data. This embodiment of the present application only uses two terminal devices as an example for description.
可能的实现方式中,在服务器确定获取的日志数据中的弹窗拦截日志中包括目标弹窗的标识的情况下,服务器确定目标弹窗的特征信息对应的管理策略为第一管理策略。在服务器确定获取的日志数据中的弹窗拦截日志中不包括目标弹窗的标识,且目标数量占服务器获取的目标弹窗的日志数据总数量的比值大于预设阈值的情况下,服务器确定目标弹窗的特征信息对应的管理策略为第二管理策略。在服务器确定获取的日志数据中的弹窗拦截日志中不包括目标弹窗的标识,且目标数量占总数量的比值小于或等于预设阈值的情况下,服务器确定目标弹窗的特征信息对应的管理策略为第一管理策略。目标数量为表征用户对目标弹窗感兴趣的日志数据的数量。In a possible implementation, when the server determines that the pop-up interception log in the acquired log data includes the identifier of the target pop-up window, the server determines that the management policy corresponding to the characteristic information of the target pop-up window is the first management policy. When the server determines that the pop-up interception log in the acquired log data does not include the identification of the target pop-up window, and the ratio of the number of targets to the total number of log data of the target pop-up window acquired by the server is greater than the preset threshold, the server determines the target The management strategy corresponding to the characteristic information of the pop-up window is the second management strategy. When the server determines that the pop-up interception log in the acquired log data does not include the identification of the target pop-up window, and the ratio of the number of targets to the total number is less than or equal to the preset threshold, the server determines that the feature information of the target pop-up window corresponds to The management policy is the first management policy. The target quantity is the quantity of log data representing the user's interest in the target pop-up window.
在一个例子中,服务器获取的日志数据中的弹窗拦截日志中不包括第一弹窗的标识,若目标日志数据中超过80%的日志数据记录用户在第一弹窗启动后,关闭了第一弹窗。服务器为第一弹窗的特征信息确定的管理策略为第一管理策略。其中,目标日志数据为第一日志数据和第二日志数据中用户对第一弹窗的操作信息对应的日志数据。In one example, the pop-up blocking log in the log data obtained by the server does not include the identification of the first pop-up window. If more than 80% of the log data in the target log data records that the user closed the second pop-up window after A pop-up window. The management strategy determined by the server for the characteristic information of the first pop-up window is the first management strategy. Wherein, the target log data is the log data corresponding to the user's operation information on the first pop-up window in the first log data and the second log data.
可选的,S1304:服务器分析第一日志数据,得到第一账户标识的多个第一对应关系。服务器分析第二日志数据,得到第二账户标识的多个第一对应关系。第一账户标识为使用第一终端设备的用户的账户标识,第二账户标识为使用第二终端设备的用户的账户标识。Optionally, S1304: The server analyzes the first log data to obtain multiple first correspondences of the first account identifiers. The server analyzes the second log data to obtain multiple first correspondences of the second account identifiers. The first account identifier is the account identifier of the user using the first terminal device, and the second account identifier is the account identifier of the user using the second terminal device.
可能的实现方式以及示例参考上述S602中的描述,不再赘述。For possible implementations and examples, refer to the description in S602 above, and details are not repeated here.
S1305:服务器向第一终端设备发送得到的多个第二对应关系以及第一账户标识的多个第一对应关系。S1305: The server sends the obtained multiple second correspondences and the multiple first correspondences of the first account identifier to the first terminal device.
S1305':服务器向第二终端设备发送得到的多个第二对应关系以及第二账户标识的多个第一对应关系。S1305': The server sends the obtained multiple second correspondences and the multiple first correspondences of the second account identifiers to the second terminal device.
S1306:第一终端设备获取弹窗请求,该弹窗请求用于请求启动目标弹窗。该弹窗请求可以包括目标弹窗的特征信息。目标弹窗的特征信息包括目标弹窗的标识以及目标弹窗显示的内容中的至少一种。S1306: The first terminal device obtains a pop-up window request, where the pop-up window request is used to request to start a target pop-up window. The popup request may include feature information of the target popup. The feature information of the target pop-up window includes at least one of an identifier of the target pop-up window and content displayed on the target pop-up window.
可能的实现方式以及相关说明,参考上述S603中的描述,不再赘述。For possible implementations and related descriptions, refer to the description in S603 above, and details are not repeated here.
S1307:第一终端设备根据多个第二对应关系以及第一账户标识的多个第一对应关系,确定目标弹窗的管理策略。S1307: The first terminal device determines a management strategy for the target pop-up window according to the multiple second correspondences and the multiple first correspondences of the first account identifier.
可能的实现方式中,在第一对应关系中包括目标弹窗的特征信息对应的管理策略的情况下,第一终端设备将目标弹窗的特征信息对应的管理策略确定为目标弹窗的管理策略。这样,多个第一对应关系反映了使用第一终端设备的用户对弹窗的喜好,因此,根据多个第一对应关系确定的管理策略理论上更符合该用户的需求,有助于减少弹窗的出现对该用户使用第一终端设备的干扰。In a possible implementation, if the first correspondence includes the management policy corresponding to the feature information of the target pop-up window, the first terminal device determines the management policy corresponding to the feature information of the target pop-up window as the management policy of the target pop-up window . In this way, the multiple first correspondences reflect the user's preference for pop-up windows using the first terminal device. Therefore, the management strategy determined according to the multiple first correspondences is theoretically more in line with the needs of the user and helps to reduce pop-up windows. The appearance of the window interferes with the user's use of the first terminal device.
在第一对应关系中不包括目标弹窗的特征信息对应的管理策略,但第二对应关系中包括目标弹窗的特征信息对应的管理策略的情况下,第一终端设备将目标弹窗的特征信息对应的管理策略确定为目标弹窗的管理策略。这样,多个第二对应关系反映了大多数用户对弹窗的喜好,根据第二对应关系确定的管理策略可以拦截大多数用户不感兴趣的弹窗,减少弹窗的显示对用户使用第一终端设备的干扰。In the case that the management policy corresponding to the feature information of the target pop-up window is not included in the first correspondence, but the management policy corresponding to the feature information of the target pop-up window is included in the second correspondence, the first terminal device uses the feature information of the target pop-up window The management policy corresponding to the information is determined as the management policy of the target pop-up window. In this way, multiple second correspondences reflect the preferences of most users for pop-up windows, and the management strategy determined according to the second correspondence can intercept pop-up windows that most users are not interested in, reducing the impact of pop-up windows on users using the first terminal. device interference.
在第一对应关系以及第二对应关系中均不包括目标弹窗的特征信息对应的管理策略的情况下,第一终端设备确定目标弹窗的管理策略为第二管理策略。终端设备允许其运行。In the case that neither the first correspondence nor the second correspondence includes the management policy corresponding to the characteristic information of the target pop-up window, the first terminal device determines that the management policy of the target pop-up window is the second management policy. The end device allows it to operate.
S1308:第一终端设备采用目标弹窗的管理策略管理目标弹窗。S1308: The first terminal device manages the target pop-up window using the management policy of the target pop-up window.
可能的实现方式以及示例,参考上述S605中的描述,不再赘述。For possible implementations and examples, refer to the description in S605 above, and details are not repeated here.
可以理解的是,第二终端设备也可以通过上述S1306~S1308的方式为其上的弹窗确定管理策略,并采用管理策略管理弹窗。不再赘述。It can be understood that, the second terminal device may also determine a management policy for the pop-up windows on it in the manner of S1306-S1308, and use the management policy to manage the pop-up windows. No longer.
本申请实施例中,由终端设备获取日志数据,并发送给服务器,服务器分析来自多个终端设备的日志数据,得到多个第二对应关系,并发送给终端设备,该多个第二对应关系可以用于终端设备确定弹窗的管理策略。该多个第二对应关系从一定程度上反映了大多数用户可能感兴趣以及可能不感兴趣的弹窗,这样,终端设备根据该多个第二对应关系确定的管理策略更能符合大多数用户的需求,对于日志数据中用户不感兴趣的弹窗,终端设备会拦截该弹窗,从而减少了弹窗的显示对用户使用终端设备的干扰。In the embodiment of the present application, the terminal device acquires log data and sends it to the server. The server analyzes the log data from multiple terminal devices to obtain multiple second correspondences and sends them to the terminal device. The multiple second correspondences It can be used for terminal devices to determine the management policy of pop-up windows. The multiple second correspondences reflect to a certain extent the pop-up windows that most users may or may not be interested in. In this way, the management policy determined by the terminal device according to the multiple second correspondences can better meet the needs of most users. Requirements, for the pop-up windows in the log data that the user is not interested in, the terminal device will intercept the pop-up window, thereby reducing the interference of the display of the pop-up window on the user's use of the terminal device.
如图14所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图14所示的弹窗管理方法可以应用于图3所示的弹窗管理系统,图14所示的弹窗管理方法包括如下步骤:As shown in Figure 14, it is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application. The pop-up window management method shown in Figure 14 can be applied to the pop-up window management system shown in Figure 3, and the pop-up window management system shown in Figure 14 The pop-up window management method includes the following steps:
S1400:服务器获取多个样本数据。样本数据包括弹窗的特征信息以及弹窗的特征信息对应的标注管理策略。S1400: The server acquires multiple sample data. The sample data includes the characteristic information of the pop-up window and the label management strategy corresponding to the characteristic information of the pop-up window.
需要说明的是,服务器中的多个样本数据可以是人工导入或接收其他设备发送的,本申请实施例对此不进行限定。It should be noted that the multiple sample data in the server may be manually imported or received from other devices, which is not limited in this embodiment of the present application.
S1401:服务器根据该多个样本数据训练初始模型,得到管理策略的预测模型。管理策略的预测模型的输入为弹窗的特征信息,输出为管理策略。S1401: The server trains an initial model according to the plurality of sample data to obtain a prediction model of the management strategy. The input of the predictive model of the management strategy is the feature information of the pop-up window, and the output is the management strategy.
可能的实现方式,参考上述S901中终端设备训练初始模型得到管理策略的预测模型的描述,不再赘述。For a possible implementation manner, refer to the description in S901 above that the terminal device trains the initial model to obtain the prediction model of the management policy, and details are not repeated here.
S1402~S1402':服务器分别向第一终端设备和第二终端设备发送训练得到的管理策略的预测模型。S1402-S1402': The server sends the predicted models of the management policies obtained through training to the first terminal device and the second terminal device respectively.
S1403~S1405参考上述S902~S904中的描述,不再赘述。For S1403-S1405, refer to the description in S902-S904 above, and details are not repeated here.
本申请实施例中,终端设备中管理策略的预测模型是服务器基于多个样本数据训练得到的,多个样本数据可以基于终端设备的日志数据标注得到。日志数据从一定程度上反映了大多数用户对弹窗的喜好,因此,该管理策略的预测模型输出的管理策略更趋向于符合大多数用户的需求,对于日志数据中使用该终端设备的大多数用户不感兴趣的弹窗,终端设备将会实施拦截该弹窗的管理策略,减少了终端设备中显示的弹窗对用户使用终端设备的干扰。In the embodiment of the present application, the prediction model of the management policy in the terminal device is obtained by the server through training based on multiple sample data, and the multiple sample data can be obtained based on the terminal device's log data annotation. The log data reflects the preference of most users for pop-up windows to a certain extent. Therefore, the management strategy output by the predictive model of the management strategy tends to meet the needs of most users. For the majority of users using the terminal device in the log data For pop-up windows that the user is not interested in, the terminal device will implement a management strategy to intercept the pop-up window, reducing the interference of pop-up windows displayed on the terminal device on the user's use of the terminal device.
可以理解的是,图14所示的弹窗管理方法中,服务器也可以不向终端设备发送管理策略的预测模型,终端设备向服务器发送弹窗管理请求,服务器将弹窗管理请求中的弹窗的特征信息输入管理策略的预测模型得到弹窗的管理策略,并将得到的管理策略发送给终端设备,以使终端设备使用管理策略管理弹窗。同样可以减少弹窗的显示对用户使用终端设备的影响。It can be understood that, in the pop-up window management method shown in FIG. 14, the server may not send the prediction model of the management strategy to the terminal device, the terminal device sends a pop-up window management request to the server, and the server sends the pop-up window management request The feature information of the input is input into the prediction model of the management strategy to obtain the management strategy of the pop-up window, and the obtained management strategy is sent to the terminal device, so that the terminal device uses the management strategy to manage the pop-up window. It is also possible to reduce the impact of the display of the pop-up window on the user's use of the terminal device.
如图15所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图15所示方法包括如下步骤:As shown in FIG. 15, it is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application. The method shown in FIG. 15 includes the following steps:
S1500:终端设备获取弹窗请求,该弹窗请求用于请求启动目标弹窗。该弹窗请求可以包括目标弹窗的特征信息。目标弹窗的特征信息包括目标弹窗的标识以及目标弹窗显示的内容中的至少一种。S1500: The terminal device acquires a pop-up window request, where the pop-up window request is used to request to start a target pop-up window. The popup request may include feature information of the target popup. The feature information of the target pop-up window includes at least one of an identifier of the target pop-up window and content displayed on the target pop-up window.
可能的实现方式参考上述S603中的描述,不再赘述。For a possible implementation manner, refer to the description in S603 above, and details are not repeated here.
S1501:终端设备向服务器发送弹窗管理请求,该弹窗管理请求用于服务器根据目标弹窗的特征信息确定目标弹窗的管理策略。S1501: The terminal device sends a pop-up window management request to the server, and the pop-up window management request is used for the server to determine a management policy of the target pop-up window according to characteristic information of the target pop-up window.
S1502:服务器确定目标弹窗的管理策略。S1502: The server determines the management policy of the target pop-up window.
一种可能的实现方式,参考上述S1105中服务器确定目标弹窗的管理策略的描述。不再赘述。For a possible implementation, refer to the description of the server determining the management policy of the target pop-up window in S1105 above. No longer.
另一种可能的实现方式中,参考上述S1204中的描述。服务器将目标弹窗的特征信息输入管理策略的预测模型,得到目标弹窗的管理策略。For another possible implementation manner, refer to the description in S1204 above. The server inputs the characteristic information of the target pop-up window into the prediction model of the management strategy to obtain the management strategy of the target pop-up window.
S1503:服务器向终端设备发送目标弹窗的管理策略。S1503: The server sends the management policy of the target pop-up window to the terminal device.
S1504:终端设备采用目标弹窗的管理策略管理目标弹窗。S1504: The terminal device manages the target pop-up window by using the management policy of the target pop-up window.
本申请实施例中,终端设备可以请求服务器为目标弹窗确定管理策略,而服务器在确定目标弹窗的管理策略的过程中,无论依据存储的对应关系,还是依据训练好的管理策略的预测模型,均参考了日志数据,而日志数据反映了使用该终端设备用户对弹窗的喜好和/或大多数用户对弹窗的喜好,因此,对于日志数据中使用该终端设备的用户不感兴趣的弹窗和/或大多数用户不感兴趣的弹窗,服务器确定该弹窗的管理策略用于指示拦截该弹窗,这样,有助于减少终端设备中显示的弹窗对用户使用终端设备的干扰。In the embodiment of this application, the terminal device can request the server to determine the management strategy for the target pop-up window, and the server determines the management strategy of the target pop-up window, regardless of whether it is based on the stored correspondence or the predicted model of the trained management strategy , all refer to the log data, and the log data reflects the preferences of users using the terminal device for pop-up windows and/or the preferences of most users for pop-up windows. window and/or a pop-up window that most users are not interested in, the server determines that the management policy of the pop-up window is used to instruct to block the pop-up window, thus helping to reduce the interference of the pop-up window displayed on the terminal device to the user's use of the terminal device.
如图16所示为本申请实施例提供的另一种弹窗管理方法的流程示意图,图16所示方法包括如下步骤:Figure 16 is a schematic flowchart of another pop-up window management method provided by the embodiment of the present application. The method shown in Figure 16 includes the following steps:
S1600:终端设备获取弹窗请求,该弹窗请求用于请求启动目标弹窗。该弹窗请求可以包括目标弹窗的特征信息。目标弹窗的特征信息包括目标弹窗的标识以及目标弹窗显示的内容中的至少一种。S1600: The terminal device acquires a pop-up window request, where the pop-up window request is used to request to start a target pop-up window. The popup request may include feature information of the target popup. The feature information of the target pop-up window includes at least one of an identifier of the target pop-up window and content displayed on the target pop-up window.
可能的实现方式及相关说明参考上述S603中的描述,不再赘述。For possible implementations and related descriptions, refer to the description in S603 above, and details are not repeated here.
S1601:终端设备确定目标弹窗的管理策略是否用于表征允许运行目标弹窗,若是,则执行S1602,若否,则执行S1606。S1601: The terminal device determines whether the management policy of the target pop-up window is used to indicate that the target pop-up window is allowed to run, if yes, execute S1602, and if not, execute S1606.
一种可能的实现方式,参考上述S1105中的描述。不再赘述。For a possible implementation manner, refer to the description in S1105 above. No longer.
另一种可能的实现方式中,参考上述S1204中的描述。不再赘述。For another possible implementation manner, refer to the description in S1204 above. No longer.
S1602:终端设备根据目标弹窗的特征信息以及目标弹窗的管理策略,显示弹窗提示信息以及目标弹窗的控制控件。该弹窗提示信息用于提示用户选择不同的控制控件以拦截弹窗或允许运行弹窗。S1602: The terminal device displays the prompt information of the pop-up window and the control controls of the target pop-up window according to the characteristic information of the target pop-up window and the management strategy of the target pop-up window. The prompt information of the pop-up window is used to prompt the user to select different controls to block the pop-up window or allow the pop-up window to run.
在一个例子中,如图17所示终端设备获取的弹窗提示信息为:目标弹窗包括A产品的活动信息,拦截目标弹窗请点击拦截按钮,允许运行目标弹窗请点击运行按钮。In one example, as shown in Figure 17, the prompt information of the pop-up window obtained by the terminal device is: the target pop-up window includes the activity information of product A, please click the intercept button to block the target pop-up window, and click the run button to allow the target pop-up window to run.
S1603:终端设备在界面中接收用户指令,该用户指令用于控制终端设备拦截目标弹窗,或该用户指令用于控制终端设备启动目标弹窗。S1603: The terminal device receives a user instruction in the interface, where the user instruction is used to control the terminal device to intercept the target pop-up window, or the user instruction is used to control the terminal device to start the target pop-up window.
S1604:终端设备响应于用户指令,拦截目标弹窗或启动目标弹窗。S1604: The terminal device intercepts the target pop-up window or starts the target pop-up window in response to the user instruction.
S1605:终端设备根据用户指令以及目标弹窗的特征信息更新终端设备中存储的弹窗的特征信息与管理策略的对应关系,或者,终端设备根据用户指令以及目标弹窗的特征信息训练终端设备中预置的管理策略的预测模型。S1605: The terminal device updates the corresponding relationship between the feature information of the pop-up window stored in the terminal device and the management policy according to the user instruction and the feature information of the target pop-up window, or the terminal device trains the terminal device according to the user instruction and the feature information of the target pop-up window Predictive models for prebuilt management strategies.
本申请实施例对S1604与S1605的执行顺序不进行限定,示例性的,执行了S1605之后再执行S1604。The embodiment of the present application does not limit the execution order of S1604 and S1605. For example, S1604 is executed after S1605 is executed.
S1606:终端设备拦截目标弹窗。S1606: The terminal device intercepts the target pop-up window.
本申请实施例中,终端设备可以更准确的获取用户对弹窗的喜好(例如,用户希望拦截目标弹窗或运行目标弹窗),根据用户指令拦截目标弹窗或运行目标弹窗,并根据获取的用户对弹窗的喜好更新终端设备中存储的弹窗的特征信息与管理策略的对应关系(如上述第一对应关系和/或第二对应关系),或者,根据获取的用户对弹窗的喜好更新终端设备中存储的管理策略的预测模型,更新后的对应关系或管理策略的预测模型确定的管理策略更符合用户的喜好,进一步减少了弹窗的显示对用户使用终端设备的干扰。In the embodiment of the present application, the terminal device can more accurately obtain the user's preference for the pop-up window (for example, the user wants to intercept the target pop-up window or run the target pop-up window), intercept the target pop-up window or run the target pop-up window according to the user's instruction, and The obtained user's preferences for pop-up windows update the corresponding relationship between the characteristic information of the pop-up windows stored in the terminal device and the management strategy (such as the first correspondence and/or the second correspondence above), or, according to the acquired user preference for the pop-up window The prediction model of the management strategy stored in the terminal device is updated according to the preferences, and the management strategy determined by the updated corresponding relationship or the prediction model of the management strategy is more in line with the user's preference, further reducing the interference of the display of pop-up windows on the user's use of the terminal device.
上面对本申请实施例提供的方法进行了说明,下面对本申请实施例提供的执行上述方法的装置进行描述。示例性的,图2所示的本申请实施例提供的一种弹窗管理系统的结构示意图。该弹窗管理系统包括服务器201和终端设备202;其中,终端设备202用于记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备202还用于向服务器201发送第一操作信息;第一操作信息用于服务器201得到多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;终端设备202用于获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备202用于向服务器201发送弹窗管理请求;弹窗管理请求用于服务器201确定目标弹窗的管理策略;弹窗管理请求包括目标用户的账户标识以及目标弹窗的特征信息;服务器201用于根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;服务器201还用于向终端设备202发送目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备202用于拦截目标弹窗。例如:结合图11终端设备202可以用于执行S1100、S1101中的发送步骤、S1103、S1104中的发送步骤、S1106中的接收步骤以及S1107。服务器201可以用于执行S1101中的接收步骤、S1102、S1104中的接收步骤、S1105以及S1106中的发送步骤。The method provided by the embodiment of the present application is described above, and the device for performing the above method provided by the embodiment of the present application is described below. Exemplarily, FIG. 2 is a schematic structural diagram of a pop-up window management system provided by an embodiment of the present application. The pop-up window management system includes a server 201 and a terminal device 202; wherein the terminal device 202 is used to record the first operation information of the target user on the pop-up window; the first operation information includes: the target user's account identifier, the pop-up window identifier, the pop-up window The content displayed in the window and the running time information of the pop-up window; the terminal device 202 is also used to send the first operation information to the server 201; the first operation information is used for the server 201 to obtain multiple first correspondences; the first correspondence includes the pop-up window The corresponding relationship between the feature information of the pop-up window and the management strategy; the feature information of the pop-up window includes at least one of the logo of the pop-up window or the content displayed in the pop-up window; the terminal device 202 is used to obtain the pop-up window request; the pop-up window request is used to request Start the target pop-up window; the terminal device 202 is used to send a pop-up window management request to the server 201; the pop-up window management request is used for the server 201 to determine the management strategy of the target pop-up window; Feature information; the server 201 is used to determine the target management policy corresponding to the feature information of the target pop-up window according to multiple first correspondences; the server 201 is also used to send the target management policy to the terminal device 202; the target management policy is used to indicate interception In the case of a target pop-up window, the terminal device 202 is used to intercept the target pop-up window. For example: with reference to FIG. 11 , the
可选的,上述第一对应关系包括下述的一种或多种:第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。其中,预设关键字、预设图像特征或预设链接可以表征包括有害信息的特征,第二特征信息体现了第一操作信息中目标用户不感兴趣的弹窗的特征信息,第三特征信息体现了第一操作信息中目标用户感兴趣的弹窗的特征信息。这样,根据第一对应关系确定的目标管理策略更能符合目标用户的需求,对于第一操作信息中目标用户不感兴趣的弹窗,终端设备202会拦截该弹窗,对于第一操作信息中目标用户感兴趣的弹窗,终端设备202则允许其运行,对于包括有害信息的弹窗,终端设备202拦截该弹窗。从而减少了终端设备202显示的弹窗对目标用户使用终端设备202的干扰。Optionally, the above-mentioned first correspondence includes one or more of the following: a correspondence between the first feature information and the first management policy; the first management policy is used to indicate the interception of pop-up windows; the first feature information includes One or more of preset keywords, preset image features, or preset links; or, the corresponding relationship between account identifiers, second feature information, and first management policies; the second feature information includes: The historical running time recorded in the operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account identification, the third The corresponding relationship between the feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; wherein, The second management policy is used to indicate that the pop-up window is allowed to run. Among them, the preset keywords, preset image features or preset links can represent features including harmful information, the second feature information reflects the feature information of pop-up windows that the target user is not interested in in the first operation information, and the third feature information reflects The feature information of the pop-up window that the target user is interested in in the first operation information is obtained. In this way, the target management strategy determined according to the first corresponding relationship can better meet the needs of the target user. For the pop-up window in the first operation information that the target user is not interested in, the
可选的,在服务器201确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,服务器201用于确定目标管理策略为第一管理策略。Optionally, when the
可选的,上述第一对应关系是服务器201根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。Optionally, the above-mentioned first correspondence is obtained by the
可选的,在多个第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,服务器201用于根据多个第二对应关系确定目标管理策略;多个第二对应关系是服务器201根据第二操作信息得到的;第二操作信息为来自多个设备记录的使用设备的用户对弹窗的操作信息。Optionally, when the management policy corresponding to the feature information of the target pop-up window is not included in the multiple first correspondences, the
可选的,第二对应关系包括下述的一种或多种:第四特征信息与第一管理策略的对应关系;第四特征信息包括:在弹窗拦截日志中的弹窗的标识;弹窗拦截日志为第二操作信息中记录的其他拦截工具对弹窗的拦截日志;其他拦截工具包括浏览器、系统或应用程序中的至少一种;第一管理策略用于指示拦截弹窗;或者,第五特征信息与第一管理策略之间的对应关系;第五特征信息包括:在第二操作信息中记录的目标数量在任一弹窗的日志数据的总数量中的占比小于或者等于预设阈值的任一弹窗的标识,目标数量为目标日志数据的数量;目标日志数据为:任一弹窗的历史运行时长大于或者等于预设时长的日志数据;或者,第六特征信息与第二管理策略之间的对应关系,第六特征信息包括:在第二操作信息中记录的占比大于预设阈值的任一弹窗的标识;第二管理策略用于指示允许运行弹窗。Optionally, the second correspondence includes one or more of the following: the correspondence between the fourth feature information and the first management strategy; the fourth feature information includes: the identification of the pop-up window in the pop-up interception log; The window interception log is the interception log of other interception tools for pop-up windows recorded in the second operation information; other interception tools include at least one of browser, system or application program; the first management policy is used to instruct interception of pop-up windows; or , the corresponding relationship between the fifth feature information and the first management strategy; the fifth feature information includes: the proportion of the number of targets recorded in the second operation information in the total amount of log data of any pop-up window is less than or equal to the preset The identification of any pop-up window with a threshold value, the target number is the number of target log data; the target log data is: the log data whose historical running time of any pop-up window is greater than or equal to the preset duration; or, the sixth characteristic information and the first The corresponding relationship between the two management policies, the sixth feature information includes: the identification of any pop-up window recorded in the second operation information whose proportion is greater than the preset threshold; the second management policy is used to indicate that the pop-up window is allowed to run.
可选的,在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备202用于运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备202用于显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备202接收到针对不允许运行目标弹窗的控件的触发时,终端设备202用于拦截目标弹窗;终端设备202还用于向服务器201发送目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息,发送的信息用于服务器201更新多个第一对应关系。Optionally, when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device 202 is used to run the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run , the terminal device 202 is used to display pop-up window prompt information and the control controls of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the operation of the target pop-up window, and the control control includes a control for receiving permission to run the target pop-up window, and To receive the control that does not allow the operation of the target pop-up window; when the terminal device 202 receives the trigger for the control that does not allow the operation of the target pop-up window, the terminal device 202 is used to intercept the target pop-up window; the terminal device 202 is also used to send to the server 201 The account identifier of the target user, characteristic information of the target pop-up window, and indication information for instructing to intercept the target pop-up window, the information sent is used by the server 201 to update the plurality of first correspondences.
图3所示的本申请实施例提供的另一种弹窗管理系统的结构示意图。该弹窗管理系统包括服务器301和终端设备302(如:图3中的终端设备302-1和终端设备302-2);其中,弹窗管理系统包括服务器301和终端设备302;终端设备302用于记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;终端设备302还用于向服务器301发送第一操作信息;服务器301用于根据第一操作信息确定多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;服务器301用于向终端设备302发送多个第一对应关系;终端设备302还用于获取弹窗请求;弹窗请求用于请求启动目标弹窗;终端设备302用于根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,终端设备302用于拦截目标弹窗。例如,结合图10,终端设备302可以用于执行S1000、S1001中的发送步骤、S1003中的接收步骤、S1004~S1006,服务器301可以用于执行S1001中的接收步骤、S1002以及S1003中的发送步骤。结合图13,终端设备302可以用于执行S1301、S1301'、S1302的发送步骤以及S1302'中的发送步骤,S1305以及S1305'中的接收步骤,S1306~S1308。服务器301可以用于执行S1302中的接收步骤以及S1302'中的接收步骤,S1303~S1304,S1305中的发送步骤以及S1305'中的发送步骤。FIG. 3 is a schematic structural diagram of another pop-up window management system provided by the embodiment of the present application. This pop-up window management system includes server 301 and terminal equipment 302 (such as: terminal equipment 302-1 and terminal equipment 302-2 among Fig. 3); Wherein, pop-up window management system includes server 301 and terminal equipment 302; Terminal equipment 302 uses It is used to record the first operation information of the target user on the pop-up window; the first operation information includes: the account identifier of the target user, the logo of the pop-up window, the content displayed on the pop-up window, and the running time information of the pop-up window; the terminal device 302 is also used to send The server 301 sends the first operation information; the server 301 is used to determine a plurality of first correspondences according to the first operation information; the first correspondence includes the correspondence between the characteristic information of the pop-up window and the management strategy; the characteristic information of the pop-up window includes At least one of the identification of the pop-up window or the content displayed in the pop-up window; the server 301 is used to send a plurality of first correspondences to the terminal device 302; the terminal device 302 is also used to obtain a pop-up window request; the pop-up window request is used to request activation The target pop-up window; the terminal device 302 is used to determine the target management strategy corresponding to the characteristic information of the target pop-up window according to a plurality of first correspondences; when the target management strategy is used to indicate the interception of the target pop-up window, the terminal device 302 is used to Intercept targeted popups. For example, with reference to FIG. 10, the terminal device 302 can be used to perform the sending steps in S1000 and S1001, the receiving steps in S1003, S1004-S1006, and the
可选的,第一对应关系包括下述的一种或多种:第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,该链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。Optionally, the first correspondence includes one or more of the following: a correspondence between the first feature information and the first management policy; the first management policy is used to indicate interception of pop-up windows; the first feature information includes preset Set one or more of keywords, preset image features, or preset links; or, account identification, correspondence between the second feature information and the first management strategy; the second feature information includes: The historical running time recorded in the information is less than the preset time, and includes the identification of the pop-up window of the control or link, where the control is a control with adjustment or link function, and the link is different from the preset link; or, account identification, third party The corresponding relationship between the feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; wherein, The second management policy is used to indicate that the pop-up window is allowed to run.
可选的,终端设备302具体用于:在终端设备302确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,确定目标管理策略为第一管理策略。Optionally, the terminal device 302 is specifically configured to: determine that the target management policy is the first management policy when the terminal device 302 determines the first management policy corresponding to the characteristic information of the target pop-up window among the plurality of first correspondences.
可选的,第一对应关系是服务器301根据预先训练的神经网络模型得到的,神经网络模型是基于第一样本数据训练得到的,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。Optionally, the first corresponding relationship is obtained by the
可选的,在多个第一对应关系中不包括目标弹窗的特征信息对应的管理策略的情况下,终端设备302用于根据多个第二对应关系确定目标管理策略;多个第二对应关系是服务器301根据第二操作信息得到的;第二操作信息为来自多个设备记录的使用设备的用户对弹窗的操作信息。Optionally, in the case that the management policy corresponding to the characteristic information of the target pop-up window is not included in the multiple first correspondences, the terminal device 302 is configured to determine the target management policy according to the multiple second correspondences; the multiple second correspondences The relationship is obtained by the
可选的,第二对应关系包括下述的一种或多种:第四特征信息与第一管理策略的对应关系;第四特征信息包括:在弹窗拦截日志中的弹窗的标识;弹窗拦截日志为第二操作信息中记录的其他拦截工具对弹窗的拦截日志;其他拦截工具包括浏览器、系统或应用程序中的至少一种;第一管理策略用于指示拦截弹窗;或者,第五特征信息与第一管理策略之间的对应关系;第五特征信息包括:在第二操作信息中记录的目标数量在任一弹窗的日志数据的总数量中的占比小于或者等于预设阈值的任一弹窗的标识,目标数量为目标日志数据的数量;目标日志数据为:任一弹窗的历史运行时长大于或者等于预设时长的日志数据;或者,第六特征信息与第二管理策略之间的对应关系,第六特征信息包括:在第二操作信息中记录的占比大于预设阈值的任一弹窗的标识;第二管理策略用于指示允许运行弹窗。Optionally, the second correspondence includes one or more of the following: the correspondence between the fourth feature information and the first management strategy; the fourth feature information includes: the identification of the pop-up window in the pop-up interception log; The window interception log is the interception log of other interception tools for pop-up windows recorded in the second operation information; other interception tools include at least one of browser, system or application program; the first management policy is used to instruct interception of pop-up windows; or , the corresponding relationship between the fifth feature information and the first management strategy; the fifth feature information includes: the proportion of the number of targets recorded in the second operation information in the total amount of log data of any pop-up window is less than or equal to the preset The identification of any pop-up window with a threshold value, the target number is the number of target log data; the target log data is: the log data whose historical running time of any pop-up window is greater than or equal to the preset duration; or, the sixth characteristic information and the first The corresponding relationship between the two management policies, the sixth feature information includes: the identification of any pop-up window recorded in the second operation information whose proportion is greater than the preset threshold; the second management policy is used to indicate that the pop-up window is allowed to run.
可选的,在目标管理策略用于指示允许运行目标弹窗的情况下,终端设备302用于运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,终端设备302用于显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备302接收到针对不允许运行目标弹窗的控件的触发时,终端设备302用于拦截目标弹窗;终端设备302还用于根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系。Optionally, when the target management policy is used to indicate that the target pop-up window is allowed to run, the terminal device 302 is used to run the target pop-up window; or, when the target pop-up window management policy is used to indicate that the target pop-up window is allowed to run , the terminal device 302 is used to display pop-up window prompt information and the control controls of the target pop-up window; the pop-up window prompt information is used to prompt the user whether to allow the operation of the target pop-up window, and the control control includes a control for receiving permission to run the target pop-up window, and To receive a control that is not allowed to run a target pop-up window; when the terminal device 302 receives a trigger for a control that is not allowed to run a target pop-up window, the terminal device 302 is used to intercept the target pop-up window; the terminal device 302 is also used to intercept the target pop-up window according to the target user's The account identifier, the characteristic information of the target pop-up window, and the instruction information for instructing to intercept the target pop-up window update the multiple first correspondences.
可选的,上述第一对应关系是服务器301根据预先训练的神经网络模型得到的情况下,终端设备302用于根据第二样本数据更新神经网络模型;第二样本数据中标注有目标弹窗的特征信息以及用于指示拦截目标弹窗的管理策略;更新后的神经网络模型的输入为目标弹窗的特征信息的情况下,更新后的神经网络模型的输出为用于指示拦截目标弹窗的管理策略。Optionally, when the above-mentioned first correspondence is obtained by the
示例性的,上述终端设备202以及终端设备302的功能均可以由图4所示的终端设备140实现,上述服务器201以及服务器301的功能均可以由图5所示的服务器150实现。Exemplarily, the functions of the
如图18所示为本申请实施例提供的一种终端设备180的结构示意图,该终端设备180包括处理单元1801,处理单元1801用于记录目标用户对弹窗的第一操作信息;第一操作信息包括:目标用户的账户标识、弹窗的标识、弹窗显示的内容以及弹窗的运行时间信息;处理单元1801用于根据第一操作信息确定多个第一对应关系;第一对应关系包括弹窗的特征信息与管理策略之间的对应关系;弹窗的特征信息包括弹窗的标识或弹窗显示的内容中的至少一种;处理单元1801用于获取弹窗请求;弹窗请求用于请求启动目标弹窗;处理单元1801还用于根据多个第一对应关系,确定目标弹窗的特征信息对应的目标管理策略;在目标管理策略用于指示拦截目标弹窗的情况下,处理单元1801用于拦截目标弹窗。例如,结合图6,处理单元1801可以用于执行S600~S604。结合图16,处理单元1801可以用于执行S1600、S160以及S1606。As shown in FIG. 18, it is a schematic structural diagram of a terminal device 180 provided by the embodiment of the present application. The terminal device 180 includes a processing unit 1801, and the processing unit 1801 is used to record the first operation information of the target user on the pop-up window; the first operation The information includes: the account identifier of the target user, the identifier of the pop-up window, the content displayed in the pop-up window, and the running time information of the pop-up window; the processing unit 1801 is used to determine a plurality of first correspondences according to the first operation information; the first correspondence includes The corresponding relationship between the feature information of the pop-up window and the management strategy; the feature information of the pop-up window includes at least one of the logo of the pop-up window or the content displayed in the pop-up window; the processing unit 1801 is used to obtain the pop-up window request; In order to request to start the target pop-up window; the processing unit 1801 is also used to determine the target management policy corresponding to the feature information of the target pop-up window according to a plurality of first correspondences; when the target management policy is used to indicate interception of the target pop-up window, processing Unit 1801 is used to intercept target pop-up windows. For example, referring to FIG. 6 , the processing unit 1801 may be configured to execute S600-S604. Referring to FIG. 16 , the processing unit 1801 may be used to execute S1600, S160, and S1606.
可选的,第一对应关系包括下述的一种或多种:账户标识、第一特征信息与第一管理策略之间的对应关系;第一管理策略用于指示拦截弹窗;第一特征信息包括预设关键字、预设图像特征或预设链接中的一种或多种;或者,账户标识、第二特征信息与第一管理策略之间的对应关系;第二特征信息包括:在第一操作信息中记录的历史运行时长小于预设时长,且包括控件或链接的弹窗的标识,其中,控件为具备调整或链接功能的控件,链接不同于预设链接;或者,账户标识、第三特征信息与第二管理策略之间的对应关系;第三特征信息包括:在第一操作信息中记录的历史运行时长大于或者等于预设时长,且包括控件或链接的弹窗的标识;其中,第二管理策略用于指示允许运行弹窗。Optionally, the first corresponding relationship includes one or more of the following: the corresponding relationship between the account identifier, the first feature information, and the first management policy; the first management policy is used to instruct to block pop-up windows; the first feature The information includes one or more of preset keywords, preset image features, or preset links; or, account identification, correspondence between the second feature information and the first management strategy; the second feature information includes: The historical running time recorded in the first operation information is less than the preset time, and includes the identification of the pop-up window of the control or link, wherein the control is a control with adjustment or link function, and the link is different from the preset link; or, the account identification, Correspondence between the third feature information and the second management strategy; the third feature information includes: the historical running time recorded in the first operation information is greater than or equal to the preset time length, and includes the identification of the pop-up window of the control or link; Wherein, the second management policy is used to indicate that pop-up windows are allowed to run.
可选的,处理单元1801具体用于:在确定多个第一对应关系中包括目标弹窗的特征信息对应的第一管理策略的情况下,确定目标管理策略为第一管理策略,或者,在确定多个第一对应关系中不包括目标弹窗的特征信息对应的第一管理策略的情况下,确定目标管理策略为第二管理策略。Optionally, the processing unit 1801 is specifically configured to: determine the target management policy as the first management policy in the case of determining the first management policy corresponding to the characteristic information of the target pop-up window among the multiple first correspondences, or, In a case where the first management policy corresponding to the characteristic information of the target pop-up window is not included in the plurality of first correspondence relationships, the target management policy is determined as the second management policy.
可选的,处理单元1801还用于获取第一样本数据,第一样本数据中标注有弹窗的特征信息以及弹窗的特征信息对应的管理策略;处理单元1801用于根据第一样本数据训练神经网络模型得到第一对应关系,神经网络模型的输入为弹窗管理请求包括的信息,神经网络模型的输出为目标管理策略。Optionally, the processing unit 1801 is also used to obtain the first sample data, which is marked with the feature information of the pop-up window and the management strategy corresponding to the feature information of the pop-up window; the processing unit 1801 is used to obtain the first sample data according to the first This data trains the neural network model to obtain the first corresponding relationship, the input of the neural network model is the information included in the pop-up window management request, and the output of the neural network model is the target management strategy.
可选的,终端设备还包括显示单元1802,在目标管理策略用于指示允许运行目标弹窗的情况下,处理单元1801用于运行目标弹窗;或者,在目标弹窗的管理策略用于指示允许运行目标弹窗的情况下,显示单元1802用于显示弹窗提示信息以及目标弹窗的控制控件;弹窗提示信息用于提示用户是否允许运行目标弹窗,控制控件包括用于接收允许运行目标弹窗的控件,以及用于接收不允许运行目标弹窗的控件;在终端设备接收到针对不允许运行目标弹窗的控件的触发时,处理单元1801用于拦截目标弹窗;处理单元1801用于根据目标用户的账户标识、目标弹窗的特征信息以及用于指示拦截目标弹窗的指示信息更新多个第一对应关系。Optionally, the terminal device further includes a display unit 1802. When the target management policy is used to indicate that the target pop-up window is allowed to run, the processing unit 1801 is used to run the target pop-up window; or, when the target pop-up window management policy is used to indicate When the target pop-up window is allowed to run, the display unit 1802 is used to display the pop-up window prompt information and the control controls of the target pop-up window; The control of the target pop-up window, and the control for receiving the target pop-up window that is not allowed to run; when the terminal device receives the trigger for the control that is not allowed to run the target pop-up window, the processing unit 1801 is used to intercept the target pop-up window; the processing unit 1801 It is used for updating a plurality of first correspondences according to the target user's account identifier, the feature information of the target pop-up window, and the indication information for instructing to intercept the target pop-up window.
在一个例子中,结合图4,上述处理单元1801的功能可以由图4中的处理器1401调用存储器1401中的计算机程序实现,显示单元1802的功能可以由处理器1401调用存储1402中的计算机程序,并结合显示屏1403实现。In one example, referring to FIG. 4 , the function of the above-mentioned processing unit 1801 can be realized by calling the computer program in the
如图19所示为本申请实施例提供的一种芯片的结构示意图。芯片190包括一个或两个以上(包括两个)处理器1901、通信线路1902和通信接口1903。FIG. 19 is a schematic structural diagram of a chip provided by an embodiment of the present application. The
在一些实施方式中,存储器1904存储了如下的元素:可执行模块或者数据结构,或者他们的子集,或者他们的扩展集。In some implementations, the
上述本申请实施例描述的方法可以应用于处理器1901中,或者由处理器1901实现。处理器1901可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1901中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1901可以是通用处理器(例如,微处理器或常规处理器)、数字信号处理器(digitalsignal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门、晶体管逻辑器件或分立硬件组件,处理器1901可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。The methods described in the foregoing embodiments of the present application may be applied to the
结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。其中,软件模块可以位于随机存储器、只读存储器、可编程只读存储器或带电可擦写可编程存储器(electricallyerasable programmable read only memory,EEPROM)等本领域成熟的存储介质中。该存储介质位于存储器1904,处理器1901读取存储器1904中的信息,结合其硬件完成上述方法的步骤。The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. Wherein, the software module may be located in a mature storage medium in the field such as random access memory, read-only memory, programmable read-only memory, or electrically erasable programmable read only memory (EEPROM). The storage medium is located in the
处理器1901、存储器1904以及通信接口1903之间可以通过通信线路1902进行通信。The
在上述实施例中,存储器存储的供处理器执行的指令可以以计算机程序产品的形式实现。其中,计算机程序产品可以是事先写入在存储器中,也可以是以软件形式下载并安装在存储器中。In the above embodiments, the instructions stored in the memory for execution by the processor may be implemented in the form of computer program products. Wherein, the computer program product may be written in the memory in advance, or may be downloaded and installed in the memory in the form of software.
本申请实施例还提供一种计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。例如,可用介质可以包括磁性介质(例如,软盘、硬盘或磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。The embodiment of the present application also provides a computer program product including one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. Computer readable storage medium can be Any available media capable of being stored by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. For example, available media may include magnetic media (e.g., floppy disks, hard disks, or tapes), optical media (e.g., A digital versatile disc (digital versatile disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
本申请实施例提供一种电子设备,该电子设备可以执行上述任一种弹窗管理方法中终端设备或服务器所执行的方法。An embodiment of the present application provides an electronic device, which can execute the method executed by the terminal device or the server in any of the pop-up window management methods above.
本申请实施例还提供一种计算机可读存储介质。上述实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。The embodiment of the present application also provides a computer-readable storage medium. The methods described in the foregoing embodiments may be fully or partially implemented by software, hardware, firmware or any combination thereof. Computer-readable media may include computer storage media and communication media, and may include any medium that can transfer a computer program from one place to another. A storage media may be any target media that can be accessed by a computer.
作为一种可能的设计,计算机可读介质可以包括紧凑型光盘只读储存器(compactdisc read-only memory,CD-ROM)、RAM、ROM、EEPROM或其它光盘存储器;计算机可读介质可以包括磁盘存储器或其它磁盘存储设备。而且,任何连接线也可以被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,DSL或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(digital versatile disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。As a possible design, the computer-readable medium may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer-readable medium may include magnetic disk storage or other disk storage devices. Also, any connected cord is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Reproduce data.
上述的组合也应包括在计算机可读介质的范围内。以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。Combinations of the above should also be included within the scope of computer-readable media. The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (19)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110792145.XA CN113687890B (en) | 2021-07-13 | 2021-07-13 | Popup window management method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110792145.XA CN113687890B (en) | 2021-07-13 | 2021-07-13 | Popup window management method, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113687890A CN113687890A (en) | 2021-11-23 |
| CN113687890B true CN113687890B (en) | 2022-12-06 |
Family
ID=78577394
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110792145.XA Active CN113687890B (en) | 2021-07-13 | 2021-07-13 | Popup window management method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113687890B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114296817B (en) * | 2021-12-20 | 2024-04-30 | 上海尚往网络科技有限公司 | Popup window display method and device based on user behaviors and electronic equipment |
| CN114268811B (en) * | 2021-12-31 | 2024-04-19 | 广州方硅信息技术有限公司 | Pop-up control method, device, equipment and storage medium for message bubbles in live broadcasting room |
| CN116089930B (en) * | 2022-08-19 | 2025-04-04 | 荣耀终端股份有限公司 | Application control method, device and storage medium |
| CN115934224A (en) * | 2022-11-25 | 2023-04-07 | 百度时代网络技术(北京)有限公司 | Pop-up window display method, device, equipment and storage medium |
| CN119227025A (en) * | 2023-06-30 | 2024-12-31 | 荣耀终端有限公司 | Application management method, electronic device and computer readable storage medium |
| CN117056008B (en) * | 2023-10-10 | 2024-02-02 | 深圳安天网络安全技术有限公司 | Popup window interception method and device, equipment and medium |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104978201A (en) * | 2015-07-14 | 2015-10-14 | 安一恒通(北京)科技有限公司 | Method and device for controlling automatic pop-up window display |
| CN106339208B (en) * | 2015-07-15 | 2019-12-13 | 腾讯科技(深圳)有限公司 | A method and device for processing multimedia information pop-up windows |
| CN107402754A (en) * | 2017-06-30 | 2017-11-28 | 北京金山安全软件有限公司 | Information processing and model training method, device, electronic equipment and storage medium |
| CN109189528B (en) * | 2018-08-14 | 2021-11-30 | 上海尚往网络科技有限公司 | Control method for pop-up window display and pop-up window display method |
| CN113032064B (en) * | 2019-12-25 | 2024-10-29 | 北京达佳互联信息技术有限公司 | Method, device and equipment for determining execution popup |
-
2021
- 2021-07-13 CN CN202110792145.XA patent/CN113687890B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN113687890A (en) | 2021-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113687890B (en) | Popup window management method, device and storage medium | |
| KR101824666B1 (en) | Distribution of multiple application versions | |
| CN111279300B (en) | Providing a rich electronic reading experience in a multi-display environment | |
| US20140157422A1 (en) | Combining personalization and privacy locally on devices | |
| CN107464561A (en) | Voice Action Discoverability System | |
| CN105453025A (en) | Visual confirmation for a recognized voice-initiated action | |
| WO2020200146A1 (en) | Page information processing method, device, and electronic apparatus | |
| US20160072913A1 (en) | Automatic application discovery, download, integration and launch | |
| CN101866299A (en) | Method and system for modifying execution of native applications on portable electronic devices | |
| US20210011684A1 (en) | Dynamic augmented reality interface creation | |
| AU2022285556B2 (en) | Media asset rating prediction for geographic region | |
| US20240045904A1 (en) | System and method of providing search and replace functionality for videos | |
| US20170060966A1 (en) | Action Recommendation System For Focused Objects | |
| NL2024634B1 (en) | Presenting Intelligently Suggested Content Enhancements | |
| WO2018223558A1 (en) | Data processing method and electronic device | |
| CN111936970B (en) | Cross-app feature linking and educational messaging | |
| US20170147164A1 (en) | Touch heat map | |
| US20140173746A1 (en) | Application repository | |
| US20220405612A1 (en) | Utilizing usage signal to provide an intelligent user experience | |
| US20180196584A1 (en) | Execution of multiple applications on a device | |
| US20250358492A1 (en) | Ai-based video summary generation for content consumption | |
| CN110837618A (en) | A method and device for providing reading service | |
| US20220398079A1 (en) | In-application store user interface | |
| CN119741080A (en) | Information display method, information display device, information storage medium, and program product | |
| CN114595449A (en) | Safety scanning method and device |
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 | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240110 Address after: No. 9, Xingyao Road, Chang'an District, Xi'an, Shaanxi Province 710000 Patentee after: Xi'an Honor Device Co.,Ltd. Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee before: Honor Device Co.,Ltd. |
