CN109299960A - Monitor the method, apparatus and computer readable storage medium, terminal device of advertisement - Google Patents
Monitor the method, apparatus and computer readable storage medium, terminal device of advertisement Download PDFInfo
- Publication number
- CN109299960A CN109299960A CN201710607609.9A CN201710607609A CN109299960A CN 109299960 A CN109299960 A CN 109299960A CN 201710607609 A CN201710607609 A CN 201710607609A CN 109299960 A CN109299960 A CN 109299960A
- Authority
- CN
- China
- Prior art keywords
- advertisement
- pushed
- control
- topology file
- material 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 239000000463 material Substances 0.000 claims abstract description 74
- 238000012544 monitoring process Methods 0.000 claims abstract description 28
- 238000004590 computer program Methods 0.000 claims description 20
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000012360 testing method Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000011068 loading method Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0242—Determining effectiveness of advertisements
- G06Q30/0245—Surveys
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0277—Online advertisement
Landscapes
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to mobile Internet fields, a kind of method, apparatus and computer readable storage medium, terminal device for monitoring advertisement are provided, so that advertiser can know whether the advertisement for pushing to intelligent terminal is demonstrated.The described method includes: obtaining the topology file at system current application interface;Search whether there is the identical control of control property corresponding with the material information of advertisement is pushed from topology file;If there is the identical control of control property corresponding with the material information of advertisement is pushed in topology file, then whether it is clicked according to the identical control of control property corresponding with the material information of advertisement is pushed in topology file, or, it whether is clicked the information with the corresponding packet name in system current application interface according to the identical control of control property corresponding with the material information of advertisement is pushed in topology file, whether judgement is pushed advertisement in terminal display.Technical solution of the present invention solves the problems, such as that advertiser cannot know whether the advertisement for being pushed to intelligent terminal is demonstrated.
Description
Technical field
The invention belongs to mobile Internet field more particularly to a kind of method, apparatus of advertisement and computer-readable of monitoring
Storage medium, terminal device.
Background technique
With the popularization of intelligent terminals with the development in mobile application market, more and more businessman's selections are in terminal applies
Advertisement is launched to achieve the purpose that promote commodity.Application at this stage on the intelligent terminal based on Android platform is substantially logical
Cross the interface advertising platform point in calling ad ware development kit (Software Development Kit, SDK)
The advertisement of hair, and the application is published to each Android application market, so that it may by the application by advertisement pushing to intelligent terminal
User.
Although the above method is solved the problems, such as to intelligent terminal user advertisement, however, the advertisement being pushed is in intelligence
Whether energy terminal shows that advertiser is entirely ignorant of.
Urgently industry solves above-mentioned technical problem.
Summary of the invention
The present invention provides a kind of method, apparatus and computer readable storage medium, terminal device for monitoring advertisement, so as to wide
Accusing quotient can know whether the advertisement for pushing to intelligent terminal is demonstrated.
First aspect present invention provides a kind of method for monitoring advertisement, which comprises
The topology file at acquisition system current application interface;
It is searched whether from the topology file identical in the presence of control property corresponding with the material information of advertisement is pushed
Control;
If there is the identical control of control property corresponding with the material information of advertisement is pushed, root in the topology file
Whether it is clicked according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file, or
Person, according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file whether by point
The information for corresponding to packet name with system current application interface is hit, whether is pushed advertisement in terminal display described in judgement.
Second aspect of the present invention provides a kind of device for monitoring advertisement, and described device includes:
Module is obtained, for obtaining the topology file at system current application interface;
Searching module, for searching whether there is control corresponding with the material information of advertisement is pushed from the topology file
The identical control of part attribute;
Judgment module, if for there is control property phase corresponding with the material information of advertisement is pushed in the topology file
Same control, then according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file
Whether it is clicked, alternatively, according to identical as the corresponding control property of material information for being pushed advertisement in the topology file
Control whether be clicked the information that packet name is corresponded to system current application interface, be pushed described in judgement advertisement whether
Terminal display.
Third aspect present invention provides a kind of terminal device, including memory, processor and storage are in memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
The topology file at acquisition system current application interface;
It is searched whether from the topology file identical in the presence of control property corresponding with the material information of advertisement is pushed
Control;
If there is the identical control of control property corresponding with the material information of advertisement is pushed, root in the topology file
Whether it is clicked according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file, or
Person, according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file whether by point
The information for corresponding to packet name with system current application interface is hit, whether is pushed advertisement in terminal display described in judgement.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, computer readable storage medium
It is stored with computer program, is performed the steps of when computer program is executed by processor
The topology file at acquisition system current application interface;
It is searched whether from the topology file identical in the presence of control property corresponding with the material information of advertisement is pushed
Control;
If there is the identical control of control property corresponding with the material information of advertisement is pushed, root in the topology file
Whether it is clicked according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file, or
Person, according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file whether by point
The information for corresponding to packet name with system current application interface is hit, whether is pushed advertisement in terminal display described in judgement.
The technical solution provided from aforementioned present invention is it is found that according to the topology file at acquired system current application interface
In the identical control of corresponding with the material information of advertisement is pushed control property whether be clicked, alternatively, being worked as according to acquisition system
Whether the identical control of corresponding with the material information of advertisement is pushed control property is clicked in the topology file of preceding application interface
The information of packet name is corresponded to system current application interface, judgement is pushed advertisement whether in terminal display, to solve advertisement
Quotient cannot know the problem of whether advertisement for being pushed to intelligent terminal is demonstrated.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art, can also be according to these attached drawings under the premise of not making the creative labor
Obtain other attached drawings.
Fig. 1 is the implementation process schematic diagram of the method for monitoring advertisement provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the device of monitoring advertisement provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides monitoring advertisement device structural schematic diagram;
Fig. 4 be another embodiment of the present invention provides monitoring advertisement device structural schematic diagram;
Fig. 5 is the structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solution of the present invention, the following is a description of specific embodiments.
Attached drawing 1 is the implementation process schematic diagram of the method for monitoring advertisement provided in an embodiment of the present invention, mainly includes following
Step S101 to S103, described further below:
S101 obtains the topology file at system current application interface.
In embodiments of the present invention, the interface relevant information of application can obtain in advance and be stored in database, that is, obtain in advance
Take the interface relevant information of application and be stored in database, wherein the interface relevant information of application include application corresponding packet name,
The corresponding packet name in the interface of application and the corresponding topology file in interface of application etc..It obtains the interface relevant information of application and deposits
Be stored in database S1011 to S1013 can specifically realize as follows:
S1011 obtains the interface title of application.
By taking the operating system of intelligent terminal is android system as an example, in android system start-up course, it will start
One application program management services PackageManagerService, this, which is serviced, is responsible for specific catalogue in scanning system, looks for
To application file therein, i.e., using APK as the file of suffix, then to these files into parsing, be applied program
Relevant information, and these relevant informations are all stored in its member variable.The embodiment of the present invention passes through modification application program pipe
Reason service source code gets each application and its interface title when parsing to APK, i.e., using corresponding packet name and
The corresponding packet name in the interface of application, wherein parsing APK sound code file path is as follows: frameworks/base/services/
java/com/android/server/PackageManagerService.java
S1012 obtains the corresponding topology file in interface of application.
By disassemblers, the smali code of available Android application.It is used in the embodiment of the present invention
Apktool tool dis-assembling APK is applied the resource files such as smali code, picture and XML configuration file of program, wherein
The corresponding topology file in interface including application.
After Apktool decompiling APK file, a smali file, the inside can be generated under decompiling engineering catalogue
The smali file that all decompilings go out is stored, these files can generate corresponding catalogue, journey according to the hierarchical structure of program bag
All classes can all generate independent smali file under corresponding catalogue in sequence.Convenient for describing, for example:
Assuming that interface, that is, Activity title is com.sunxz.test.MainActivlty, then it can be in smali
Sequentially generated under catalogue com sunxz test bibliographic structure, then generate MainActivlty.smali under this catalogue
File.
According to the interface title for the application that previous embodiment obtains, interface title is carried in traversal parsing smali file
Smali code file, by taking MainActivlty.smali above as an example, content is as follows:
.class public Lcom/sunxz/test/MainActivlty;
.super Landroid/app/Activlty;
.source"MainActivlty.java"
#virutal methods
.method protected onCreate(Landroid/os/Bundle;)V
.locals 3
.parameter"savedInstanceState"
.prologue
.line 14
invoke-super{p0,p1},Landroid/app/Activity;->onCreate(Landroid/os/
Bundle;)V
.line 15
const/high 16v2,0x7f03
invoke-virtual{p0,v2},Lcom/sunxz/test/MainActivlty;->setContentView
(I)V
Wherein, the first row " .class " specifies the class name of current class, and the second row " .super ", which specifies, works as
The parent of preceding class, the third line " .source " specify the source filename of current class, and #virutal methods is method sound
Bright instruction, parameter are parameter instructions, and prologue is code initial order, and invoke-virtual is that method call refers to
It enables.
Last line code completes the setting of this movable view to MainActivity, passes through setContentView
(I) layout represented by this method loading method parameter.Invoke-virtual is operation code, and representation method calls, pO,
V2 } it is register for placement parameter.
Lcom/sunxz/test/MainActivlty;It is the object type for calling this method, setContentView (I)
V is the specific method called, and wherein I refers to that the type of parameter is int, and V refers to that returning to Value Types is void.In the row dis-assembling
In code, what two registers pO and v2 were stored respectively is Lcom/example/test/MainActivity and int class
The value of type, the value of the int type in the last line but one in code const/high 16v2,0x7f03 in have carried out data fixed
Justice, the line code indicate that this numerical value is assigned to register v2 by 0x7f03, can determine MainActivity by this value
Live loaded be ID be 0x7f03 topology file.
As described above, R.class file can be also got after decompiling APK, 0x7f03 pairs known to parsing R.class file
The topology file title answered is activity_main, so far it is known that MainActivity and MainActivity load
Topology file be activity_main, wherein activity_main.xml be located in apk/res/layout/ catalogue under.
The interface relevant information of application is stored in database by S1013.
Database is established, by the interface relevant information of application, such as the interface for including in the packet name of application, the application is corresponding
Packet name, the application the corresponding topology file in interface and its title.For ease of description, by these interfaces, relevant information is referred to as
For application message tables of data, table structure field is as follows: application package name interface title 1 ..., interface title 1_ load layout
1 ...
In practical operation, user may install pre-installed applications in third-party application and/or uninstalling system, and (or third party is answered
With), cause above-mentioned application message tables of data to need to update.In consideration of it, the present invention proposes to install or unload for user
The case where carrying application adds the monitor for monitoring installation application or unloading application in systems, the specific steps are as follows:
1. if in installation application process, getting the interface title of application, and according to acquisition listen to installation application
The interface of application obtains corresponding topology file title, according to these information update application message tables of data;
2. if in unloading application process, deleting application letter according to the packet name of the application of unloading listen to unloading application
Cease the relative recording of the application in tables of data.
By increasing this service of monitoring system current interface in systems, system is determined by Android native interface
It is currently which interface in which application.As previously described, because the corresponding packet in interface for including in the packet name of application, the application
The interface relevant information of the applications such as name, the corresponding topology file in interface of the application and its title is previously stored in database, because
This can work as after the system that determined is currently which interface i.e. system current application interface in which application according to system
Preceding application interface inquires database, gets the topology file at system current application interface.It should be noted that in order to not influence
Increased this service compilation of monitoring system current interface of institute can be APK, upon power-up of the system, receive booting by starting up speed
Self-starting is broadcasted, interval preset time carries out obtaining system is currently which interface in which application.
S102 is searched whether to exist from the topology file at acquired system current application interface and is pushed advertisement
Material information corresponds to the identical control of control property.
In embodiments of the present invention, the material information for being pushed advertisement includes being pushed the positions and dimensions of the material of advertisement
Correspond to the control with certain attribute Deng, these material information.
S103, if existing and the material information that is pushed advertisement in the topology file at acquired system current application interface
The identical control of control property is corresponded to, then according to control corresponding with the material information for being pushed advertisement in the topology file
Whether the identical control of attribute is clicked, alternatively, according in the topology file with the material information pair for being pushed advertisement
It answers whether the identical control of control property is clicked the information for corresponding to packet name with system current application interface, judges the quilt
Whether advertisement is in terminal display.
As one embodiment of the invention, according to control property corresponding with the material information of advertisement is pushed in topology file
Whether identical control is clicked the information that packet name is corresponded to system current application interface, and whether judgement is pushed advertisement in terminal
Show S1031 and S1032 to realize as follows:
S1031, if the identical control of corresponding with the material information of advertisement is pushed control property is clicked in topology file
And system current application interface corresponds to packet name and changes, then new with the presence or absence of system current application interface from database lookup
Correspondence packet name.
It should be noted that system current application interface changes, then it is inevitable to correspond to packet name for system current application interface
It changes.For example, system current application interface is interface I b from interface I a variation, then system current application interface corresponds to packet name
Also accordingly changing from Pa is Pb.If the identical control quilt of corresponding with the material information of advertisement is pushed control property in topology file
It clicks and system current application interface corresponds to packet name and changes, then whether there is system current application circle from database lookup
Whether the new correspondence packet name in face then deposits from database lookup for example, it is Pb that system current application interface, which corresponds to Bao Mingcong Pa variation,
In the new correspondence packet name Pb in system current application interface.
S1032, if the correspondence packet name that database is new there is no system current application interface, it is determined that be pushed advertisement at end
End is demonstrated.
As previously described, because database has stored the packet name of application in advance, the interface that includes in the application is corresponding
The interface relevant information of the applications such as packet name, the corresponding topology file in interface of the application and its title, therefore, if database is not deposited
In the new correspondence packet name in system current application interface, then illustrates system current interface not and be that the packet name of database purchase is corresponding and answer
Interface, but showing the advertisement being pushed;Conversely, if corresponding packet of the database there are system current application interface newly
Name, then explanation only in switching application or is applied at switching interface, rather than the advertisement being pushed in displaying.
As an embodiment of the present invention, according to control category corresponding with the material information of advertisement is pushed in the topology file
Property identical control whether be clicked, if judgement be pushed advertisement whether terminal display may is that in the topology file with
The material information for being pushed advertisement corresponds to the identical control of control property and is not clicked, it is determined that is pushed advertisement at end
End is not demonstrated.If the identical control of corresponding with the material information for being pushed advertisement control property in the topology file
It is clicked, then further judges that system current application interface corresponds to whether packet name changes, process enters above-described embodiment
S1031 and S1032.
As another embodiment of the present invention, according to corresponding with the material information for being pushed advertisement in the topology file
Whether the identical control of control property is clicked the information that packet name is corresponded to system current application interface, and judgement, which is pushed advertisement, is
If it is no may is that in terminal display it is identical as the corresponding control property of material information for being pushed advertisement in the topology file
Control be clicked, and system current application interface correspond to packet name there is no variation, it is determined that be pushed advertisement in terminal
It is not demonstrated.
From the exemplary method for monitoring advertisement of above-mentioned attached drawing 1 it is found that according to the cloth at acquired system current application interface
Whether the identical control of corresponding with the material information of advertisement is pushed control property is clicked in office file, alternatively, according to acquisition
Whether the identical control of corresponding with the material information of advertisement is pushed control property in the topology file at system current application interface
It is clicked the information that packet name is corresponded to system current application interface, judgement is pushed advertisement whether in terminal display, to solve
The problem of whether advertisement for being pushed to intelligent terminal is demonstrated cannot be known in advertiser.
Fig. 2 is the schematic diagram of the device of monitoring advertisement provided in an embodiment of the present invention, and main includes obtaining module 201, looking into
Module 202 and judgment module 203 are looked for, detailed description are as follows:
Module 201 is obtained, for obtaining the topology file at system current application interface;
Searching module 202, for searching whether there is control corresponding with the material information of advertisement is pushed from topology file
The identical control of part attribute;
Judgment module 203, if for obtain module 201 acquisition system current application interface topology file in exist with
The material information for being pushed advertisement corresponds to the identical control of control property, then is pushed extensively according in the topology file with described
The material information of announcement corresponds to whether the identical control of control property is clicked, alternatively, according in the topology file with the quilt
Whether the material information of advertisement, which corresponds to the identical control of control property and be clicked, corresponds to packet name with system current application interface
Information, judgement whether be pushed advertisement in terminal display.
It should be noted that device provided in an embodiment of the present invention, due to being based on same structure with embodiment of the present invention method
Think, bring technical effect is identical as embodiment of the present invention method, and particular content can be found in embodiment of the present invention method
Narration, details are not described herein again.
The exemplary judgment module 203 of attached drawing 2 may include search unit 301 and the first determination unit 302, as attached drawing 3 shows
The device of the monitoring advertisement of example, in which:
Search unit 301, if for obtain module 201 acquisition system current application interface topology file in pushed away
Sending the material information of advertisement to correspond to, the identical control of control property is clicked and system current application interface corresponds to the generation of packet name
Variation then whether there is the new correspondence packet name in system current application interface from database lookup;
First determination unit 302, if the correspondence packet name new there is no system current application interface for database, it is determined that
Advertisement is pushed to be demonstrated in terminal.
The exemplary judgment module 203 of attached drawing 2 may include the second determination unit 401, such as the exemplary monitoring advertisement of attached drawing 4
Device.If the second determination unit 401 is used to obtain in the topology file at the system current application interface of the acquisition of module 201 and is pushed away
Send the material information of advertisement to correspond to the identical control of control property not to be clicked, it is determined that be pushed advertisement terminal not by
It shows.
The exemplary judgment module 203 of attached drawing 2 may include third determination unit, if being for obtain the acquisition of module 201
The identical control of corresponding with the material information of advertisement is pushed control property in the topology file at current application interface of uniting is clicked,
And system current application interface corresponds to packet name, and there is no variations, it is determined that is pushed advertisement and is not demonstrated in terminal.
The device of the monitoring advertisement of above-mentioned example can also include Database module, for obtaining the interface phase of application
It closes information and is stored in database, wherein the interface relevant information of application includes applying corresponding packet name, applied interface pair
The corresponding topology file in the interface of the packet name and application answered.
Fig. 5 is the structural schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 5, the end of the embodiment
End equipment 5 includes: processor 50, memory 51 and is stored in the computer that can be run in memory 51 and on processor 50
Program 52, such as monitor the program of the method for advertisement.Processor 50 realizes above-mentioned monitoring advertisement when executing computer program 52
Step in embodiment of the method, such as step S101 to S103 shown in FIG. 1.Alternatively, processor 50 executes computer program 52
The function of each module/unit in the above-mentioned each Installation practice of Shi Shixian, such as module 201, searching module 202 are obtained shown in Fig. 2
With the function of judgment module 203.
Illustratively, the computer program 52 for monitoring the method for advertisement specifically includes that acquisition system current application interface
Topology file;It is searched whether from the topology file identical in the presence of control property corresponding with the material information of advertisement is pushed
Control;If there is the identical control of control property corresponding with the material information of advertisement is pushed, basis in the topology file
Whether the identical control of corresponding with the material information for being pushed advertisement control property is clicked in the topology file, or
Person, according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file whether by point
The information for corresponding to packet name with system current application interface is hit, whether is pushed advertisement in terminal display described in judgement.It calculates
Machine program 52 can be divided into one or more module/units, one or more module/unit is stored in memory 51
In, and executed by processor 50, to complete the present invention.One or more module/units, which can be, can complete specific function
Series of computation machine program instruction section, the instruction segment are used to describe computer program 52 and are calculating the implementation procedure in equipment 5.Example
Such as, computer program 52, which can be divided into, obtains module 201, searching module 202 and judgment module 203 (in virtual bench
Module) function, each module concrete function is as follows: module 201 is obtained, for obtaining the layout text at system current application interface
Part;Searching module 202, for searching whether there is control property corresponding with the material information of advertisement is pushed from topology file
Identical control;Judgment module 203, if being deposited in the topology file at the system current application interface for obtaining the acquisition of module 201
In the identical control of control property corresponding with the material information of advertisement is pushed, then pushed away according in the topology file with described
Send the material information of advertisement to correspond to whether the identical control of control property is clicked, alternatively, according in the topology file with institute
State be pushed advertisement material information correspond to the identical control of control property whether be clicked it is corresponding with system current application interface
Whether the information of packet name, judgement are pushed advertisement in terminal display.
Terminal device 5 may include, but are not limited to processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of terminal device 5 does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as terminal device can also connect including input-output equipment, network
Enter equipment, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
Memory 51 can be the internal storage unit of terminal device 5, such as the hard disk or memory of terminal device 5.Storage
Device 51 is also possible to the plug-in type hard disk being equipped on the External memory equipment of terminal device 5, such as terminal device 5, intelligent storage
Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, memory 51 can also both including terminal device 5 internal storage unit and also including External memory equipment.Memory
51 for storing other programs and data needed for computer program and terminal device.Memory 51 can be also used for temporarily
Store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of device are divided into different functional unit or module, to complete above description
All or part of function.Each functional unit in embodiment, module can integrate in one processing unit, be also possible to
Each unit physically exists alone, and can also be integrated in one unit with two or more units, above-mentioned integrated unit
Both it can take the form of hardware realization, can also realize in the form of software functional units.In addition, each functional unit, mould
The specific name of block is also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.It is single in above system
Member, the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, mould
The division of block or unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple
Unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another
Point, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device or
The INDIRECT COUPLING or communication connection of unit can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If integrated module/unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side
All or part of the process in method can also instruct relevant hardware to complete by computer program, monitor the side of advertisement
The computer program of method can be stored in a computer readable storage medium, which, can when being executed by processor
The step of realizing above-mentioned each embodiment of the method, that is, obtain the topology file at system current application interface;From the topology file
In search whether exist the identical control of control property corresponding with the material information of advertisement is pushed;If being deposited in the topology file
In the identical control of control property corresponding with the material information of advertisement is pushed, then pushed away according in the topology file with described
Send the material information of advertisement to correspond to whether the identical control of control property is clicked, alternatively, according in the topology file with institute
It states and is pushed the material information of advertisement and corresponds to whether the identical control of control property is clicked and system current application interface
The information of packet name is corresponded to, whether is pushed advertisement in terminal display described in judgement.Wherein, computer program includes computer program
Code, computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..
Computer-readable medium may include: any entity or device, recording medium, USB flash disk, the shifting that can carry computer program code
Dynamic hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate
It is that the content that computer-readable medium includes can carry out appropriate according to the requirement made laws in jurisdiction with patent practice
Increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include electric carrier signal and
Telecommunication signal.The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation
Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or
Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all include
Within protection scope of the present invention.
Claims (10)
1. a kind of method for monitoring advertisement, which is characterized in that the described method includes:
The topology file at acquisition system current application interface;
Search whether there is the identical control of control property corresponding with the material information of advertisement is pushed from the topology file;
If there is the identical control of control property corresponding with the material information of advertisement is pushed in the topology file, according to institute
State whether the identical control of corresponding with the material information for being pushed advertisement control property in topology file is clicked, alternatively,
Whether it is clicked according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file
The information of packet name is corresponded to system current application interface, and advertisement is pushed described in judgement whether in terminal display.
2. as described in claim 1 monitoring advertisement method, which is characterized in that it is described according in the topology file with the quilt
The material information of advertisement correspond to the identical control of control property whether be clicked it is corresponding with system current application interface
Whether the information of packet name is pushed advertisement in terminal display described in judgement, comprising:
If the identical control of corresponding with the material information for being pushed advertisement control property is clicked simultaneously in the topology file
And system current application interface corresponds to packet name and changes, then whether there is system current application interface from database lookup
New correspondence packet name;
If the database correspondence packet name new there is no system current application interface, it is determined that described to be pushed advertisement in terminal
It is demonstrated.
3. as described in claim 1 monitoring advertisement method, which is characterized in that it is described according in the topology file with the quilt
The material information of advertisement corresponds to whether the identical control of control property is clicked, and advertisement is pushed described in judgement whether at end
End is shown, comprising:
If the identical control of corresponding with the material information for being pushed advertisement control property is not by point in the topology file
It hits, it is determined that described to be pushed advertisement and be not demonstrated in terminal.
4. as described in claim 1 monitoring advertisement method, which is characterized in that it is described according in the topology file with the quilt
The material information of advertisement correspond to the identical control of control property whether be clicked it is corresponding with system current application interface
Whether the information of packet name is pushed advertisement in terminal display described in judgement, comprising:
If the identical control of corresponding with the material information for being pushed advertisement control property is clicked in the topology file, and
And system current application interface corresponds to packet name there is no variations, it is determined that described to be pushed advertisement and do not opened up in terminal
Show.
5. monitoring the method for advertisement as described in Claims 1-4 any one, which is characterized in that the method also includes:
It obtains the interface relevant information of application and is stored in database, the interface relevant information of the application includes the application pair
The corresponding packet name in the interface of the packet name, the application answered and the corresponding topology file in interface of the application.
6. a kind of device for monitoring advertisement, which is characterized in that described device includes:
Module is obtained, for obtaining the topology file at system current application interface;
Searching module, for searching whether there is control category corresponding with the material information of advertisement is pushed from the topology file
The identical control of property;
Judgment module, if identical for there is control property corresponding with the material information of advertisement is pushed in the topology file
Control, then according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file whether
It is clicked, alternatively, according to the identical control of control property corresponding with the material information for being pushed advertisement in the topology file
Whether part is clicked the information that packet name is corresponded to system current application interface, whether is pushed advertisement in terminal described in judgement
It shows.
7. the device of monitoring advertisement as claimed in claim 6, which is characterized in that the judgment module includes:
Search unit, if identical for control property corresponding with the material information for being pushed advertisement in the topology file
Control is clicked and system current application interface corresponds to packet name and changes, then whether there is system from database lookup
The new correspondence packet name in current application interface;
First determination unit, if the correspondence packet name new there is no system current application interface for the database, it is determined that institute
It states and is pushed advertisement and is demonstrated in terminal.
8. the device of monitoring advertisement as claimed in claim 6, which is characterized in that the judgment module includes:
Second determination unit, if for control property phase corresponding with the material information for being pushed advertisement in the topology file
With control be not clicked, it is determined that it is described to be pushed advertisement and be not demonstrated in terminal.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as the step of claim 1 to 5 any one the method when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710607609.9A CN109299960B (en) | 2017-07-24 | 2017-07-24 | Method and device for monitoring advertisement, computer readable storage medium and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710607609.9A CN109299960B (en) | 2017-07-24 | 2017-07-24 | Method and device for monitoring advertisement, computer readable storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109299960A true CN109299960A (en) | 2019-02-01 |
CN109299960B CN109299960B (en) | 2024-02-02 |
Family
ID=65167070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710607609.9A Active CN109299960B (en) | 2017-07-24 | 2017-07-24 | Method and device for monitoring advertisement, computer readable storage medium and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109299960B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112395470A (en) * | 2019-08-19 | 2021-02-23 | Tcl集团股份有限公司 | Operation event statistical method and device in terminal system, terminal and storage medium |
CN113870064A (en) * | 2020-06-30 | 2021-12-31 | 北京奇虎科技有限公司 | Advertisement evidence obtaining method and system of intelligent terminal, storage medium and computer equipment thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002373283A (en) * | 2001-04-11 | 2002-12-26 | Mytoon House Inc | Method for displaying network advertisement |
CN101277491A (en) * | 2007-03-30 | 2008-10-01 | 华为技术有限公司 | System and method for monitoring advertisement |
CN103970514A (en) * | 2013-01-28 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Information acquisition method and device for Android application program installation package |
CN104142793A (en) * | 2014-07-26 | 2014-11-12 | 珠海市君天电子科技有限公司 | Method and device for simulating click on terminal control |
WO2014187248A1 (en) * | 2013-12-13 | 2014-11-27 | 中兴通讯股份有限公司 | Terminal user interface display method and terminal |
CN105354138A (en) * | 2015-10-12 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Method for determining specific control attribute of mobile phone page |
CN105373301A (en) * | 2014-08-14 | 2016-03-02 | 中兴通讯股份有限公司 | Control display method, control display apparatus, and terminal |
CN105760146A (en) * | 2014-12-16 | 2016-07-13 | 上海天脉聚源文化传媒有限公司 | User interface layout method and system |
-
2017
- 2017-07-24 CN CN201710607609.9A patent/CN109299960B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002373283A (en) * | 2001-04-11 | 2002-12-26 | Mytoon House Inc | Method for displaying network advertisement |
CN101277491A (en) * | 2007-03-30 | 2008-10-01 | 华为技术有限公司 | System and method for monitoring advertisement |
CN103970514A (en) * | 2013-01-28 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Information acquisition method and device for Android application program installation package |
WO2014187248A1 (en) * | 2013-12-13 | 2014-11-27 | 中兴通讯股份有限公司 | Terminal user interface display method and terminal |
CN104142793A (en) * | 2014-07-26 | 2014-11-12 | 珠海市君天电子科技有限公司 | Method and device for simulating click on terminal control |
CN105373301A (en) * | 2014-08-14 | 2016-03-02 | 中兴通讯股份有限公司 | Control display method, control display apparatus, and terminal |
CN105760146A (en) * | 2014-12-16 | 2016-07-13 | 上海天脉聚源文化传媒有限公司 | User interface layout method and system |
CN105354138A (en) * | 2015-10-12 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Method for determining specific control attribute of mobile phone page |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112395470A (en) * | 2019-08-19 | 2021-02-23 | Tcl集团股份有限公司 | Operation event statistical method and device in terminal system, terminal and storage medium |
CN113870064A (en) * | 2020-06-30 | 2021-12-31 | 北京奇虎科技有限公司 | Advertisement evidence obtaining method and system of intelligent terminal, storage medium and computer equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
CN109299960B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101765112B (en) | Value added service mutually exclusive authentication method and device | |
CN104583945B (en) | A kind of application upgrade method, apparatus | |
CN104679532B (en) | kernel module loading method and device | |
CN108566290A (en) | service configuration management method, system, storage medium and server | |
CN107872528A (en) | Information push method and device | |
CN110113247A (en) | Rich media information receive-transmit system, transmission, methods of exhibiting and terminal device | |
CN112764751A (en) | Interface generation method and device, interface request method and device and storage medium | |
CN109213533A (en) | A kind of advertisement SDK dynamic loading method, device and terminal | |
CN109299960A (en) | Monitor the method, apparatus and computer readable storage medium, terminal device of advertisement | |
CN106598662A (en) | Application loading method and device based on android | |
CN106775952A (en) | A kind of process management method and device of Android application | |
CN107690002A (en) | Communication means and device, system, computer installation and readable storage medium storing program for executing | |
CN109032685A (en) | A kind of method and terminal accelerating Android system starting | |
CN113760230A (en) | Service processing method and device | |
CN109298889A (en) | A kind of method, startup advertisement update method and terminal device generating bootstrap | |
CN102387264A (en) | Processing method and processing device of call control strategies and call center | |
CN109408091A (en) | Application upgrading method and device | |
CN110309000A (en) | Using update reminding method and terminal device | |
CN108400901A (en) | Test method, terminal device and the computer readable storage medium of application | |
CN109976754A (en) | A kind of method and its terminal that information is shown | |
CN109901892A (en) | A kind of method and apparatus of dynamic attribute verifying | |
CN108259575A (en) | Advertisement broadcast method, system, self-service device and Advertisement Server | |
CN103379086A (en) | Method for realizing hot-plugging data interaction and data service center | |
CN109725799A (en) | A kind of control method that advertisement is shown, device and intelligent terminal | |
CN115857878A (en) | Development framework generation method and application method |
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 | ||
CB02 | Change of applicant information |
Address after: 516006 TCL science and technology building, No. 17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province Applicant after: TCL Technology Group Co.,Ltd. Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District Applicant before: TCL Corp. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |