CN107959928B - Downloading method and downloading device for advertisement data packet in mobile terminal - Google Patents

Downloading method and downloading device for advertisement data packet in mobile terminal Download PDF

Info

Publication number
CN107959928B
CN107959928B CN201610905432.6A CN201610905432A CN107959928B CN 107959928 B CN107959928 B CN 107959928B CN 201610905432 A CN201610905432 A CN 201610905432A CN 107959928 B CN107959928 B CN 107959928B
Authority
CN
China
Prior art keywords
downloading
data packet
advertisement data
advertisement
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610905432.6A
Other languages
Chinese (zh)
Other versions
CN107959928A (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610905432.6A priority Critical patent/CN107959928B/en
Publication of CN107959928A publication Critical patent/CN107959928A/en
Application granted granted Critical
Publication of CN107959928B publication Critical patent/CN107959928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for downloading an advertisement data packet in a mobile terminal, wherein the method comprises the following steps: setting a same preset folder as a download storage path of an advertisement data packet by advertisement SDKs of a plurality of applications in the mobile terminal; monitoring the downloading operation of the advertisement data packet in the preset folder; when it is monitored that the same advertisement data packet is downloaded in a preset folder by the downloading processes of the advertisement SDKs of the at least two applications, the first downloading process executing the downloading operation is controlled to download the advertisement data packet, and the downloading operation of other downloading processes in the at least two processes to the advertisement data packet is paused. The technical scheme of the invention solves the problem that the same advertisement data packet in the mobile terminal is repeatedly downloaded for many times. The invention can avoid the waste and occupation of data flow and the memory space of the mobile terminal caused by repeated downloading of the same data packet by a plurality of processes.

Description

Downloading method and downloading device for advertisement data packet in mobile terminal
Technical Field
The invention relates to the technical field of terminal equipment, in particular to a method and a device for downloading an advertisement data packet in a mobile terminal.
Background
With the increasing popularization of the mobile internet, various application programs are produced, the life of the user is enriched, and the time consumed by the user on the mobile terminal device is increased. The advertisement embedded in the rich application programs is a new pet due to a large amount of attention, so that the advertisement embedded in the application programs is SDK, the advertising strength is increased for advertisers, the promoted products can be known by more people, extra benefits are increased for application program developers, and meanwhile, various kinds of information can be provided for vast users, so that convenience is brought to the life of the users.
The advertisement SDK is an advertisement putting platform embedded in an application program and used for providing advertisement information, and the application program can display the advertisement to be displayed provided by the advertisement SDK in the application program by calling an advertisement displaying interface provided by the advertisement SDK.
However, there are many applications installed on the same mobile terminal, and the advertisement SDKs of multiple applications embedded in the same mobile terminal are likely to be the same advertisement delivery platform. Generally, the advertisements delivered in the same advertisement delivery platform are the same, and therefore, the advertisement data packets containing the delivered advertisements are also the same. If the advertisement SDKs embedded in the multiple application programs download the same advertisement data packet simultaneously or sequentially, the data traffic required for downloading the data packet and the memory space of the mobile terminal are consumed unnecessarily.
Disclosure of Invention
In order to overcome the above technical problems or at least partially solve the above technical problems, the following technical solutions are proposed:
one embodiment of the present invention provides a method for downloading an advertisement data packet in a mobile terminal, including:
setting a same preset folder as a download storage path of an advertisement data packet by advertisement SDKs of a plurality of applications in the mobile terminal;
monitoring the downloading operation of the advertisement data packet in the preset folder;
when it is monitored that the same advertisement data packet is downloaded in a preset folder by the downloading processes of the advertisement SDKs of the at least two applications, the first downloading process executing the downloading operation is controlled to download the advertisement data packet, and the downloading operation of other downloading processes in the at least two processes to the advertisement data packet is paused.
Preferably, the monitoring of the downloading operation of the advertisement data packet in the preset folder includes:
and monitoring the downloading operation of the advertisement data packet in the preset folder through a pre-installed monitoring application program.
Optionally, the method further comprises:
when the downloading process of any advertisement SDK of the application in the mobile terminal carries out the downloading operation of the advertisement data packet in the preset folder, judging whether the downloading operation is the downloading operation of the first advertisement data packet in the preset folder;
and if so, installing the monitoring application program based on the monitoring application installation package obtained by the advertisement SDK of any application after the downloading operation of the advertisement data package is completed.
Optionally, the method further comprises:
after the installation operation of the monitoring application program is completed, acquiring identification information of terminal equipment for installing the monitoring application program, and sending the identification information of the terminal equipment and the installed information of the monitoring application program to an advertisement server;
wherein, judge whether the download operation of the first advertisement data package in presetting the folder includes:
sending the identification information of the terminal equipment to be installed with the monitoring application program to an advertisement server;
and if the installed information corresponding to the identification information of the terminal equipment to be installed with the monitoring application program, which is returned by the advertisement server, is received, judging that the terminal equipment does not download the advertisement data packet for the first time.
Preferably, the download progress of the advertisement SDKs of at least two applications is monitored for downloading the same advertisement data package in a preset folder by:
when it is monitored that the downloading process of the advertisement SDK of the first application downloads any advertisement data packet in a preset folder, acquiring a first advertisement data packet identifier;
when it is monitored that the downloading process of the advertisement SDK of the second application downloads any advertisement data packet in a preset folder, acquiring a second advertisement data packet identifier;
judging whether the first advertisement data packet identification is the same as the second advertisement data packet identification;
if the advertisement data packets are the same, determining that the same advertisement data packet is downloaded in the preset folder by monitoring the downloading processes of the advertisement SDKs of the first application and the second application.
Optionally, the method further comprises:
and when the successful downloading message of the first downloading process aiming at the advertisement data packet is monitored, finishing the downloading operation of other downloading processes in the at least two processes on the advertisement data packet.
Optionally, the method further comprises:
when the downloading failure message of the first downloading process aiming at the advertisement data packet is monitored, controlling any other downloading process in the at least two processes to continuously execute the downloading operation of the advertisement data packet.
Optionally, the method further comprises:
monitoring and recording the downloading condition of the advertisement SDKs of a plurality of applications in the mobile terminal aiming at any advertisement data packet through a monitoring application program;
wherein the downloading condition includes at least one of a number of requests for downloading any advertisement data packet through each application and a number of times of activating any advertisement data packet through each application.
Another embodiment of the present invention provides an apparatus for downloading an advertisement data packet in a mobile terminal, including:
the setting module is used for setting the same preset folder as a downloading storage path of the advertisement data packet by the advertisement SDKs of a plurality of applications in the mobile terminal;
the monitoring module is used for monitoring the downloading operation of the advertisement data packet in the preset folder;
and the control module is used for controlling the first downloading process executing the downloading operation to download the advertisement data packet and suspending the downloading operation of other downloading processes in the at least two processes to the advertisement data packet when the fact that the downloading processes of the advertisement SDKs of the at least two applications download the same advertisement data packet in the preset folder is monitored.
Preferably, the monitoring module is configured to monitor a downloading operation of the advertisement data packet in the preset folder through a pre-installed monitoring application.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the downloading operation of the advertisement data packet is the first downloading operation of the advertisement data packet in the preset folder or not when the downloading operation of the advertisement SDK of any application in the mobile terminal is carried out in the preset folder;
and the installation module is used for installing the monitoring application program based on the monitoring application installation package obtained through the advertisement SDK of any application after the downloading operation of the advertisement data package is completed when the downloading process of the advertisement SDK of any application in the mobile terminal is the downloading operation of the first advertisement data package in the preset folder.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the identification information of the terminal equipment for installing the monitoring application program after the installation operation of the monitoring application program is completed, and sending the identification information of the terminal equipment and the installed information of the monitoring application program to the advertisement server;
wherein, the judging module includes:
the information sending unit is used for sending the identification information of the terminal equipment to be installed with the monitoring application program to the advertisement server;
and the operation judging unit is used for judging that the terminal equipment does not perform the downloading operation of the advertisement data packet for the first time when receiving the installed completion information which is returned by the advertisement server and corresponds to the identification information of the terminal equipment to be installed with the monitoring application program.
Preferably, the control module comprises:
the first obtaining unit is used for obtaining a first advertisement data packet identifier when monitoring that the downloading process of the advertisement SDK of the first application downloads any advertisement data packet in a preset folder;
the second obtaining unit is used for obtaining a second advertisement data packet identifier when monitoring that the downloading process of the advertisement SDK of the second application downloads any advertisement data packet in the preset folder;
the identification judging unit is used for judging whether the first advertisement data packet identification is the same as the second advertisement data packet identification;
and the data packet determining unit is used for determining that the downloading processes of the advertisement SDKs of the first application and the second application are monitored to download the same advertisement data packet in a preset folder when the first advertisement data packet identifier is the same as the second advertisement data packet identifier.
Optionally, the apparatus further comprises:
and the ending module is used for ending the downloading operation of other downloading processes in the at least two processes on the advertisement data packet when the downloading success message of the first downloading process aiming at the advertisement data packet is monitored.
Optionally, the apparatus further comprises:
and the downloading module is used for controlling any other downloading process in the at least two processes to continuously execute the downloading operation of the advertisement data packet when the downloading failure message of the first downloading process aiming at the advertisement data packet is monitored.
Optionally, the apparatus further comprises:
the recording module is used for monitoring and recording the downloading condition of the advertisement SDKs of the plurality of applications in the mobile terminal aiming at any advertisement data packet through a monitoring application program;
wherein the downloading condition includes at least one of a number of requests for downloading any advertisement data packet through each application and a number of times of activating any advertisement data packet through each application.
The technical scheme of the invention solves the problem that the same advertisement data packet in the mobile terminal is repeatedly downloaded for many times. When it is monitored that the downloading processes of the advertisement SDKs of at least two applications download the same advertisement data packet in a preset folder, controlling a first downloading process executing downloading operation to download the advertisement data packet, namely only keeping the operation of downloading the advertisement data packet by the first downloading process, wherein the first process can be the process which starts to download the advertisement data packet at first or the process with the fastest downloading progress; then, the downloading operation of the advertisement data packet by other downloading processes in the at least two processes can be suspended, so that the waste and occupation of data flow and the memory space of the mobile terminal caused by repeated downloading of the same data packet by a plurality of processes can be avoided.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a method for downloading an advertisement data packet in a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for downloading an advertisement data packet in a mobile terminal according to a preferred embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for downloading advertisement data packets in a mobile terminal according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, a "terminal" as used herein includes both devices having a wireless signal receiver, which are devices having only a wireless signal receiver without transmit capability, and devices having receive and transmit hardware, which have devices having receive and transmit hardware capable of two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
Fig. 1 is a flowchart illustrating a method for downloading an advertisement data packet in a mobile terminal according to an embodiment of the present invention.
It should be noted that the SDK (Software Development Kit) is a set of Development tools such as a Software package, a Software framework, a hardware platform, and an operating system for developing an application. The SDK includes a broad set of related documents, paradigms, and tools used to assist in developing the application. On the other hand, the SDK is increasingly applied to advertisement delivery of the mobile terminal, the advertisement SDK is mainly a platform for embedding advertisements provided by an application developer, and the application calls an advertisement display interface provided by the SDK according to a corresponding requirement, so as to display the advertisement to be displayed provided by the advertisement SDK in the application.
Step S110: and the advertisement SDKs of a plurality of applications in the mobile terminal set the same preset folder as a download storage path of the advertisement data packet.
Generally, a plurality of applications, such as "pay for your money", "beauty team", "beauty show" and the like, may be installed in the same mobile terminal. If there are advertisement SDKs in all the application programs and the advertisement SDKs belong to the same advertisement promotion platform, the advertisement data packets downloaded through the advertisement SDKs of the multiple application programs may be the same advertisement data packet.
The same preset folder is set as a download storage path of the advertisement data packet through the advertisement SDKs of the plurality of applications, so that the subsequent monitoring of the data packet download process can be facilitated.
Step S120: and monitoring the downloading operation of the advertisement data packet in the preset folder.
Preferably, the step of monitoring the downloading operation of the advertisement data packet in the preset folder includes: and monitoring the downloading operation of the advertisement data packet in the preset folder through a pre-installed monitoring application program.
Optionally, the method provided in the embodiment of the present invention further includes step S140 and step S150: step S140: when the downloading process of any advertisement SDK of the application in the mobile terminal carries out the downloading operation of the advertisement data packet in the preset folder, judging whether the downloading operation is the downloading operation of the first advertisement data packet in the preset folder; step S150: and if so, installing the monitoring application program based on the monitoring application installation package obtained by the advertisement SDK of any application after the downloading operation of the advertisement data package is completed.
For example, an advertisement SDK of an instant messaging application in a mobile terminal, such as a smart phone, starts a download process aa.exe; next, when the downloading operation of the advertisement data packet ad.rar is performed in the preset folder Download through the downloading process aa.exe, judging whether any advertisement data packet exists in the preset folder Download; if not, determining that the downloading operation of the ad.rar of the advertisement data packet is the downloading operation of the advertisement data packet for the first time; and finally, after the downloading operation of the advertisement data packet is completed, installing the monitoring application program based on the monitoring application installation package obtained by the advertisement SDK of the instant messaging application program. It should be noted that the monitoring application installation package may be downloaded in the mobile terminal through the advertisement SDK in advance, and when an installation condition is triggered, the monitoring application installation package is installed. After the monitoring application is installed, the monitoring operation for downloading the advertisement data packet in the preset folder can be performed.
Optionally, the method provided in the embodiment of the present invention further includes step S160: step S160: after the installation operation of the monitoring application program is completed, acquiring identification information of terminal equipment for installing the monitoring application program, and sending the identification information of the terminal equipment and the installed information of the monitoring application program to an advertisement server; as shown in fig. 2, the step of determining whether the first advertisement packet is downloaded in the preset folder includes steps S141 and S142: step S141: sending the identification information of the terminal equipment to be installed with the monitoring application program to an advertisement server; step S142: and if the installed information corresponding to the identification information of the terminal equipment to be installed with the monitoring application program, which is returned by the advertisement server, is received, judging that the terminal equipment does not download the advertisement data packet for the first time.
For example, after the installation operation of the monitoring application is completed, the installed completion information "done" is correspondingly generated; then, the identification information "iPhone 6 s-78364" of the terminal device in which the monitoring application is installed can be acquired, and the identification information "iPhone 6 s-78364" of the terminal device and the installed completion information "done" of the monitoring application are sent to the advertisement server; subsequently, the advertisement server receives the identification information "iPhone 6 s-78364" of the terminal device and the installed completion information "done" of the monitoring application, and stores them in the installation list in association; when the terminal device downloads the advertisement data packet again, sending a monitoring application program downloading request comprising terminal device identification information 'iPhone 6 s-78364' to the advertisement server; then, the advertisement server receives a monitoring application program downloading request comprising terminal equipment identification information 'iPhone 6 s-78364', and carries out matching query on the terminal equipment identification information 'iPhone 6 s-78364' in a stored installation list; if the installed information corresponding to the terminal equipment identification information iPhone6s-78364 is found to be done, returning the installed information done to the terminal equipment; if the installed information corresponding to the terminal equipment identification information 'iPhone 6 s-78364' is not found, returning and extracting a corresponding monitoring application installation package and feeding back the monitoring application installation package to the terminal equipment; and finally, if the terminal equipment receives the installed completion information 'done' from the advertisement server, judging that the terminal equipment does not download the advertisement data packet for the first time.
Step S130: when it is monitored that the same advertisement data packet is downloaded in a preset folder by the downloading processes of the advertisement SDKs of the at least two applications, the first downloading process executing the downloading operation is controlled to download the advertisement data packet, and the downloading operation of other downloading processes in the at least two processes to the advertisement data packet is paused.
Preferably, the download progress of the advertisement SDKs of at least two applications may be monitored, but not limited to, downloading the same advertisement data package in a preset folder by: when it is monitored that the downloading process of the advertisement SDK of the first application downloads any advertisement data packet in a preset folder, acquiring a first advertisement data packet identifier; when it is monitored that the downloading process of the advertisement SDK of the second application downloads any advertisement data packet in a preset folder, acquiring a second advertisement data packet identifier; judging whether the first advertisement data packet identification is the same as the second advertisement data packet identification; if the advertisement data packets are the same, determining that the same advertisement data packet is downloaded in the preset folder by monitoring the downloading processes of the advertisement SDKs of the first application and the second application.
For example, first, when it is monitored that the advertisement data packet is downloaded in a preset folder Download in zhifubao.exe of the advertisement SDK of the "pay for treasure" application program, the advertisement data packet identifier ad1.rar is acquired; then, when it is monitored that the advertisement data packet is downloaded in a preset folder Download in the downloading process meituan.exe of the advertisement SDK of the Mei Tuo application program, acquiring an advertisement data packet identifier ad2. rar; subsequently, it is determined that the advertisement data packet identifier ad1.rar is different from the advertisement data packet identifier ad2.rar, and therefore, it can be determined that the monitored downloading processes zhifubao. exe and meituan. exe of the advertisement SDK of the "pay for treasure" application program and the "mei qun" application program Download different advertisement data packets in the preset folder Download, and the downloading operation of the two downloading processes is not controlled.
For another example, it is monitored that the downloading process meituan.exe of the advertisement SDK of the "mei qun" application downloads an advertisement data packet in a preset folder Download, and obtains an advertisement data packet identifier ad1. rar; and then, if the monitored downloading processes zhifubao.exe and meituan.exe of the advertisement SDK of the Payment application program and the Mei Gong application program Download the same advertisement data packet ad1.rar in a preset folder Download, controlling the first downloading process executing the downloading operation to Download the advertisement data packet ad1.rar continuously, and suspending the downloading operation of the downloading processes zhifubao.exe and meituan.exe to the advertisement data packet ad1. rar.
Optionally, the method provided in the embodiment of the present invention further includes step S170: and when the successful downloading message of the first downloading process aiming at the advertisement data packet is monitored, finishing the downloading operation of other downloading processes in the at least two processes on the advertisement data packet.
Specifically, when it is monitored that the first downloading process is a successful downloading message for the advertisement data packet, the downloading operation of the advertisement data packet by the other downloading process of the at least two processes suspended in step S130 may be directly ended. Since the first download process has been successfully downloaded for the advertisement data package, there is no need for the other download process of the at least two processes to continue waiting for download.
Optionally, the method provided in the embodiment of the present invention further includes step S180: when the downloading failure message of the first downloading process aiming at the advertisement data packet is monitored, controlling any other downloading process in the at least two processes to continuously execute the downloading operation of the advertisement data packet.
It should be noted that, when the first downloading process fails to download the advertisement data package, a downloading failure message is generated, so that when the downloading failure message of the first downloading process for the advertisement data package is monitored, any other downloading process is controlled to continue to execute the downloading operation of the advertisement data package, so as to ensure the smooth downloading of the advertisement data package.
Optionally, the method provided in the embodiment of the present invention further includes step S190: monitoring and recording the downloading condition of the advertisement SDKs of a plurality of applications in the mobile terminal aiming at any advertisement data packet through a monitoring application program; wherein the downloading condition includes at least one of a number of requests for downloading any advertisement data packet through each application and a number of times of activating any advertisement data packet through each application.
It should be noted that, in order to more effectively count the advertisement content successfully promoted by the advertisement SDK, the download condition of the advertisement SDKs of multiple applications in the mobile terminal for any advertisement data packet may be monitored and recorded by the monitoring application program.
The technical scheme of the invention solves the problem that the same advertisement data packet in the mobile terminal is repeatedly downloaded for many times. When it is monitored that the downloading processes of the advertisement SDKs of at least two applications download the same advertisement data packet in a preset folder, controlling a first downloading process executing downloading operation to download the advertisement data packet, namely only keeping the operation of downloading the advertisement data packet by the first downloading process, wherein the first process can be the process which starts to download the advertisement data packet at first or the process with the fastest downloading progress; then, the downloading operation of the advertisement data packet by other downloading processes in the at least two processes can be suspended, so that the waste and occupation of data flow and the memory space of the mobile terminal caused by repeated downloading of the same data packet by a plurality of processes can be avoided.
Fig. 3 is a schematic structural diagram of an apparatus for downloading advertisement data packets in a mobile terminal according to another embodiment of the present invention. The apparatus may include a setup module 310, a monitoring module 320, and a control module 330.
The setting module 310 sets the same preset folder as a download storage path of the advertisement data packet in the advertisement SDKs of multiple applications in the mobile terminal.
Generally, a plurality of applications, such as "pay for your money", "beauty team", "beauty show" and the like, may be installed in the same mobile terminal. If there are advertisement SDKs in all the application programs and the advertisement SDKs belong to the same advertisement promotion platform, the advertisement data packets downloaded through the advertisement SDKs of the multiple application programs may be the same advertisement data packet.
The setting module 310 may set the same preset folder as a download storage path of the advertisement data package through the advertisement SDKs of multiple applications, so as to facilitate subsequent monitoring of the data package download process.
The monitoring module 320 monitors the downloading operation of the advertisement data packet in the preset folder.
Preferably, the monitoring module 320 is configured to monitor the downloading operation of the advertisement data packet in the preset folder through a pre-installed monitoring application.
Optionally, the apparatus provided in the embodiment of the present invention further includes a determining module and an installing module: the judging module judges whether the downloading operation of the advertisement data packet is the first downloading operation of the advertisement data packet in the preset folder or not when the downloading operation of the advertisement SDK of any application in the mobile terminal is carried out in the preset folder; and the installation module is used for installing the monitoring application program based on the monitoring application installation package obtained through the advertisement SDK of any application after the downloading operation of the advertisement data package is completed when the downloading process of the advertisement SDK of any application in the mobile terminal is the downloading operation of the first advertisement data package in the preset folder.
For example, an advertisement SDK of an instant messaging application in a mobile terminal, such as a smart phone, starts a download process aa.exe; next, when the downloading operation of the advertisement data packet ad.rar is performed in the preset folder Download through the downloading process aa.exe, judging whether any advertisement data packet exists in the preset folder Download; if not, determining that the downloading operation of the ad.rar of the advertisement data packet is the downloading operation of the advertisement data packet for the first time; and finally, after the downloading operation of the advertisement data packet is completed, installing the monitoring application program based on the monitoring application installation package obtained by the advertisement SDK of the instant messaging application program. It should be noted that the monitoring application installation package may be downloaded in the mobile terminal through the advertisement SDK in advance, and when an installation condition is triggered, the monitoring application installation package is installed. After the monitoring application is installed, the monitoring operation for downloading the advertisement data packet in the preset folder can be performed.
Optionally, the apparatus provided in the embodiment of the present invention further includes an obtaining module: the acquisition module acquires identification information of terminal equipment for installing the monitoring application program after the installation operation of the monitoring application program is completed, and sends the identification information of the terminal equipment and the installed information of the monitoring application program to the advertisement server; wherein, the judging module comprises an information sending unit and an operation judging unit: the information sending unit sends the identification information of the terminal equipment to be installed with the monitoring application program to the advertisement server; the operation judging unit judges that the terminal equipment does not perform the downloading operation of the advertisement data packet for the first time when receiving the installed completion information corresponding to the identification information of the terminal equipment to be installed with the monitoring application program, which is returned by the advertisement server.
For example, after the installation operation of the monitoring application is completed, the installed completion information "done" is correspondingly generated; then, the identification information "iPhone 6 s-78364" of the terminal device in which the monitoring application is installed can be acquired, and the identification information "iPhone 6 s-78364" of the terminal device and the installed completion information "done" of the monitoring application are sent to the advertisement server; subsequently, the advertisement server receives the identification information "iPhone 6 s-78364" of the terminal device and the installed completion information "done" of the monitoring application, and stores them in the installation list in association; when the terminal device downloads the advertisement data packet again, sending a monitoring application program downloading request comprising terminal device identification information 'iPhone 6 s-78364' to the advertisement server; then, the advertisement server receives a monitoring application program downloading request comprising terminal equipment identification information 'iPhone 6 s-78364', and carries out matching query on the terminal equipment identification information 'iPhone 6 s-78364' in a stored installation list; if the installed information corresponding to the terminal equipment identification information iPhone6s-78364 is found to be done, returning the installed information done to the terminal equipment; if the installed information corresponding to the terminal equipment identification information 'iPhone 6 s-78364' is not found, returning and extracting a corresponding monitoring application installation package and feeding back the monitoring application installation package to the terminal equipment; and finally, if the terminal equipment receives the installed completion information 'done' from the advertisement server, judging that the terminal equipment does not download the advertisement data packet for the first time.
When it is monitored that the same advertisement data packet is downloaded in the preset folder by the downloading processes of the advertisement SDKs of the at least two applications, the control module 330 controls the first downloading process executing the downloading operation to download the advertisement data packet, and suspends the downloading operation of the advertisement data packet by the other downloading processes of the at least two processes.
Preferably, the control module 330 includes a first obtaining unit, a second obtaining unit, an identification judging unit, and a packet determining unit: the method comprises the steps that a first obtaining unit obtains a first advertisement data packet identifier when monitoring that the downloading process of an advertisement SDK of a first application downloads any advertisement data packet in a preset folder; the second obtaining unit obtains a second advertisement data packet identifier when monitoring that the downloading process of the advertisement SDK of the second application downloads any advertisement data packet in the preset folder; the identification judging unit judges whether the first advertisement data packet identification is the same as the second advertisement data packet identification; and when the first advertisement data packet identification is the same as the second advertisement data packet identification, the data packet determining unit determines that the same advertisement data packet is downloaded in the preset folder by monitoring the downloading process of the advertisement SDK of the first application and the second application.
For example, first, when it is monitored that the advertisement data packet is downloaded in a preset folder Download in zhifubao.exe of the advertisement SDK of the "pay for treasure" application program, the advertisement data packet identifier ad1.rar is acquired; then, when it is monitored that the advertisement data packet is downloaded in a preset folder Download in the downloading process meituan.exe of the advertisement SDK of the Mei Tuo application program, acquiring an advertisement data packet identifier ad2. rar; subsequently, it is determined that the advertisement data packet identifier ad1.rar is different from the advertisement data packet identifier ad2.rar, and therefore, it can be determined that the monitored downloading processes zhifubao. exe and meituan. exe of the advertisement SDK of the "pay for treasure" application program and the "mei qun" application program Download different advertisement data packets in the preset folder Download, and the downloading operation of the two downloading processes is not controlled.
For another example, it is monitored that the downloading process meituan.exe of the advertisement SDK of the "mei qun" application downloads an advertisement data packet in a preset folder Download, and obtains an advertisement data packet identifier ad1. rar; and then, if the monitored downloading processes zhifubao.exe and meituan.exe of the advertisement SDK of the Payment application program and the Mei Gong application program Download the same advertisement data packet ad1.rar in a preset folder Download, controlling the first downloading process executing the downloading operation to Download the advertisement data packet ad1.rar continuously, and suspending the downloading operation of the downloading processes zhifubao.exe and meituan.exe to the advertisement data packet ad1. rar.
Optionally, the apparatus provided in the embodiment of the present invention further includes an end module: and when monitoring that the first downloading process successfully downloads the advertisement data packet, the ending module ends the downloading operation of other downloading processes in the at least two processes on the advertisement data packet.
Specifically, when it is monitored that the first downloading process is a successful downloading message for the advertisement data packet, the ending module may directly end the downloading operation of the advertisement data packet by the other downloading process of the at least two processes suspended in the control module 330. Since the first download process has been successfully downloaded for the advertisement data package, there is no need for the other download process of the at least two processes to continue waiting for download.
Optionally, the apparatus provided in the embodiment of the present invention further includes a downloading module: and when monitoring that the first downloading process is directed at the downloading failure message of the advertisement data packet, the downloading module controls any other downloading process in the at least two processes to continuously execute the downloading operation of the advertisement data packet.
It should be noted that, when the first downloading process fails to download the advertisement data package, a downloading failure message is generated, so that when the downloading module monitors that the first downloading process fails to download the advertisement data package, any other downloading process is controlled to continue to execute the downloading operation of the advertisement data package, so as to ensure the smooth downloading of the advertisement data package.
Optionally, the apparatus provided in the embodiment of the present invention further includes a recording module: the recording module monitors and records the downloading condition of the advertisement SDKs of a plurality of applications in the mobile terminal aiming at any advertisement data packet through a monitoring application program; wherein the downloading condition includes at least one of a number of requests for downloading any advertisement data packet through each application and a number of times of activating any advertisement data packet through each application.
It should be noted that, in order to more effectively count the advertisement content successfully promoted by the advertisement SDK, the download condition of the advertisement SDKs of multiple applications in the mobile terminal for any advertisement data packet may be monitored and recorded by the monitoring application program.
The technical scheme of the invention solves the problem that the same advertisement data packet in the mobile terminal is repeatedly downloaded for many times. When it is monitored that the downloading processes of the advertisement SDKs of at least two applications download the same advertisement data packet in a preset folder, controlling a first downloading process executing downloading operation to download the advertisement data packet, namely only keeping the operation of downloading the advertisement data packet by the first downloading process, wherein the first process can be the process which starts to download the advertisement data packet at first or the process with the fastest downloading progress; then, the downloading operation of the advertisement data packet by other downloading processes in the at least two processes can be suspended, so that the waste and occupation of data flow and the memory space of the mobile terminal caused by repeated downloading of the same data packet by a plurality of processes can be avoided.
Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the features specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (16)

1. A method for downloading advertisement data packets in a mobile terminal is characterized by comprising the following steps:
setting a same preset folder as a download storage path of an advertisement data packet by advertisement SDKs of a plurality of applications in the mobile terminal;
monitoring the downloading operation of the advertisement data packet in the preset folder;
when it is monitored that the downloading processes of the advertisement SDKs of at least two applications download the same advertisement data packet in the preset folder, controlling the first downloading process executing the downloading operation to download the advertisement data packet, and suspending the downloading operation of other downloading processes in the at least two processes to the advertisement data packet;
and when the successful downloading message of the first downloading process aiming at the advertisement data packet is monitored, finishing the downloading operation of other downloading processes in the at least two processes on the advertisement data packet.
2. The method of claim 1, wherein monitoring the downloading of the advertisement data package in the predetermined folder comprises:
and monitoring the downloading operation of the advertisement data packet in the preset folder through a pre-installed monitoring application program.
3. The method of claim 2, further comprising:
when the downloading process of any advertisement SDK of the application in the mobile terminal carries out the downloading operation of the advertisement data packet in the preset folder, judging whether the downloading operation is the downloading operation of the first advertisement data packet in the preset folder;
and if so, installing the monitoring application program based on the monitoring application installation package obtained by the advertisement SDK of any application after the downloading operation of the advertisement data package is completed.
4. The method of claim 3, further comprising:
after the installation operation of the monitoring application program is completed, acquiring identification information of terminal equipment for installing the monitoring application program, and sending the identification information of the terminal equipment and the installed information of the monitoring application program to an advertisement server;
wherein, judging whether the downloading operation of the first advertisement data packet in the preset folder comprises:
sending the identification information of the terminal equipment to be installed with the monitoring application program to an advertisement server;
and if receiving the installed information which is returned by the advertisement server and corresponds to the identification information of the terminal equipment to which the monitoring application program is to be installed, judging that the terminal equipment does not download the advertisement data packet for the first time.
5. The method of claim 1, wherein the download progress of the advertisement SDKs of at least two applications is monitored for downloading the same advertisement package in the preset folder by:
when it is monitored that the downloading process of the advertisement SDK of the first application downloads any advertisement data packet in the preset folder, acquiring a first advertisement data packet identifier;
when it is monitored that the downloading process of the advertisement SDK of the second application downloads any advertisement data packet in the preset folder, acquiring a second advertisement data packet identifier;
judging whether the first advertisement data packet identification is the same as the second advertisement data packet identification;
if the advertisement data packets are the same, determining that the same advertisement data packet is downloaded in the preset folder by monitoring the downloading processes of the advertisement SDKs of the first application and the second application.
6. The method of claim 1, further comprising:
and when the downloading failure message of the first downloading process aiming at the advertisement data packet is monitored, controlling any other downloading process in the at least two processes to continuously execute the downloading operation of the advertisement data packet.
7. The method of claim 2, further comprising:
monitoring and recording the downloading condition of the advertisement SDKs of a plurality of applications in the mobile terminal aiming at any advertisement data packet through the monitoring application program;
wherein the downloading condition comprises at least one of the request times of requesting to download any advertisement data packet through each application and the times of activating any advertisement data packet through each application.
8. An apparatus for downloading advertisement data packets in a mobile terminal, comprising:
the setting module is used for setting the same preset folder as a downloading storage path of the advertisement data packet by the advertisement SDKs of a plurality of applications in the mobile terminal;
the monitoring module is used for monitoring the downloading operation of the advertisement data packet in the preset folder;
the control module is used for controlling the first downloading process executing the downloading operation to download the advertisement data packet and suspending the downloading operation of other downloading processes in the at least two processes to the advertisement data packet when the fact that the downloading processes of the advertisement SDKs of the at least two applications download the same advertisement data packet in the preset folder is monitored;
and the ending module is used for ending the downloading operation of other downloading processes in the at least two processes on the advertisement data packet when the downloading success message of the first downloading process aiming at the advertisement data packet is monitored.
9. The apparatus of claim 8, wherein the monitoring module is configured to monitor downloading of the advertisement data package in the preset folder through a pre-installed monitoring application.
10. The apparatus of claim 9, further comprising:
the judging module is used for judging whether the downloading operation of the advertisement data packet is the first downloading operation of the advertisement data packet in the preset folder or not when the downloading operation of the advertisement SDK of any application in the mobile terminal is carried out in the preset folder;
and the installation module is used for installing the monitoring application program based on the monitoring application installation package obtained through the advertisement SDK of any application after the downloading operation of the advertisement data package is completed when the downloading process of the advertisement SDK of any application in the mobile terminal is the downloading operation of the first advertisement data package in the preset folder.
11. The apparatus of claim 10, further comprising:
the acquisition module is used for acquiring the identification information of the terminal equipment for installing the monitoring application program after the installation operation of the monitoring application program is completed, and sending the identification information of the terminal equipment and the installed information of the monitoring application program to an advertisement server;
wherein, the judging module comprises:
the information sending unit is used for sending the identification information of the terminal equipment to be installed with the monitoring application program to the advertisement server;
and the operation judging unit is used for judging that the terminal equipment does not perform the downloading operation of the advertisement data packet for the first time when receiving the installed completion information which is returned by the advertisement server and corresponds to the identification information of the terminal equipment to be installed with the monitoring application program.
12. The apparatus of claim 8, wherein the control module comprises:
the first obtaining unit is used for obtaining a first advertisement data packet identifier when monitoring that the downloading process of the advertisement SDK of the first application downloads any advertisement data packet in the preset folder;
the second obtaining unit is used for obtaining a second advertisement data packet identifier when monitoring that the downloading process of the advertisement SDK of the second application downloads any advertisement data packet in the preset folder;
the identification judging unit is used for judging whether the first advertisement data packet identification is the same as the second advertisement data packet identification;
and the data packet determining unit is used for determining that the same advertisement data packet is downloaded in the preset folder when the downloading processes of the advertisement SDKs of the first application and the second application are monitored when the first advertisement data packet identifier is the same as the second advertisement data packet identifier.
13. The apparatus of claim 8, further comprising:
and the downloading module is used for controlling any other downloading process in the at least two processes to continuously execute the downloading operation of the advertisement data packet when the downloading failure message of the first downloading process aiming at the advertisement data packet is monitored.
14. The apparatus of claim 9, further comprising:
the recording module is used for monitoring and recording the downloading condition of the advertisement SDKs of the plurality of applications in the mobile terminal aiming at any advertisement data packet through the monitoring application program;
wherein the downloading condition comprises at least one of the request times of requesting to download any advertisement data packet through each application and the times of activating any advertisement data packet through each application.
15. An electronic device, comprising:
a processor and a memory;
the memory is used for storing computer operation instructions;
the processor is used for executing the method of any one of the claims 1 to 7 by calling the computer operation instruction.
16. A computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 7.
CN201610905432.6A 2016-10-17 2016-10-17 Downloading method and downloading device for advertisement data packet in mobile terminal Active CN107959928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610905432.6A CN107959928B (en) 2016-10-17 2016-10-17 Downloading method and downloading device for advertisement data packet in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610905432.6A CN107959928B (en) 2016-10-17 2016-10-17 Downloading method and downloading device for advertisement data packet in mobile terminal

Publications (2)

Publication Number Publication Date
CN107959928A CN107959928A (en) 2018-04-24
CN107959928B true CN107959928B (en) 2022-04-01

Family

ID=61954014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610905432.6A Active CN107959928B (en) 2016-10-17 2016-10-17 Downloading method and downloading device for advertisement data packet in mobile terminal

Country Status (1)

Country Link
CN (1) CN107959928B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064230B (en) * 2018-08-14 2022-04-29 微梦创科网络科技(中国)有限公司 Advertisement redirection method, terminal equipment and server
CN109508198B (en) * 2018-11-09 2022-01-18 Oppo广东移动通信有限公司 Application program installation method and device, storage medium and terminal
CN110727716B (en) * 2019-10-24 2022-04-22 北京智游网安科技有限公司 Identification method for integrated SDK in application, intelligent terminal and storage medium
CN114270309A (en) * 2019-11-28 2022-04-01 深圳市欢太科技有限公司 Resource acquisition method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812881A (en) * 2012-11-06 2014-05-21 腾讯科技(深圳)有限公司 Offline downloading control method and apparatus
CN104966215A (en) * 2015-07-01 2015-10-07 小米科技有限责任公司 Advertisement information push method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070005428A1 (en) * 1999-12-08 2007-01-04 Jacobs Paul E Method for distributing advertisements to client devices having e-mail software installed including multiple advertisement operational modes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812881A (en) * 2012-11-06 2014-05-21 腾讯科技(深圳)有限公司 Offline downloading control method and apparatus
CN104966215A (en) * 2015-07-01 2015-10-07 小米科技有限责任公司 Advertisement information push method and apparatus

Also Published As

Publication number Publication date
CN107959928A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN107959928B (en) Downloading method and downloading device for advertisement data packet in mobile terminal
US9792623B2 (en) Advertisement processing method and apparatus
US10009743B2 (en) System and method for providing subscribed applications on wireless devices over a wireless network
CN102484671B (en) Server and Method, Non-Transitory Computer Readable Storage Medium, and Mobile Client Terminal and Method
US8583091B1 (en) Dynamic loading, unloading, and caching of alternate complete interfaces
KR100663415B1 (en) System and method for updating dataset versions resident on a wireless device
CN106528193B (en) A kind of application update method and terminal
CN102804144B (en) Remotely location and order mobile device
JP2010178349A (en) Server processing in providing message for wireless device connected to server
CN104333599A (en) Application sharing method and system and application service platform
CN107918880B (en) Control method and device for advertisement putting
EP2237184A2 (en) Automatic license key injection
CN104036404A (en) Interactive advertising method and equipment
TW200537909A (en) Method, sofeware and apparatus for performing actions on a wireless device using action lists and versioning
US20060009198A1 (en) Apparatus and method for delivering messages to a mobile information terminal
CN110933659A (en) User identification number migration method, device, terminal and storage medium
CN101656652A (en) Content synchronization method, equipment and system for dynamic content delivery
CN110442416B (en) Method, electronic device and computer-readable medium for presenting information
CN111163455A (en) User identification number migration method, device, terminal and storage medium
US9483280B2 (en) Information processing apparatus, program, and information processing system
CN106488392B (en) Data transfer method and device
WO2018053916A1 (en) Application download method, device and terminal, and computer storage medium
JP2006301929A (en) Display authentication program, display authentication terminal, display authentication server, display authentication system, and display authentication method
CA2807042A1 (en) Method for delivering and displaying content on a mobile device
CN101729587A (en) Method, equipment and system for processing application

Legal Events

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

Effective date of registration: 20240108

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right