CN112463284A - Advertisement processing method and device, electronic equipment and storage medium - Google Patents

Advertisement processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112463284A
CN112463284A CN202011596679.7A CN202011596679A CN112463284A CN 112463284 A CN112463284 A CN 112463284A CN 202011596679 A CN202011596679 A CN 202011596679A CN 112463284 A CN112463284 A CN 112463284A
Authority
CN
China
Prior art keywords
advertisement
application program
information
interface
characteristic information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011596679.7A
Other languages
Chinese (zh)
Inventor
熊文龙
邓志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhidao Network Technology Beijing Co Ltd
Original Assignee
Zhidao Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhidao Network Technology Beijing Co Ltd filed Critical Zhidao Network Technology Beijing Co Ltd
Priority to CN202011596679.7A priority Critical patent/CN112463284A/en
Publication of CN112463284A publication Critical patent/CN112463284A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Abstract

The invention provides an advertisement processing method, an advertisement processing device, electronic equipment and a storage medium, wherein the method is used for monitoring advertisement implantation in an application program and comprises the following steps: under the condition that the interface in an application program preinstalled on the intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal; comparing a pre-stored advertisement characteristic information set associated with the application program with dynamic interface information collected by the service module to obtain a characteristic identification result; and shielding the advertisement information popped up from the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result. The invention realizes the automatic shielding and other operations of the advertisements in the application program, so that the user is not interfered by the advertisements randomly popped up in the application program, the obstruction or harm of the insertion of the advertisements to the user is avoided, the use environment of the user is cleaned, and the unnecessary burden of the user is reduced.

Description

Advertisement processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to an advertisement processing method and apparatus, an electronic device, and a storage medium.
Background
Along with the popularization of intelligent terminals, application programs are developed in a large quantity, and great convenience is brought to the life of people. However, at the same time, various advertisements are also implanted in the application program, many advertisements are not needed by the user, and the advertisements forcibly occupy the time and attention of the user, bring unnecessary burden to the user, and make the user experience poor.
The above drawbacks can be tolerated for mobile terminals such as mobile phones and tablet computers, because the advertisements can be turned off through manual interaction, there is no other risk. But is different for a smart terminal like an in-vehicle system. When a user drives a vehicle, the user needs to hold the steering wheel with both hands, eyes need to be focused on road conditions, and under the condition that the eyes and the hands are not free, the advertisement automatically popped up by the application program running on the current page is very dangerous. The driver is not a common user, and the driver pays attention to the advertisement in the driving process and closes the advertisement manually, so that public safety is concerned and the driver cannot neglect the advertisement.
Therefore, for the two aspects such as the above, how to process the advertisement inserted by the application program during the use of the intelligent terminal is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention provides an advertisement processing method, an advertisement processing device, electronic equipment and a storage medium, which are used for solving the defect that the insertion of advertisements in an application program hinders or disturbs users and realizing the automatic processing of the advertisements in the application program.
The invention provides an advertisement processing method, which comprises the following steps: under the condition that the interface in an application program preinstalled on an intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal; comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result; and shielding the advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
According to the advertisement processing method, the advertisement characteristic information set is obtained through the following steps: when an application program is opened, identifying a name identifier corresponding to the application program; transmitting the name identifier to a cloud server, and requesting at least one piece of advertisement characteristic information corresponding to the name identifier from the cloud server; the advertisement characteristic information is at least one piece of picture information which corresponds to the advertisement content one to one; receiving at least one piece of advertisement characteristic information corresponding to the application program from the cloud server, and downloading the advertisement characteristic information; and generating the advertisement characteristic information set based on the name identifications of the plurality of application programs and the corresponding advertisement characteristic information.
According to the advertisement processing method, the step of comparing the pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result comprises the following steps:
selecting one piece of advertisement characteristic information in a plurality of pieces of advertisement characteristic information associated with the name identifier of the current application program in the advertisement characteristic information set, and searching and matching one piece of picture information in the advertisement characteristic information with the dynamic interface information corresponding to the interface of the current application program; if the matching is successful, the next picture information contained in the advertisement characteristic information is used for continuing searching; if the matching fails, selecting another advertisement characteristic information associated with the name identifier of the current application program to search and match with the dynamic interface information corresponding to the interface of the application program again; and if all the advertisement characteristic information related to the current application program is not successfully matched with the dynamic interface information, finishing the search matching without feedback.
According to the advertisement processing method, the advertisement characteristic information also comprises a jump parameter; if the matching is successful, using the next picture information contained in the advertisement characteristic information to continue searching, wherein the next picture information is determined by the following steps: searching the value of a skipping parameter in the current advertisement characteristic information; and selecting the next picture information according to the value of the jump parameter.
According to the advertisement processing method, the dynamic interface information comprises a text information set and/or a picture information set.
According to the advertisement processing method, the collecting, by the service module in the intelligent vehicle-mounted terminal, dynamic interface information corresponding to the interface of the application program includes: creating a text information data linked list and a picture information data linked list; scanning each interface contained in the application program, and respectively writing corresponding data into a text information data linked list and a picture information data linked list based on a scanning result; determining a text information set based on data stored in the text information data linked list; and determining a picture information set based on the data stored in the picture information data linked list.
According to the advertisement processing method, the shielding of the advertisement information popped up from the interface of the application program on the intelligent vehicle-mounted terminal comprises the following steps: calculating the coordinate position of the advertisement pop-up window according to the parameters for representing the interface position of the application program in the dynamic interface information; and simulating a processing event, sending out a control action based on the coordinate position obtained by calculation, and closing the advertisement popup window.
The invention also provides an advertisement processing device for monitoring the advertisement implantation in the application program, which comprises: the device comprises a collecting module, a comparing module and an identifying module. The collection module is used for collecting dynamic interface information corresponding to an interface of an application program through a service module in the intelligent vehicle-mounted terminal under the condition that the change of the interface in the application program preinstalled on the intelligent vehicle-mounted terminal is monitored; the comparison module is used for comparing a prestored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result; the identification module is used for shielding advertisement information popped up by an interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
The invention provides an advertisement processing method, an advertisement processing device, electronic equipment and a storage medium, which are used for monitoring the implantation of advertisements in an application program, and collecting dynamic interface information corresponding to the interface of the application program by monitoring the interface of the application program; and comparing and matching the pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information, identifying whether to implant the advertisement or not through matching, and performing corresponding processing according to the identification result, for example, if the advertisement is implanted, closing an advertisement window, and if the change of the page is not associated with the advertisement, continuously monitoring without feedback.
The invention realizes automatic shielding of the advertisement inserted in the application program, so that the user is not interfered by random pop-up of the advertisement in the application program, the obstruction or harm of the advertisement insertion to the user is avoided, the use environment of the user is cleaned, and the unnecessary burden of the user is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an advertisement processing method provided by the present invention;
FIG. 2 is a schematic flow chart of dynamic interface information collection in the advertisement processing method provided by the present invention;
FIG. 3 is a schematic flow chart of the acquisition of a pre-stored advertisement characteristic information set in the advertisement processing method provided by the present invention;
FIG. 4 is a schematic view illustrating a process of comparing an advertisement characteristic information set with dynamic interface information in the advertisement processing method according to the present invention;
FIG. 5 is a schematic structural diagram of an advertisement processing device provided by the present invention;
FIG. 6 is a schematic diagram of a structure of a comparison module of the advertisement processing apparatus according to the present invention;
FIG. 7 is a schematic diagram of an advertisement processing device according to the present invention, showing a structure of a collection module;
fig. 8 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The advertisement processing method of the present invention is described below in conjunction with fig. 1-4.
It should be noted that, in the advertisement processing method of the present invention, an execution subject of the method may be a terminal device, and specifically, may be a processing system of the terminal device, or a plug-in loaded in the terminal device for implementing voice control, where the terminal device may be a smart phone, a tablet computer, a vehicle-mounted control device, and the present invention is not limited thereto.
Referring to fig. 1, fig. 1 is a schematic flow chart of an advertisement processing method provided by the present invention, including the following steps:
step 110, collecting dynamic interface information corresponding to an interface of an application program through a service module in an intelligent vehicle-mounted terminal under the condition that the interface of the application program preinstalled on the intelligent vehicle-mounted terminal is monitored to be changed;
step 120, comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result;
and step 130, according to the application program name in the feature recognition result, shielding advertisement information popped up from the interface of the application program on the intelligent vehicle-mounted terminal.
The advertisement processing method provided by the embodiment is used for monitoring the implantation of advertisements in an application program, and collecting dynamic interface information corresponding to the interface of the application program through monitoring the interface of the application program; and comparing and matching the pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information, identifying whether to implant the advertisement or not through matching, and performing corresponding processing according to the identification result, for example, if the advertisement is implanted, closing an advertisement window, and if the change of the page is not associated with the advertisement, continuously monitoring without feedback.
The embodiment realizes the identification of the advertisements inserted in the application program, and is used for carrying out operations such as automatic shielding and the like on the advertisements on the basis of identification in subsequent processing, so that a user (particularly a motor vehicle driver) is not interfered by the advertisements randomly popped up in the application program, the obstruction or the harm of the insertion of the advertisements to the user are avoided, the use environment of the user is cleaned, and the unnecessary burden of the user is reduced.
In the following, a possible implementation of the above three steps in a specific embodiment is further explained.
And 110, under the condition that the interface in the application program preinstalled on the intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal.
In this step, the application is software installed in the terminal device to implement a specific function, and in fact, it can be seen that the application refers to other third party applications besides the application integrated by the method according to the present invention. That is, in the implementation, the advertisement processing method of the present invention can be developed as a stand-alone application, but the "application" in this step does not include the application developed according to the advertisement processing method of the present invention. In specific implementation, the number of the monitored third-party applications is not limited, and may be one or more.
The "monitoring" here may be implemented in actual operation as follows: and refreshing the interface of the third-party application regularly or irregularly, and collecting dynamic interface information corresponding to the changed interface under the condition that the interface information is changed.
For example, in one embodiment, if the method of the present invention is integrated in a Service named Service, the Service is triggered to perform a View node scan on an interface of an application (App) whenever the interface of another application changes.
The "change" in this embodiment may be that App is clicked, slid, and switched through a window, which is not limited in the present invention.
In an embodiment, the dynamic interface information is a text information set and/or a picture information set, and referring to fig. 2, the execution of collecting the dynamic interface information corresponding to the interface of the application program by the service module in the intelligent vehicle-mounted terminal may include the following steps:
step 210, creating a text information data linked list and a picture information data linked list;
step 220, scanning each interface contained in the application program, and respectively writing corresponding data into a text information data linked list and a picture information data linked list based on a scanning result;
step 230, determining a text information set based on the data stored in the text information data linked list; and determining a picture information set based on the data stored in the picture information data linked list.
In one embodiment, the interface information set may be a text information set or a picture information set, and of course, the interface information set may also be a text information set and a picture information set. The text information set may include one text information or a plurality of text information. The picture information set may include one picture information or may include a plurality of picture information.
As can be seen from the above description, for the interface of the third-party application, the interface information set may be continuously changed over time, and the specific content may be that the text of the interface is changed or that the picture of the interface is changed.
It can be seen that the collection of the text information set and the picture information set is completed through the above steps 210 to 230. It should be noted that, this embodiment only provides a collection method of text information and picture information, and the present invention is not limited to this, and other collection methods of text information and picture information are also within the protection scope of the present invention.
The collection of dynamic interface information is further described below in one embodiment.
For example, after scanning other application programs (apps), the Service integrating the method of the present invention collects data of all views on the App interface.
If the interface comprises n views, 1 NodeInfo data object (namely, an interface data object) is created for each View, wherein the NodeInfo data object comprises a Text information data chain table and a picture information data chain table, and Text information, Rect (Left, Right, Top, Bottom) information, ViewId information, ClassName, visible information and the like of the View are stored in a classified mode.
If the searched View does not contain Text information (namely, the interface Text information container is empty), the NodeInfo is added into the data linked list of the picture information set imageCacheList, and if the Text contains information (namely, the interface Text information container is not empty), the NodeInfo is added into the data linked list of the Text information set textCacheList.
And step 120, comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result.
This step is explained in two aspects, the first aspect is the way of acquiring the advertisement characteristic information set and its specific content; the second aspect is how the advertisement characteristic information set and the dynamic interface information can be compared in implementation. 1) Advertisement characteristic information set and acquisition mode thereof
Referring to fig. 3, in one embodiment, the pre-stored set of advertisement characteristic information may be obtained by:
step 310, when the application program is opened, identifying the name identifier corresponding to the application program.
That is, whenever a user opens an Application (APP) on a terminal device, the Service provided by the present invention, e.g., Service, running in the background recognizes the name identifier of the current APP.
Step 320, transmitting the name identifier to a cloud server, and requesting at least one piece of advertisement characteristic information corresponding to the name identifier from the cloud server; the advertisement characteristic information is at least one piece of picture information which corresponds to the advertisement content one to one.
In specific implementation, a plurality of advertisement characteristic information corresponding to the name identifier are predetermined and stored in the cloud server.
In this embodiment, a tentative name AdCaches advertisement characteristic information set (array object) is preset in a cloud server, an internal object name (AdPolicy) in the array object is (AdPolicy), and the AdPolicy is an array composed of multiple SearchPolicy objects (corresponding to advertisement characteristic information) and a packageName character string of a third party App (each App corresponds to a unique packageName).
The set of advertisement information is explained further below.
The cloud server may include a plurality of (e.g., n) sets of advertisement characteristic information corresponding to APPs, for example, Adcaches = [ ad policy1, ad policy2, ad policy3, …, ad policy n ], where ad characteristic information corresponding to APP1 is ad policy1, ad characteristic information corresponding to APP2 is ad policy2, ad characteristic information corresponding to APP3 is ad policy3, ad characteristic information corresponding to APP4 is ad policy4, and ad characteristic information corresponding to APP … APPn is ad policy n.
Furthermore, an APP may correspond to a plurality of advertisement feature information (for example, m, it may also be understood that m different advertisements pop up during the running process of an APP).
An application may correspond to multiple advertisement characteristic information AdPolicy (), e.g., AdPolicy11, AdPolicy12, AdPolicy13, …, AdPolicy 1m (1 ≦ i ≦ m). The advertisement characteristic information corresponding to each APP is as follows:
Adcache=[ AdPolicy11、AdPolicy12、 AdPolicy13,…, AdPolicy 1m]。
for each piece of advertisement characteristic information AdPolicy 1i, the data structure of the advertisement characteristic information AdPolicy 1i comprises a search policy object set SearchPolicy and a name identifier packagName corresponding to the application program APP.
Wherein the Search policy object set Search corresponding to each advertisement characteristic information AdPolicy 1i includes a plurality of Search policy objects Search policy, for example, t, then
Search=[SearchPolicy 1,SearchPolicy 2、SearchPolicy 3,…,SearchPolicy t]。
And, each object SearchPolicy i is described by the following attributes: targetText (string array type), targetImage (picture data array), viewId (string array type), className (string array type), search mode action (integer type), operation action (integer array type), branch jump (integer array type), branch at present (integer type).
In one embodiment, the PackageName may be com.
Step 330, receiving at least one advertisement characteristic information corresponding to the application program from the cloud server, and downloading the advertisement characteristic information.
Step 340, generating the advertisement characteristic information set based on the name identifications of the plurality of application programs and the corresponding advertisement characteristic information.
For example, when a user opens an application App on a terminal device, the Service may recognize a name identifier packagemame of the current application App, transfer the name identifier packagemame to the cloud server as a parameter, download, from an AdCaches array in the cloud server, adpolici object data having the same package name as the transferred package name to the local, add, to an adTextList data link list, a targetText in the adpolici object that is not empty, and add, to the adamlist, a targetImage that is not empty. The adTextList data link table is a text feature information set, and the AdImageList data link table is a picture feature information set.
It should be noted that, after a user opens an application App on a terminal device, in the process of App usage, App pages are frequently refreshed, each time refreshing triggers page scanning, searching and operation, each time Service re-establishes a text information set textCacheList and a picture information set ImageCacheList, and a text feature information set adTextList and a picture feature information set admimlist are established when App is opened, and are cleared when App is exited.
2) Comparison of advertisement characteristic information set with dynamic interface information
Referring to fig. 4, fig. 4 is a flowchart illustrating a step of comparing an advertisement feature information set with the dynamic interface information according to an embodiment of the advertisement processing method of the present invention, including: step 410, selecting one advertisement characteristic information from a plurality of advertisement characteristic information associated with the name identification of the current application program in the advertisement characteristic information set;
step 420, searching and matching one piece of picture information in the advertisement characteristic information with dynamic interface information corresponding to the current application program interface;
step 430, determine whether the matching is successful, if yes, go to step 440, otherwise go to step 450.
Step 440, using the next picture information contained in the advertisement characteristic information to continue searching;
in specific implementation, the search policy object SearchPolicy1 includes jump Branches and a current branch, if the search policy object SearchPolicy1 is successfully matched, the value of the jump parameter Branches in the current search policy object is searched, and the next search policy object is selected according to the value of the jump parameter.
Step 450, selecting another advertisement characteristic information associated with the name identifier of the current application program to search and match with the dynamic interface information corresponding to the interface of the application program again;
and if all the advertisement characteristic information related to the current application program is not successfully matched with the dynamic interface information, finishing the search matching without feedback.
The following further describes the comparison between the advertisement characteristic information set and the dynamic interface information in conjunction with the Service.
Specifically, a first SearchPolicy object in the Search array in an AdPolicy object in a text feature information set adTextList and a text information set textCacheList can be used for matching Search, if the first SearchPolicy object in the Search array in a certain AdPolicy object in the text feature information set adTextList is not found, the first object in the Search array in the next AdPolicy is continuously taken out from the text feature information set adTextList to be matched with the adTextList, if the data in the adTextList cannot be found in the textCacheList, the first object is continuously taken out from the adalimucy list to be matched with the data in the ImageCacheList, a general matching algorithm in OpenCV is used for image recognition matching, if the recognition degree is more than 90%, the next AdPolicy Search in the imagelistis not found, the last object is continuously searched until the last object is found, and if the last object is not found after the last object is found, the Search is not finished, and the user is not provided with any feedback; if the search is matched through the text characteristic information set adTextList or the picture characteristic information set AdImageList, the search and click operation is continuously carried out by using the next SearchPolicy object in the SearchPolicy array in the searched AdPolicy, and the purpose of closing the sub-window on the App interface is achieved.
After obtaining the Search, the Service starts to process the objects in the linked list in sequence, and first takes out a first SearchPolicy object of the linked list, wherein the SearchPolicy object comprises a targetText array, a targetImage array, a viewId array, a className array, an action Search mode, an actions operation array and a branches jump array, the number of the arrays in the actions array is equal to the sum of the lengths of the targetText array, the targetImage array, the viewId array and the className array, and the length of the branches array is also equal to the sum of the lengths of the targetText array, the targetImage, the viewId and the className array.
The Service server uses the first SearchPolicy to search textCacheList or imageCacheList (the linked list is composed of NodeInfo objects) for NodeInfo data, and after the NodeInfo data is found, the action data of SearchPolicy is used for clicking or reading. The searching mode is that data in a targetText array of SearchPolicy is taken out in sequence, the data is used as a regular expression, a pattern. If the targetText array in SearchPolicy can not be searched, the viewId array of SearchPolicy is used for carrying out character string comparison, only if the viewId of SearchPolicy is completely the same as the viewId in NodeInfo, the search can be carried out by using className, if the className is not searched, the SearchPolicy in the adigeList is continuously used for carrying out the search, after the search is finished, and no feedback is carried out.
The actions and branches of SearchPolicy are composed of arrays, the length of each array is equal to the length of the targetText array, targetImage array, viewId array and className array, when searching, if NodeInfo is finally searched to use any data of the targetText array, targetImage array, viewId array and className array, the subscript value of the data in 4 arrays is calculated, the corresponding value is taken from the actions and branches arrays according to the subscript value, the value in actions represents the operation (clicking, reading and the like) on the View corresponding to the searched NodeInfo, and the value taken from branches represents which SearchPolicy is to be searched next, because each SearchPolicy has a branch data (integer type) besides the branches as the comparison object to search the next SearchPolicy.
And step 130, according to the application program name in the feature recognition result, shielding advertisement information popped up from the interface of the application program on the intelligent vehicle-mounted terminal.
In an embodiment, after obtaining the identification result, the advertisement information is closed according to the identification result, which may specifically include the following steps:
calculating the coordinate position of the application program advertisement pop-up window according to the parameters representing the interface position of the application program in the dynamic interface information;
and simulating a processing event, sending out a control action based on the coordinate position obtained by calculation, and closing the advertisement popup window.
Specifically, calculating the coordinate position according to the parameters representing the position in the application program interface in the dynamic interface information; then, simulating the processing event, sending out a control action based on the coordinate position obtained by calculation, and closing the advertisement popup window.
For example, the calculation of coordinate position by the parameter representing the position in the application program interface can search the NodeInfo, read the Rect object in the NodeInfo, after the Rect object is obtained, calculate the coordinate by using the Rect object,
x=(rect.right+rect.left)/2
y=(rect.top+rect.bottom)/2,
the coordinate represents the coordinate position of the View corresponding to the NodeInfo on the App interface.
And then, generating a MotionEvent event by using a Touch Panel interface provided by a terminal equipment system, simulating to generate a Touch event, and finally sending a click behavior to achieve the purposes of automatically identifying the advertisement popup and automatically closing the advertisement popup.
When a user opens the third party App on the terminal equipment, the service server can scan whether an advertisement window pops up on the interface, if yes, a closing button of the advertisement window is found, the closing button is automatically clicked, and finally the purpose of shielding the advertisement window is achieved.
In addition, in the above description of the embodiment of the implementation of the present invention, the Service is taken as an example for explanation. The method is an application program which is resident in the background of the terminal equipment in implementation, and the method is grounded through the visual angle realized by computer software. It should be noted that the above example is only one possible program implementation manner for implementing the method of the present invention, and the present invention is not limited to the implementation manner of the Service.
The following describes the processing device provided by the present invention with reference to fig. 5 to 8, and the advertisement processing device described below and the advertisement processing method described above may be referred to correspondingly.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an advertisement processing apparatus provided in the present invention, for monitoring advertisement placement in an application program, including:
the system comprises a collecting module 50, a service module and a service module, wherein the collecting module is used for collecting dynamic interface information corresponding to an interface of an application program through the service module in an intelligent vehicle-mounted terminal under the condition that the interface of the application program pre-installed on the intelligent vehicle-mounted terminal is monitored to be changed;
a comparison module 52, configured to compare a pre-stored advertisement feature information set associated with the application program with the dynamic interface information collected by the service module to obtain a feature identification result;
and the shielding module 54 is configured to shield advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
The advertisement processing device provided by the embodiment is used for monitoring the implantation of advertisements in an application program, and collecting dynamic interface information corresponding to the interface of the application program through monitoring the interface of the application program; and comparing and matching the pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information, identifying whether to implant the advertisement or not through matching, and performing corresponding processing according to the identification result, for example, if the advertisement is implanted, closing an advertisement window, and if the change of the page is not associated with the advertisement, continuously monitoring without feedback.
Referring to fig. 6, fig. 6 is a block diagram of the structure of the comparison module 52 in the embodiment of the advertisement processing apparatus, and includes an advertisement characteristic information set obtaining unit 521 and a comparison unit 522.
In a preferred embodiment, the advertisement characteristic information set obtaining unit 521 further includes:
a name identification subunit 5211, configured to identify a name identifier corresponding to an application program when the application program is opened;
a request subunit 5212, configured to transmit the name identifier to a cloud server, and request at least one advertisement information object corresponding to the name identifier from the cloud server; the advertisement information body includes: a name identification of an application, and at least one search policy object associated with the application; the search strategy object comprises target picture information and target text information which are in one-to-one correspondence with advertisement content;
a download subunit 5213, configured to receive at least one advertisement informer from the cloud server and download the advertisement informer;
a generating subunit 5214, configured to generate the set of advertisement characteristic information based on the at least one advertisement information body.
In a preferred embodiment, the comparing unit 522 is further configured to:
selecting one piece of advertisement characteristic information in a plurality of pieces of advertisement characteristic information associated with the name identifier of the current application program in the advertisement characteristic information set, and searching and matching one piece of picture information in the advertisement characteristic information with the dynamic interface information corresponding to the interface of the current application program; if the matching is successful, the next picture information contained in the advertisement characteristic information is used for continuing searching; if the matching fails, selecting another advertisement characteristic information associated with the name identifier of the current application program to search and match with the dynamic interface information corresponding to the interface of the application program again; and if all the advertisement characteristic information related to the current application program is not successfully matched with the dynamic interface information, finishing the search matching without feedback.
In a preferred embodiment, the advertisement characteristic information further includes a skip parameter; if the matching is successful, using the next picture information contained in the advertisement characteristic information to continue searching, wherein the next picture information is determined by the following steps: searching the value of a skipping parameter in the current advertisement characteristic information; and selecting the next picture information according to the value of the jump parameter.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a collecting module of the advertisement processing apparatus provided by the present invention, including:
a creating unit 501, configured to create a text information data linked list and a picture information data linked list;
a scanning unit 502, configured to scan each interface included in the application program, and based on a result obtained by the scanning, respectively write corresponding data into a text information data linked list and a picture information data linked list;
a text information set determining unit 503, configured to determine a text information set based on data stored in the text information data linked list;
a picture information set determining unit 504, configured to determine a picture information set based on the data stored in the picture information data linked list.
In one embodiment, the shielding module 54 is further configured to: calculating the coordinate position according to the parameters representing the position in the application program interface in the dynamic interface information; and simulating a processing event, sending out a control action based on the coordinate position obtained by calculation, and closing the advertisement popup window.
When a user opens the third party App on the terminal equipment, the service server can scan whether an advertisement window pops up on the interface, if yes, a closing button of the advertisement window is found, the closing button is automatically clicked, and finally the purpose of shielding the advertisement window is achieved.
Fig. 8 illustrates a physical structure diagram of an electronic device, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logic instructions in the memory 830 to perform a method of advertisement processing, the method comprising:
under the condition that the interface in an application program preinstalled on an intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal; comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result; and shielding the advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above methods to perform an advertisement processing method, the method comprising:
under the condition that the interface in an application program preinstalled on an intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal; comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result; and shielding the advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the methods provided above to perform advertisement processing, the method comprising:
under the condition that the interface in an application program preinstalled on an intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal; comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result; and shielding the advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An advertisement processing method, comprising:
under the condition that the interface in an application program preinstalled on an intelligent vehicle-mounted terminal is monitored to change, collecting dynamic interface information corresponding to the interface of the application program through a service module in the intelligent vehicle-mounted terminal;
comparing a pre-stored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result;
and shielding the advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the feature identification result.
2. The advertisement processing method according to claim 1, wherein the advertisement characteristic information set is obtained by:
when an application program is opened, identifying a name identifier corresponding to the application program;
transmitting the name identifier to a cloud server, and requesting at least one piece of advertisement characteristic information corresponding to the name identifier from the cloud server; the advertisement characteristic information is at least one piece of picture information which corresponds to the advertisement content one to one;
receiving at least one piece of advertisement characteristic information corresponding to the application program from the cloud server, and downloading the advertisement characteristic information;
and generating the advertisement characteristic information set based on the name identifications of the plurality of application programs and the corresponding advertisement characteristic information.
3. The advertisement processing method according to claim 2, wherein the step of comparing the pre-stored advertisement feature information set associated with the application program with the dynamic interface information collected by the service module to obtain a feature identification result comprises the steps of:
selecting one piece of advertisement characteristic information in a plurality of pieces of advertisement characteristic information associated with the name identifier of the current application program in the advertisement characteristic information set, and searching and matching one piece of picture information in the advertisement characteristic information with the dynamic interface information corresponding to the interface of the current application program;
if the matching is successful, the next picture information contained in the advertisement characteristic information is used for continuing searching and matching;
if the matching fails, selecting another advertisement characteristic information associated with the name identifier of the current application program to search and match with the dynamic interface information corresponding to the interface of the application program again;
and if all the advertisement characteristic information related to the current application program is not successfully matched with the dynamic interface information, finishing the search matching without feedback.
4. The advertisement processing method according to claim 3,
the advertisement characteristic information also comprises a skipping parameter;
if the matching is successful, using the next picture information contained in the advertisement characteristic information to continue searching and matching, wherein the next picture information is determined through the following steps:
searching the value of a skipping parameter in the current advertisement characteristic information;
and selecting the next picture information according to the value of the jump parameter.
5. The advertisement processing method according to claim 2,
the dynamic interface information comprises a text information set and/or a picture information set.
6. The advertisement processing method according to claim 5,
the collecting, by the service module in the intelligent vehicle-mounted terminal, dynamic interface information corresponding to the interface of the application program includes:
creating a text information data linked list and a picture information data linked list;
scanning an interface contained in the application program, and respectively writing corresponding data into a text information data linked list and a picture information data linked list based on a scanning result;
determining a text information set based on the data stored in the text information data linked list;
and determining a picture information set based on the data stored in the picture information data linked list.
7. The advertisement processing method of claim 6, wherein the shielding of the advertisement information popped up from the interface of the application program on the intelligent vehicle-mounted terminal comprises:
calculating the coordinate position of the advertisement pop-up window according to the parameters for representing the interface position of the application program in the dynamic interface information;
and simulating a processing event, sending out a control action based on the coordinate position obtained by calculation, and closing the advertisement popup window.
8. An advertisement processing apparatus for monitoring placement of advertisements in an application, comprising:
the system comprises a collection module, a service module and a service module, wherein the collection module is used for collecting dynamic interface information corresponding to an interface of an application program through the service module in the intelligent vehicle-mounted terminal under the condition that the interface of the application program pre-installed on the intelligent vehicle-mounted terminal is monitored to change;
the comparison module is used for comparing a prestored advertisement characteristic information set associated with the application program with the dynamic interface information collected by the service module to obtain a characteristic identification result;
and the identification module is used for shielding the advertisement information popped up by the interface of the application program on the intelligent vehicle-mounted terminal according to the application program name in the characteristic identification result.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the advertisement processing method according to any of claims 1 to 7 are implemented when the processor executes the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the advertisement processing method according to any one of claims 1 to 7.
CN202011596679.7A 2020-12-30 2020-12-30 Advertisement processing method and device, electronic equipment and storage medium Pending CN112463284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011596679.7A CN112463284A (en) 2020-12-30 2020-12-30 Advertisement processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011596679.7A CN112463284A (en) 2020-12-30 2020-12-30 Advertisement processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112463284A true CN112463284A (en) 2021-03-09

Family

ID=74802081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011596679.7A Pending CN112463284A (en) 2020-12-30 2020-12-30 Advertisement processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112463284A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768664A (en) * 2011-05-06 2012-11-07 李超 Distributed webpage advertisement blocking method and system
CN104156139A (en) * 2014-08-06 2014-11-19 广州三星通信技术研究有限公司 Method and device for stopping links to advertisement pages
CN107562864A (en) * 2017-08-30 2018-01-09 努比亚技术有限公司 A kind of advertisement screen method, mobile terminal and computer-readable recording medium
CN109471974A (en) * 2018-11-02 2019-03-15 北京字节跳动网络技术有限公司 Filter method, apparatus, electronic equipment and the storage medium of third party's web advertisement
CN109982241A (en) * 2019-03-28 2019-07-05 长安大学 A kind of navigation APP advertisement suppressing method based on driving condition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768664A (en) * 2011-05-06 2012-11-07 李超 Distributed webpage advertisement blocking method and system
CN104156139A (en) * 2014-08-06 2014-11-19 广州三星通信技术研究有限公司 Method and device for stopping links to advertisement pages
CN107562864A (en) * 2017-08-30 2018-01-09 努比亚技术有限公司 A kind of advertisement screen method, mobile terminal and computer-readable recording medium
CN109471974A (en) * 2018-11-02 2019-03-15 北京字节跳动网络技术有限公司 Filter method, apparatus, electronic equipment and the storage medium of third party's web advertisement
CN109982241A (en) * 2019-03-28 2019-07-05 长安大学 A kind of navigation APP advertisement suppressing method based on driving condition

Similar Documents

Publication Publication Date Title
CN106528432A (en) Construction method and apparatus for test scene data, and buried point test method
CN104395882A (en) Creation and context-aware presentation of customized emoticon item sets
CN110222263B (en) Application program maintenance control method, device, server, terminal and storage medium
CN106445597A (en) Application download method, terminal, server and system
CN104765609B (en) Software context resource recommendation method, acquisition methods and corresponding device
CN107291759A (en) The treating method and apparatus of browser page resource
CN106101358A (en) A kind of method of contact person information updating and smart machine
CN109118447A (en) A kind of image processing method, picture processing unit and terminal device
CN109040317A (en) A kind of information push method, client, server and system
CN109710214A (en) Construction method, device, terminal device and the storage medium of electronic signature software
CN109684364A (en) The problem of being drawn a portrait based on user processing method, device, equipment and storage medium
CN105894266A (en) Two-dimensional code generation method, information processing method and device and information system
CN111275205A (en) Virtual sample generation method, terminal device and storage medium
CN112446736A (en) Click through rate CTR prediction method and device
CN108667915B (en) Information pushing system, method and device
CN113722619A (en) Content display method, device, equipment and computer readable storage medium
CN112463284A (en) Advertisement processing method and device, electronic equipment and storage medium
CN107203397A (en) The operation method and device of Mobile solution
CN108509582B (en) Information reply method, terminal equipment and computer readable storage medium
CN108549722B (en) Multi-platform data publishing method, system and medium
CN110705637A (en) User classification method and device based on application installation list information and electronic equipment
US11227122B1 (en) Methods, mediums, and systems for representing a model in a memory of device
CN113486248A (en) Recommendation method and device for functional module in application program
CN106844457A (en) Cloud server and its document handling method and device
CN112732379A (en) Operation method of application program on intelligent terminal, terminal and storage medium

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