CN104317648A - Method and device for monitoring advertisements - Google Patents

Method and device for monitoring advertisements Download PDF

Info

Publication number
CN104317648A
CN104317648A CN201410504529.7A CN201410504529A CN104317648A CN 104317648 A CN104317648 A CN 104317648A CN 201410504529 A CN201410504529 A CN 201410504529A CN 104317648 A CN104317648 A CN 104317648A
Authority
CN
China
Prior art keywords
program
mobile device
stack top
application market
interface
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
Application number
CN201410504529.7A
Other languages
Chinese (zh)
Other versions
CN104317648B (en
Inventor
胡月鹏
孙超男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Changyou Tianxia Network Technologies Co Ltd
Original Assignee
Beijing Changyou Tianxia Network Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Changyou Tianxia Network Technologies Co Ltd filed Critical Beijing Changyou Tianxia Network Technologies Co Ltd
Priority to CN201410504529.7A priority Critical patent/CN104317648B/en
Publication of CN104317648A publication Critical patent/CN104317648A/en
Application granted granted Critical
Publication of CN104317648B publication Critical patent/CN104317648B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method and a device for monitoring advertisements. The method comprises the following steps of accessing a first application program interface of an operating system installed in mobile equipment to acquire all programs currently running in the mobile equipment; calling a system function to extract a stack top program currently displayed on a screen of the mobile equipment from all the programs; comparing the stack top program with a preset application market program; when the stack top program is the application market program, determining that the mobile equipment has skipped to the application market program through an advertisement link contained in an original program, generating advertisement guided prompt information, and displaying the information on the screen of the mobile equipment, wherein the original program is an application program accessed before the skip to the application market program; closing the application market program and enabling the original program by calling a second application program interface of the operating system.

Description

A kind of method and apparatus of monitoring advertisement
Technical field
The present invention relates to e-advertising field, particularly relate to a kind of method of monitoring advertisement, and, a kind of device of monitoring advertisement.
Background technology
Along with the universal of mobile device and the progress of technology, the equipment of communication function originally can only be had more intelligent, and the software above mobile device is also more and more abundanter.But the program that the technology of developer improves on mobile device is also very different, advertisement in program allows user normally use in software process to receive and much bother, and a lot of advertisement implants hacker software, userspersonal information and mobile device is made to receive safely more threat.
But moving advertising in overseas normally will be jumped to Google Play (Google is the application on site program shop of Android device exploitation) and go to download certain software; this advertisement is different from traditional form; developer is in order to realize better advertising results; usually advertisement directly can be joined in the middle of software function; it is a kind of advertisement form that such user cannot distinguish this, thus has more duplicity.
Have advertisement SDK in embedded ad ware, this is a kind of advertisement development kit be built in software, is provided by advertising provider.Current monitoring of the advertisement and Interception Technology, mainly monitor the routine package whether having advertisement SDK in the software of download, corresponding code can be implanted in software when monitoring corresponding advertisement SDK, stop the display of advertisement when running this software, or simpler mode is the display directly disconnecting network to organize only advertisement.
But this display that can only stop the advertisement of banner bar and the advertisement of software wall, can not stop the software jumping to application market and go downloads ad corresponding, still can take mobile device internal memory and consume certain network traffics.
Summary of the invention
The invention provides a kind of method and apparatus of monitoring advertisement, remove application market downloading data to stop to be guided by malice advertisement, reduce taking and consumption to network traffics mobile device internal memory.
In order to solve the problem, the invention discloses a kind of method of monitoring advertisement, comprising:
First application programming interfaces of the operating system that access mobile device is installed, obtain all programs of the current operation of described mobile device;
Calling system function extracts the current stack top program shown at described mobile device screen from all programs of current operation;
Described stack top program and the application market program preset are compared;
When described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing;
Close described application market program, and enable original program by the second application programming interfaces calling described operating system.
Preferably, the first interface continuing access and the second interface returning described original program is comprised in described information;
Before the described application market program of described closedown, described method also comprises:
Receive user to operate the selection of described second interface;
Described method also comprises:
Receive user to operate the selection of described first interface, and continue to load described application market program.
Preferably, before the described application market program of described closedown, described method also comprises:
Receive user to operate the selection of described mobile device programmable button.
Preferably, the first application programming interfaces of the operating system that described access mobile device is installed, all programs obtaining the current operation of described mobile device comprise:
Access the first application programming interfaces of the operating system that described mobile device is installed, call function task list obtains function, obtains the program listing of all programs comprising current operation;
Described calling system function extracts the current stack top program shown at described mobile device screen and comprises from all programs of current operation:
Calling system function extracts the current stack top program shown at described mobile device screen from described program listing.
Preferably, described described stack top program being compared with the application market program preset comprises:
Calling program bag name obtains the routine package name that function obtains described stack top program;
The routine package name of the routine package name of described stack top program and described application market program is compared.
Present invention also offers a kind of method of monitoring advertisement, comprising:
First interface access modules, for accessing the first application programming interfaces of the operating system that mobile device is installed, obtains all programs of the current operation of described mobile device;
Stack top program acquisition module, extracts the current stack top program shown at described mobile device screen for calling system function from all programs of current operation;
Stack top program comparing module, for comparing described stack top program and the application market program preset;
Reminding module, for when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing;
Program handover module, for closing described application market program, and the second application programming interfaces calling described operating system enable original program.
Preferably, the first interface continuing access and the second interface returning described original program is comprised in described information;
Described device also comprises:
Second interface option interface module, operates the selection of described second interface for receiving user, and performs described program handover module;
Described device also comprises:
First interface selects receiver module, operates the selection of described first interface for receiving user, and continues to load described application market program.
Preferably, described device also comprises:
Button selects receiver module, operates the selection of described mobile device programmable button for receiving user.
Preferably, described first interface access modules, specifically for accessing the first application programming interfaces of the operating system that described mobile device is installed, call function task list obtains function, obtains the program listing of all programs comprising current operation;
Described stack top program acquisition module, extracts the current stack top program shown at described mobile device screen specifically for calling system function from described program listing.
Preferably, described stack top program comparing module comprises:
Bag name obtains submodule, obtains for calling program bag name the routine package name that function obtains described stack top program;
Bag name comparer module, for comparing the routine package name of the routine package name of described stack top program and described application market program.
Compared with background technology, the present invention includes following advantage:
According to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then close described application market program further and be switched to original program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
Accompanying drawing explanation
Fig. 1 is a kind of process flow diagram of monitoring the method for advertisement of the embodiment of the present invention 1;
Fig. 2 is a kind of process flow diagram of monitoring the method for advertisement of the embodiment of the present invention 2;
Fig. 3 is a kind of process flow diagram of monitoring the method for advertisement of the embodiment of the present invention 3;
Fig. 4 is a kind of structured flowchart of monitoring the device of advertisement of the embodiment of the present invention 1;
Fig. 5 is a kind of structured flowchart of monitoring the device of advertisement of the embodiment of the present invention 2;
Fig. 6 is a kind of structured flowchart of monitoring the device of advertisement of the embodiment of the present invention 3.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Be described in detail below by the realization flow of embodiment to the method for the invention.
With reference to Fig. 1, it illustrates a kind of process flow diagram of monitoring the method for advertisement described in the embodiment of the present invention 1, described method specifically can comprise:
First application programming interfaces of the operating system that step 101, access mobile device are installed, obtain all programs of the current operation of described mobile device.
The application programming interfaces (API) of operating system are the interfaces of application program and operating system traffic, are the known services that system provides, and include multiple function called, and call the various information that corresponding function can obtain mobile terminal.Herein by calling the first application programming interfaces, all programs of the current operation of mobile device just can be obtained.
Step 102, calling system function extract the current stack top program shown at described mobile device screen from all programs of current operation.
Stack top program refers to the program shown on mobile device current screen, not only comprises stack top program and also comprise other various programs at running background in all programs of current operation.Stack top program can be extracted from the program of multiple current operation by calling system function topActivity.
When user installation after enforcement software of the present invention, software can run an oracle listener, always the stack top program of monitoring users screen.
Step 103, by described stack top program with preset application market program compare.
Judge that this stack top program is application market program further after obtaining stack top program, application market program provides the download to multiple application program, application market is also known as application shop, be commonly called as APP STORE, special is mobile device mobile phone, panel computers etc. provide charge (freely) to play, the electronic application shop of application download service.
Application market program can be arranged according to actual needs, such as Google Play or other any identifications he be market class application.
Step 104, when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing.
If stack top program is application market program, then illustrate that mobile device has been subject to advertisement and has guided, the advertisement link comprised from the original program of access originally jumps to application market program, and possibility other softwares that downloads ad is corresponding further.Now can generate the information being subject to advertisement and guiding, and show on the screen of the mobile device to point out user.
Step 105, close described application market program, and enable original program by the second application programming interfaces calling described operating system.
After determining that mobile device has been subject to advertisement guiding, this application market program of further closedown, avoid further accessing and downloading, and be switched to the application program of access originally, application programming interfaces (API) are provided to start random procedure in system, original program can be reactivated by calling this interface, startActivity method specifically can be adopted to enable original program.
Monitored time advertisement shape is and occurs by the embodiment of the present invention and point out user and be switched to original program, decrease the behavior that user is guided by malice advertisement.
In the embodiment of the present invention, further preferably, the first application programming interfaces of the operating system that described access mobile device is installed, all programs obtaining the current operation of described mobile device can comprise:
Sub-step S11, access the first application programming interfaces of operating system that described mobile device installs, call function task list obtains function, obtains the program listing of all programs comprising current operation.
By calling the first application programming interfaces, further call function task list obtains function activityManager.getRunningTasks, can obtain program listing, comprise all program runingTask of the current operation of mobile device in program listing.
In the embodiment of the present invention, further preferably, described calling system function extracts the current stack top program shown at described mobile device screen and comprises from all programs of current operation:
Sub-step S21, calling system function extract the current stack top program shown at described mobile device screen from described program listing.
After obtaining program listing, the top layer activity obtaining runingTask can be obtained by the system function topActivity of ActivityManager.runningTask, that is to say the stack top program that current screen is running.
In the embodiment of the present invention, further preferably, described described stack top program being compared with the application market program preset comprises:
Sub-step S31, calling program bag name obtain the routine package name that function obtains described stack top program;
Sub-step S32, the routine package name of the routine package name of described stack top program and described application market program to be compared.
Stack top program and application market program are compared, it can be the routine package name of alignment programs, routine package name can application program corresponding to unique identification, also can adopt other arbitrarily can the information (such as carrying out to program EXE file the MD5 value that message digest algorithm obtains) of unique identification program.In the embodiment of the present invention, after determining stack top program, further calling program bag name obtains the routine package name that function getClassName () obtains stack top program, and stack top program and the application market program routine package name separately preset is compared.
In sum, according to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then close described application market program further and be switched to original program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
With reference to Fig. 2, it illustrates a kind of process flow diagram of monitoring the method for advertisement described in the embodiment of the present invention 2, described method specifically can comprise:
First application programming interfaces of the operating system that step 201, access mobile device are installed, obtain all programs of the current operation of described mobile device.
Step 202, calling system function extract the current stack top program shown at described mobile device screen from all programs of current operation.
Step 203, by described stack top program with preset application market program compare.
Step 204, when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generation is subject to the information of advertisement guiding and is illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing, comprise the first interface continuing access and the second interface returning described original program in described information.
When the stack top program of user from certain change of program to markets such as GOOGLEPLAY time just judge that user receives the guiding of hiding advertisement certain program, can eject a prompting frame and allow user select whether to continue to access or return the program of originally accessing on screen.
Step 205, reception user operate the selection of described first interface, and continue to load described application market program.
Step 206, reception user operate the selection of described second interface, and close described application market program, and enable original program by the second application programming interfaces calling described operating system.
If user selects first interface, then continue load application market program, if user selects to close, be switched to original program from application market program.
According to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then eject corresponding prompting to select whether to accept this advertisement to allow user, close described application market program further according to the selection of user be switched to original program or continue access application market program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
With reference to Fig. 3, it illustrates a kind of process flow diagram of monitoring the method for advertisement described in the embodiment of the present invention 3, described method specifically can comprise:
First application programming interfaces of the operating system that step 301, access mobile device are installed, obtain all programs of the current operation of described mobile device.
Step 302, calling system function extract the current stack top program shown at described mobile device screen from all programs of current operation.
Step 303, by described stack top program with preset application market program compare.
Step 304, when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing.
Step 305, reception user operate the selection of described mobile device programmable button, and close described application market program, and enable original program by the second application programming interfaces calling described operating system.
According to information, user knows that being subject to advertisement guides after, can select to exit application market program by clicking the button preset, such as click return key or HOME key or other buttons pre-set (such as certain numerical key or # key, * key etc.), so all can not continue access application market program.
According to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then close described application market program further and be switched to original program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
It should be noted that, for aforesaid embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be essential to the invention.
Based on the explanation of said method embodiment, present invention also offers the device embodiment of corresponding monitoring advertisement, realize the content described in said method embodiment.
With reference to Fig. 4, it illustrates a kind of structured flowchart of monitoring the device of advertisement described in the embodiment of the present invention 1, comprising:
First interface access modules 401, for accessing the first application programming interfaces of the operating system that mobile device is installed, obtains all programs of the current operation of described mobile device.
Stack top program acquisition module 402, extracts the current stack top program shown at described mobile device screen for calling system function from all programs of current operation.
Stack top program comparing module 403, for comparing described stack top program and the application market program preset.
Reminding module 404, for when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing.
Program handover module 405, for closing described application market program, and the second application programming interfaces calling described operating system enable original program.
In the embodiment of the present invention, preferably, described first interface access modules, specifically for accessing the first application programming interfaces of the operating system that described mobile device is installed, call function task list obtains function, obtains the program listing of all programs comprising current operation;
Described stack top program acquisition module, extracts the current stack top program shown at described mobile device screen specifically for calling system function from described program listing.
In the embodiment of the present invention, preferably, described stack top program comparing module comprises:
Bag name obtains submodule, obtains for calling program bag name the routine package name that function obtains described stack top program;
Bag name comparer module, for comparing the routine package name of the routine package name of described stack top program and described application market program.
According to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then close described application market program further and be switched to original program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
With reference to Fig. 5, it illustrates a kind of structured flowchart of monitoring the device of advertisement described in the embodiment of the present invention 2, comprising:
First interface access modules 501, for accessing the first application programming interfaces of the operating system that mobile device is installed, obtains all programs of the current operation of described mobile device.
Stack top program acquisition module 502, extracts the current stack top program shown at described mobile device screen for calling system function from all programs of current operation.
Stack top program comparing module 503, for comparing described stack top program and the application market program preset.
Reminding module 504, for when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generation is subject to the information of advertisement guiding and is illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing, comprise the first interface continuing access and the second interface returning described original program in described information.
First interface selects receiver module 505, operates the selection of described first interface for receiving user, and continues to load described application market program.
Second interface option interface module 506, operates the selection of described second interface for receiving user.
Program handover module 507, for closing described application market program, and the second application programming interfaces calling described operating system enable original program.
According to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then eject corresponding prompting to select whether to accept this advertisement to allow user, close described application market program further according to the selection of user be switched to original program or continue access application market program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
With reference to Fig. 6, it illustrates a kind of structured flowchart of monitoring the device of advertisement described in the embodiment of the present invention 3, comprising:
First interface access modules 601, for accessing the first application programming interfaces of the operating system that mobile device is installed, obtains all programs of the current operation of described mobile device.
Stack top program acquisition module 602, extracts the current stack top program shown at described mobile device screen for calling system function from all programs of current operation.
Stack top program comparing module 603, for comparing described stack top program and the application market program preset.
Reminding module 604, for when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing.
Button selects receiver module 605, operates the selection of described mobile device programmable button for receiving user.
Program handover module 606, for closing described application market program, and the second application programming interfaces calling described operating system enable original program.
According to the embodiment of the present invention, by the first application programming interfaces of access mobile device operation system, obtain all programs of the current operation of described mobile device, and from all programs, be extracted in further by calling system function the stack top program that described mobile device screen shows, if described stack top program is described application market program, then can determine that the advertisement link that described mobile device has passed through to comprise in the original program of accessing before jumps to described application market program, then close described application market program further and be switched to original program, thus can stop by malice advertisement guide remove application market downloading data, reduce taking mobile device internal memory, reduce the consumption to network traffics.
For the device embodiment of above-mentioned monitoring advertisement, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method shown in Fig. 1, Fig. 2 and Fig. 3.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art are easy to it is envisioned that: the combination in any application of each embodiment above-mentioned is all feasible, therefore the combination in any between each embodiment above-mentioned is all embodiment of the present invention, but this instructions does not just detail one by one at this as space is limited.
The present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, the distributed computing environment comprising above any system or equipment etc. based on microprocessor.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
In the present invention, " assembly ", " device ", " system " etc. refer to be applied to the related entities of computing machine, as the combination of hardware, hardware and software, software or executory software etc.In detail, such as, assembly can but be not limited to be run on the process of processor, processor, object, can executive module, execution thread, program and/or computing machine.Further, run on application program on server or shell script, server can be assembly.One or more assembly can in the process performed and/or thread, and assembly can localization and/or be distributed between two or multiple stage computing machine on one computer, and can be run by various computer-readable medium.Assembly can also according to the signal with one or more packet, such as, from one with another component interaction in local system, distributed system, and/or the network in the Internet communicated by local and/or remote process with the signal of the data of other system interaction by signal.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And term " comprises ", " comprising ", not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
And "and/or" above represents and both contained herein " with " relation, also contains the relation of "or", wherein: if option A and option b be " with " relation, then represent in certain embodiment can comprise option A and option b simultaneously; If option A and option b are the relations of "or", then represent in certain embodiment and can comprise option A separately, or comprise option b separately.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Above to provided by the present invention a kind of monitor advertisement method and the device of monitoring advertisement, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. monitor a method for advertisement, it is characterized in that, comprising:
First application programming interfaces of the operating system that access mobile device is installed, obtain all programs of the current operation of described mobile device;
Calling system function extracts the current stack top program shown at described mobile device screen from all programs of current operation;
Described stack top program and the application market program preset are compared;
When described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing;
Close described application market program, and enable original program by the second application programming interfaces calling described operating system.
2. method according to claim 1, is characterized in that, comprises the first interface continuing access and the second interface returning described original program in described information;
Before the described application market program of described closedown, described method also comprises:
Receive user to operate the selection of described second interface;
Described method also comprises:
Receive user to operate the selection of described first interface, and continue to load described application market program.
3. method according to claim 1, is characterized in that, before the described application market program of described closedown, described method also comprises:
Receive user to operate the selection of described mobile device programmable button.
4. method according to claim 1, is characterized in that, the first application programming interfaces of the operating system that described access mobile device is installed, and all programs obtaining the current operation of described mobile device comprise:
Access the first application programming interfaces of the operating system that described mobile device is installed, call function task list obtains function, obtains the program listing of all programs comprising current operation;
Described calling system function extracts the current stack top program shown at described mobile device screen and comprises from all programs of current operation:
Calling system function extracts the current stack top program shown at described mobile device screen from described program listing.
5. method according to claim 1, is characterized in that, described described stack top program being compared with the application market program preset comprises:
Calling program bag name obtains the routine package name that function obtains described stack top program;
The routine package name of the routine package name of described stack top program and described application market program is compared.
6. monitor a method for advertisement, it is characterized in that, comprising:
First interface access modules, for accessing the first application programming interfaces of the operating system that mobile device is installed, obtains all programs of the current operation of described mobile device;
Stack top program acquisition module, extracts the current stack top program shown at described mobile device screen for calling system function from all programs of current operation;
Stack top program comparing module, for comparing described stack top program and the application market program preset;
Reminding module, for when described stack top program is described application market program, determine that described mobile device jumps to described application market program by the advertisement link comprised in original program, generate and be subject to information that advertisement guides and be illustrated on the screen of described mobile device, described original program be jump to described application market program before the application program of accessing;
Program handover module, for closing described application market program, and the second application programming interfaces calling described operating system enable original program.
7. device according to claim 6, is characterized in that, comprises the first interface continuing access and the second interface returning described original program in described information;
Described device also comprises:
Second interface option interface module, operates the selection of described second interface for receiving user, and performs described program handover module;
Described device also comprises:
First interface selects receiver module, operates the selection of described first interface for receiving user, and continues to load described application market program.
8. device according to claim 6, is characterized in that, described device also comprises:
Button selects receiver module, operates the selection of described mobile device programmable button for receiving user.
9. device according to claim 6, is characterized in that:
Described first interface access modules, specifically for accessing the first application programming interfaces of the operating system that described mobile device is installed, call function task list obtains function, obtains the program listing of all programs comprising current operation;
Described stack top program acquisition module, extracts the current stack top program shown at described mobile device screen specifically for calling system function from described program listing.
10. device according to claim 6, is characterized in that, described stack top program comparing module comprises:
Bag name obtains submodule, obtains for calling program bag name the routine package name that function obtains described stack top program;
Bag name comparer module, for comparing the routine package name of the routine package name of described stack top program and described application market program.
CN201410504529.7A 2014-09-26 2014-09-26 A kind of method and apparatus of monitoring advertisement Expired - Fee Related CN104317648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410504529.7A CN104317648B (en) 2014-09-26 2014-09-26 A kind of method and apparatus of monitoring advertisement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410504529.7A CN104317648B (en) 2014-09-26 2014-09-26 A kind of method and apparatus of monitoring advertisement

Publications (2)

Publication Number Publication Date
CN104317648A true CN104317648A (en) 2015-01-28
CN104317648B CN104317648B (en) 2018-10-23

Family

ID=52372883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410504529.7A Expired - Fee Related CN104317648B (en) 2014-09-26 2014-09-26 A kind of method and apparatus of monitoring advertisement

Country Status (1)

Country Link
CN (1) CN104317648B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487871A (en) * 2015-12-01 2016-04-13 海信集团有限公司 Method and device for running application programs on intelligent terminal
CN107370740A (en) * 2017-07-28 2017-11-21 北京五八信息技术有限公司 Redirect hold-up interception method and device
CN108182091A (en) * 2016-12-08 2018-06-19 北京奇虎科技有限公司 The method and device manipulated in SDK to user behavior
CN108804915A (en) * 2017-05-03 2018-11-13 腾讯科技(深圳)有限公司 Virus method for cleaning, storage device and electric terminal
CN109218375A (en) * 2017-07-07 2019-01-15 北京小米移动软件有限公司 Using exchange method and device
CN109218374A (en) * 2017-07-07 2019-01-15 北京小米移动软件有限公司 Using exchange method and device
CN112087544A (en) * 2020-08-10 2020-12-15 五八有限公司 Prompting method and device
US10990461B2 (en) 2017-06-14 2021-04-27 Beijing Xiaomi Mobile Software Co., Ltd. Application interaction method, interaction method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040019523A1 (en) * 2002-07-25 2004-01-29 Barry Christopher J. Method and system for providing filtered and/or masked advertisements over the internet
CN102799643A (en) * 2012-06-30 2012-11-28 成都西可科技有限公司 Mobile platform advertisement filtering method
CN103150513A (en) * 2013-03-20 2013-06-12 北京奇虎科技有限公司 Method and device for intercepting embedded information in application program
US20130347094A1 (en) * 2012-06-25 2013-12-26 Appthority, Inc. In-line filtering of insecure or unwanted mobile device software components or communications
CN103514554A (en) * 2012-11-15 2014-01-15 Tcl集团股份有限公司 Advertisement injecting method of intelligent device and intelligent device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040019523A1 (en) * 2002-07-25 2004-01-29 Barry Christopher J. Method and system for providing filtered and/or masked advertisements over the internet
US20130347094A1 (en) * 2012-06-25 2013-12-26 Appthority, Inc. In-line filtering of insecure or unwanted mobile device software components or communications
CN102799643A (en) * 2012-06-30 2012-11-28 成都西可科技有限公司 Mobile platform advertisement filtering method
CN103514554A (en) * 2012-11-15 2014-01-15 Tcl集团股份有限公司 Advertisement injecting method of intelligent device and intelligent device
CN103150513A (en) * 2013-03-20 2013-06-12 北京奇虎科技有限公司 Method and device for intercepting embedded information in application program

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Android程序开发实用教程》;邵长恒 等;《Android程序开发实用教程》;清华大学出版社;20140430;149-152 *
邵长恒 等: "《Android程序开发实用教程》", 30 April 2014, 清华大学出版社 *
雷擎 等: "《基于Android平台的移动互联网开发》", 30 June 2014, 清华大学出版社 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487871A (en) * 2015-12-01 2016-04-13 海信集团有限公司 Method and device for running application programs on intelligent terminal
CN108182091A (en) * 2016-12-08 2018-06-19 北京奇虎科技有限公司 The method and device manipulated in SDK to user behavior
CN108804915B (en) * 2017-05-03 2021-03-26 腾讯科技(深圳)有限公司 Virus program cleaning method, storage device and electronic terminal
CN108804915A (en) * 2017-05-03 2018-11-13 腾讯科技(深圳)有限公司 Virus method for cleaning, storage device and electric terminal
US10990461B2 (en) 2017-06-14 2021-04-27 Beijing Xiaomi Mobile Software Co., Ltd. Application interaction method, interaction method and apparatus
US11360834B2 (en) 2017-06-14 2022-06-14 Beijing Xiaomi Mobile Software Co., Ltd. Application interaction method and apparatus
CN109218374A (en) * 2017-07-07 2019-01-15 北京小米移动软件有限公司 Using exchange method and device
CN109218375A (en) * 2017-07-07 2019-01-15 北京小米移动软件有限公司 Using exchange method and device
CN109218375B (en) * 2017-07-07 2021-11-23 北京小米移动软件有限公司 Application interaction method and device
CN109218374B (en) * 2017-07-07 2021-11-30 北京小米移动软件有限公司 Application interaction method and device
CN107370740B (en) * 2017-07-28 2020-08-11 北京五八信息技术有限公司 Jump interception method and device
CN107370740A (en) * 2017-07-28 2017-11-21 北京五八信息技术有限公司 Redirect hold-up interception method and device
CN112087544A (en) * 2020-08-10 2020-12-15 五八有限公司 Prompting method and device
CN112087544B (en) * 2020-08-10 2021-11-16 五八有限公司 Prompting method and device

Also Published As

Publication number Publication date
CN104317648B (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN104317648A (en) Method and device for monitoring advertisements
CN103049692B (en) A kind of application installation method, device and equipment
US8843827B2 (en) Activation of dormant features in native applications
KR101633366B1 (en) Method and system for providing application store service
US20110209128A1 (en) Systems, methods and apparatuses for facilitating targeted compilation of source code
CN103607660A (en) Intelligent television interface switching control method and control apparatus
US8910190B2 (en) Analytics data collection with low integration cost for dynamic message passing systems
CN106055968B (en) Permission setting method and device and electronic equipment
CN103823715A (en) Mobile terminal, method and device for one-key calling of application programs on mobile terminal
CN104333807A (en) Application processing method and device and smart television
CN105224401A (en) Scheduled task control method and device
CN110262810B (en) Method and device for installing application
CN108536451A (en) Application program buries a method for implanting and device
CN104657201A (en) Method, device, equipment and system for pushing application program
CN108701018A (en) The update method of application program
CN104796784A (en) Video playing method and device in application program
KR101373550B1 (en) System for platform system based on network
CN101483694B (en) Playing control method and apparatus for vector animation
CN108664389B (en) Test method, test device and terminal
US20130117132A1 (en) System for inserting services in a software application
CN108108206A (en) Mobile payment cut-in method and device
CN110851370A (en) Program testing method and device, and storage medium
CN109840113A (en) A kind of application data processing method and its equipment, storage medium, terminal
CN111274551B (en) Compiler-based java code protection method and device and electronic equipment
CN111382381B (en) User data sharing method and device, mobile terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181023

Termination date: 20210926