CN107203393B - Method and device for integrating advertisements and mobile terminal - Google Patents

Method and device for integrating advertisements and mobile terminal Download PDF

Info

Publication number
CN107203393B
CN107203393B CN201710253462.8A CN201710253462A CN107203393B CN 107203393 B CN107203393 B CN 107203393B CN 201710253462 A CN201710253462 A CN 201710253462A CN 107203393 B CN107203393 B CN 107203393B
Authority
CN
China
Prior art keywords
advertisement
installation package
loading
application program
sandbox
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
CN201710253462.8A
Other languages
Chinese (zh)
Other versions
CN107203393A (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
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 filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710253462.8A priority Critical patent/CN107203393B/en
Publication of CN107203393A publication Critical patent/CN107203393A/en
Application granted granted Critical
Publication of CN107203393B publication Critical patent/CN107203393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Abstract

The invention relates to the technical field of Internet, in particular to a method, a device and a mobile terminal for integrating advertisements, wherein the method comprises the following steps: building a sandbox in a host application for installing a target application; receiving an advertisement installation package issued by a server; and loading the advertisement installation package in the sandbox, and displaying the advertisement corresponding to the advertisement installation package. According to the method and the device for integrating the advertisements, the sandbox is built in the host application program for installing the target application program, the server is used for issuing the advertisement installation package, the client receives the advertisement installation package issued by the server, the advertisement installation package is loaded in the sandbox of the host application program, and the advertisements corresponding to the advertisement installation package are displayed, so that the technical effect of dynamically integrating the advertisements in the host application program is achieved, the delivery efficiency is improved, and the delivery mode is flexible.

Description

Method and device for integrating advertisements and mobile terminal
Technical Field
The invention relates to the technical field of internet, in particular to an integrated advertisement method, an integrated advertisement device and a mobile terminal.
Background
Compared with the media forms such as plane media and televisions, the mobile terminals such as smart phones and tablet computers have the characteristics of portability, privacy, long-term linearity and the like, so that the mobile terminals have more advantages in the accuracy and interactivity of advertisement putting. For advertisement delivery of a mobile terminal, in the prior art, advertisements are usually embedded into each native application program when the native application program is developed, so that not only is the delivery efficiency low, but also the delivery mode is not flexible enough.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method, apparatus and mobile terminal for integrated advertisement that overcome the above problems or at least partially solve the above problems.
In accordance with one aspect of the present invention, there is provided a method of integrating advertisements, the method comprising:
building a sandbox in a host application for installing a target application;
receiving an advertisement installation package issued by a server;
and loading the advertisement installation package in the sandbox, and displaying the advertisement corresponding to the advertisement installation package.
In accordance with another aspect of the present invention, there is provided an apparatus for integrating advertisements, the apparatus including:
a sandbox building module for building a sandbox in a host application for installing a target application;
the advertisement installation package receiving module is used for receiving an advertisement installation package issued by a server;
and the loading module is used for loading the advertisement installation package in the sandbox and displaying the advertisement corresponding to the advertisement installation package.
In accordance with another aspect of the present invention, there is provided a mobile communication terminal including a processor and a memory:
the memory is used for storing a program for executing any one of the methods.
The processor is configured to execute programs stored in the memory.
According to the method, the device and the mobile communication terminal for integrating the advertisements, the sandbox is constructed in the host application program for installing the target application program, the server is used for issuing the advertisement installation package, the client receives the advertisement installation package issued by the server, the advertisement installation package is loaded in the sandbox of the host application program, and the advertisements corresponding to the advertisement installation package are displayed, so that the technical effect of dynamically integrating the advertisements in the host application program is realized, the delivery efficiency is improved, and the delivery mode is flexible.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a method of integrating advertisements of an embodiment of the present invention;
FIG. 2 is a block diagram illustrating an apparatus for integrating advertisements according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an entity apparatus of a mobile communication terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The application scenario implemented by the method and the device for integrating advertisements, which will be described below, may be an operating environment based on an Android operating system installed on a client.
Fig. 1 is a flowchart of a method for controlling the operation of an application according to an embodiment of the present invention. Specifically, the method comprises the following steps:
step 101: a sandbox is built in a host application for installing a target application.
In the embodiment of the invention, the host application is a shell application for realizing the target application, the target application is installed and operated through the host application, and the target application in the host application has all functions of the native application and can provide the same service as the native application.
Further, the embodiments of the present invention are proposed based on the sandbox principle, and the sandbox is used to provide a relatively closed running environment for the target application program and the advertisement installation package, so that the resource access of the target application program and the advertisement installation package to the system is limited within a specified range by the application of the sandbox security policy. Therefore, in the implementation of the present invention, a sandbox is first built in the host application, which is used to install and run the target application, and to install the advertisement installation package and present the advertisement.
Step 102: and receiving an advertisement installation package issued by the server.
Specifically, in an embodiment of the present invention, advertisement data for presenting an advertisement is stored in the advertisement installation package. The server can be a cloud server, so that the advertisement installation package can be stored in the cloud server, when the advertisement needs to be put on or updated for the client, the advertisement installation package is issued from the cloud server to the client, and the client receives the advertisement installation package issued by the cloud server. Further, after receiving the advertisement installation package issued by the cloud server, the client stores the advertisement installation package to a private directory so as to be called by a subsequent host application program. In addition, the client can perform version control and data verification in the process of receiving the advertisement installation package sent by the server, wherein the advertisement installation package is encrypted by using an MD5 mode, so the client performs an MD5 verification process on the advertisement installation package.
Step 103: and loading the advertisement installation package in the sandbox, and displaying the advertisement corresponding to the advertisement installation package.
In the embodiment of the invention, the advertisement installation package can be loaded in the same loading mode as that of the host application program for loading the target application program installation package. In a specific embodiment, first, a specified interface for communication is preset between the host application and the advertisement installation package, that is, a first specified interface is set in the host application, and a second specified interface corresponding to the first specified interface is set in the advertisement installation package. Then, the first specified interface of the host application program can call the second specified interface in the advertisement installation package, after the first specified interface of the host application program successfully calls the second specified interface in the advertisement installation package, the process of the host application program can be synchronized with the process of the advertisement installation package, so that a communication connection is established between the host application program and the advertisement installation package, the advertisement installation package sends the advertisement data to the host application program through the communication connection, the host application program displays the advertisement according to the received advertisement data, and the technical effect of displaying the advertisement in the host application program is finally achieved.
In the embodiment of the invention, the server is used for dynamically issuing the advertisement installation package, the client receives the advertisement installation package which is used as the plug-in of the host application program, the sandbox is constructed in the host application program, the advertisement installation package is loaded in the sandbox of the host application program, and the advertisement is displayed in the host application program, so that the technical effect of dynamically integrating the advertisement in the host application program is realized, the problem of low delivery efficiency caused by embedding the advertisement in each target application program is solved, the delivery efficiency is improved, the delivery mode is flexible, the advertisement can be delivered at any time, and any advertisement is delivered.
The advertisement corresponding to the advertisement installation package is specifically displayed by displaying the advertisement name and the advertisement icon of the advertisement, so that after communication connection is established between the host application program and the advertisement installation package, the advertisement installation package sends the advertisement name and the advertisement icon to the host application program through the communication connection, and the host application program displays the advertisement name and the advertisement icon after receiving the advertisement name and the advertisement icon.
Further, in the embodiment of the present invention, in order to distinguish the target application program from the advertisement in the host application program, when the presentation effect of the target application program is the first presentation effect, the advertisement is presented with the second presentation effect different from the first presentation effect. For example, when the target application and the advertisement are both presented in the form of icons, the advertisement identifier may be added to the advertisement icon before the advertisement icon is presented, and then the advertisement icon with the advertisement identifier added thereto is presented.
In an embodiment of the present invention, after receiving the advertisement installation package issued by the cloud server, the method may further include: and judging whether the timing time for loading the advertisement installation package reaches the preset time or not. Therefore, when the timing time for loading the advertisement installation package reaches the preset time, step 103 is executed, the advertisement installation package is loaded in the sandbox, and the advertisement corresponding to the advertisement installation package is displayed. The preset time can be set according to actual needs, for example, the preset time can be set to be 2 days, so that timing is started after the advertisement installation package issued by the cloud server is received, and when the timing time reaches 2 days, the advertisement installation package is loaded in the sandbox to display the advertisement. It should be noted that a timing function may be added to the host application program, so that the host application program itself is used to determine whether the timing time for loading the advertisement installation package reaches the preset time.
In an embodiment of the present invention, the sandbox provides an operation entry for receiving an advertisement loading operation executed by a user, and the user can perform the advertisement loading operation through the operation entry, and after receiving an advertisement installation package issued by the cloud server, the method may further include: and judging whether the operation entrance has advertisement loading operation or not. Therefore, when there is an advertisement loading operation in the operation entry, step 103 is executed to load the advertisement installation package in the sandbox, and display the advertisement corresponding to the advertisement installation package. In a specific embodiment, the operation entry may be a virtual button, and the user performs an advertisement loading operation by clicking the virtual button, so that when the virtual button receives a click operation from the user, the advertisement installation package is loaded in the sandbox.
In the embodiment of the present invention, after step 103, the method may further include: and detecting whether a version updating installation package corresponding to the advertisement exists or not, and if the version updating installation package exists, installing the version updating installation package so as to update the advertisement.
Specifically, when the advertisement needs to be updated, the cloud server issues the version update installation package of the advertisement, the client receives the version update installation package, meanwhile, the client locally detects the version data installation package in real time, namely, whether the version update installation package corresponding to the advertisement exists locally is detected, and if the version update installation package exists, the version update installation package is installed to achieve updating of the advertisement.
Based on the same inventive concept, an embodiment of the present invention further provides an apparatus for integrating advertisements, as shown in fig. 2, the apparatus including:
a sandbox building module 201 for building a sandbox in a host application for installing a target application;
an advertisement installation package receiving module 202, configured to receive an advertisement installation package issued by a server;
the loading module 203 is configured to load the advertisement installation package in the sandbox, and display the advertisement corresponding to the advertisement installation package.
Wherein, the loading module 203 includes:
the calling unit is used for establishing communication connection between the host application program and the advertisement installation package by calling a second specified interface corresponding to the first specified interface in the advertisement installation package through a first specified interface of the host application program;
a sending unit, configured to send, by the advertisement installation package, advertisement data in the advertisement installation package to the host application program through the communication connection;
and the first display unit is used for displaying the advertisement according to the advertisement data by the host application program.
Wherein the apparatus further comprises:
the first judgment module is used for judging whether the timing time for loading the advertisement installation package reaches the preset time or not;
the loading module 203 is specifically configured to:
and when the timing time reaches the preset time, loading the advertisement installation package in the sandbox.
Wherein, when an operation entrance for receiving a user to execute an advertisement loading operation exists in the sandbox, the device further comprises:
the second judgment module is used for judging whether the operation entry has the advertisement loading operation or not;
the loading module 203 is specifically configured to:
and when the operation entrance has the advertisement loading operation, loading the advertisement installation package in the sandbox.
Wherein the apparatus further comprises:
the detection module is used for detecting whether a version updating installation package corresponding to the advertisement exists or not;
and the installation module is used for installing the version updating installation package if the version updating installation package exists so as to update the advertisement.
Wherein the apparatus further comprises:
and the storage module is used for storing the advertisement installation package to a private directory.
Wherein, the loading module 203 includes:
and the second display unit is used for displaying the advertisement with a second display effect different from the first display effect of the target application program.
Wherein, the loading module 203 includes:
and the third display unit is used for displaying the advertisement name and the advertisement icon of the advertisement.
An embodiment of the present invention further provides a mobile communication terminal, as shown in fig. 3, for convenience of description, only a portion related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 3 is a block diagram showing a partial structure of a cellular phone related to a mobile communication terminal provided by an embodiment of the present invention. Referring to fig. 3, the cellular phone includes: radio Frequency (RF) circuit 310, memory 320, input unit 330, display unit 340, sensor 350, audio circuit 360, wireless-fidelity (Wi-Fi) module 370, processor 380, and power supply 390. Those skilled in the art will appreciate that the handset configuration shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 3:
the RF circuit 310 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 380; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 310 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 310 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 320 may be used to store software programs and modules, and the processor 380 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 320. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 330 may include a touch panel 331 and other input devices 332. The touch panel 331, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on the touch panel 331 or near the touch panel 331 using any suitable object or accessory such as a finger, a stylus, etc.) on or near the touch panel 331, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 331 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch panel 331 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 330 may include other input devices 332 in addition to the touch panel 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 331 can cover the display panel 341, and when the touch panel 331 detects a touch operation on or near the touch panel 331, the touch panel is transmitted to the processor 380 to determine the type of the touch event, and then the processor 380 provides a corresponding visual output on the display panel 341 according to the type of the touch event. Although in fig. 3, the touch panel 331 and the display panel 341 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 331 and the display panel 341 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 350, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 341 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between the user and the handset. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signals into electrical signals, which are received by the audio circuit 360 and converted into audio data, which are then processed by the audio data output processor 380 and then transmitted to, for example, another cellular phone via the RF circuit 310, or output to the memory 320 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 370, and provides wireless broadband internet access for the user. Although fig. 3 shows the WiFi module 370, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing units; preferably, the processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The handset also includes a power supply 390 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 380 via a power management system to manage charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 380 included in the mobile communication terminal further has the following functions:
building a sandbox in a host application for installing a target application;
receiving an advertisement installation package issued by a server;
and loading the advertisement installation package in the sandbox, and displaying the advertisement corresponding to the advertisement installation package.
In summary, according to the method, the device and the mobile communication terminal for integrating advertisements provided by the invention, the sandbox is constructed in the host application program for installing the target application program, the server is used for issuing the advertisement installation package, the client receives the advertisement installation package issued by the server, the advertisement installation package is loaded in the sandbox of the host application program, and the advertisement corresponding to the advertisement installation package is displayed, so that the technical effect of dynamically integrating the advertisements in the host application program is realized, the delivery efficiency is improved, and the delivery mode is flexible.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an apparatus for integrated advertisement according to an embodiment of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses an A1 method for integrating advertisements, which is characterized by comprising the following steps:
building a sandbox in a host application for installing a target application;
receiving an advertisement installation package issued by a server;
and loading the advertisement installation package in the sandbox, and displaying the advertisement corresponding to the advertisement installation package.
A2, the method according to claim 1, wherein the loading the advertisement installation package in the sandbox and displaying the advertisement corresponding to the advertisement installation package comprises:
a first specified interface of the host application program calls a second specified interface corresponding to the first specified interface in the advertisement installation package to establish communication connection between the host application program and the advertisement installation package;
the advertisement installation package sends the advertisement data in the advertisement installation package to the host application program through the communication connection;
and the host application program displays the advertisement according to the advertisement data.
A3, the method according to the A1, wherein after receiving the advertisement installation package sent by the cloud server, the method further comprises:
judging whether the timing time for loading the advertisement installation package reaches a preset time or not;
wherein the loading the advertisement installation package in the sandbox comprises:
and when the timing time reaches the preset time, loading the advertisement installation package in the sandbox.
A4, the method according to a1, wherein when an operation entrance for receiving an advertisement loading operation executed by a user exists in the sandbox, after receiving an advertisement installation package sent by a cloud server, the method further comprises:
judging whether the operation entry has the advertisement loading operation or not;
wherein the loading the advertisement installation package in the sandbox comprises:
and when the operation entrance has the advertisement loading operation, loading the advertisement installation package in the sandbox.
A5, the method according to A1, wherein after the presenting the advertisement corresponding to the advertisement installation package, the method further comprises:
detecting whether a version updating installation package corresponding to the advertisement exists or not;
and if the version updating installation package exists, installing the version updating installation package so as to update the advertisement.
A6, the method according to the A1, wherein after receiving the advertisement installation package sent by the cloud server, the method further comprises:
and saving the advertisement installation package to a private directory.
A7, the method according to A1, wherein the displaying the advertisement corresponding to the advertisement installation package comprises:
and displaying the advertisement with a second display effect different from the first display effect of the target application program.
A8, the method according to A1, wherein the displaying the advertisement corresponding to the advertisement installation package comprises:
and displaying the advertisement name and the advertisement icon of the advertisement.
B9, an apparatus for integrating advertisements, comprising:
a sandbox building module for building a sandbox in a host application for installing a target application;
the advertisement installation package receiving module is used for receiving an advertisement installation package issued by a server;
and the loading module is used for loading the advertisement installation package in the sandbox and displaying the advertisement corresponding to the advertisement installation package.
B10, the device according to B9, wherein the loading module comprises:
the calling unit is used for establishing communication connection between the host application program and the advertisement installation package by calling a second specified interface corresponding to the first specified interface in the advertisement installation package through a first specified interface of the host application program;
a sending unit, configured to send, by the advertisement installation package, advertisement data in the advertisement installation package to the host application program through the communication connection;
and the first display unit is used for displaying the advertisement according to the advertisement data by the host application program.
B11, the device according to B9, characterized in that the device further comprises:
the first judgment module is used for judging whether the timing time for loading the advertisement installation package reaches the preset time or not;
the loading module is specifically configured to:
and when the timing time reaches the preset time, loading the advertisement installation package in the sandbox.
B12, the device according to B9, wherein when there is an operation entrance in the sandbox for receiving the user to execute the advertisement loading operation, the device further comprises:
the second judgment module is used for judging whether the operation entry has the advertisement loading operation or not;
the loading module is specifically configured to:
and when the operation entrance has the advertisement loading operation, loading the advertisement installation package in the sandbox.
B13, the device according to B9, characterized in that the device further comprises:
the detection module is used for detecting whether a version updating installation package corresponding to the advertisement exists or not;
and the installation module is used for installing the version updating installation package if the version updating installation package exists so as to update the advertisement.
B14, the device according to B9, characterized in that the device further comprises:
and the storage module is used for storing the advertisement installation package to a private directory.
B15, the device according to B9, wherein the loading module comprises:
and the second display unit is used for displaying the advertisement with a second display effect different from the first display effect of the target application program.
B16, the device according to B9, wherein the loading module comprises:
and the third display unit is used for displaying the advertisement name and the advertisement icon of the advertisement.
C17, a mobile communication terminal, characterized in that it comprises a processor and a memory:
the memory for storing a program for performing the method of any of claims A1 to A8,
the processor is configured to execute programs stored in the memory.

Claims (15)

1. A method of integrating advertisements, the method comprising:
building a sandbox in a host application for installing a target application, wherein the host application is a shell application that implements the target application;
receiving an advertisement installation package issued by a server;
loading the advertisement installation package in the sandbox of the host application program, and displaying the advertisement corresponding to the advertisement installation package;
wherein, loading the advertisement installation package in the sandbox, displaying the advertisement corresponding to the advertisement installation package, including:
a first specified interface of the host application program calls a second specified interface corresponding to the first specified interface in the advertisement installation package to establish communication connection between the host application program and the advertisement installation package;
the advertisement installation package sends the advertisement data in the advertisement installation package to the host application program through the communication connection;
and the host application program displays the advertisement according to the advertisement data.
2. The method of claim 1, wherein after receiving the advertisement installation package delivered by the server, the method further comprises:
judging whether the timing time for loading the advertisement installation package reaches a preset time or not;
wherein the loading the advertisement installation package in the sandbox comprises:
and when the timing time reaches the preset time, loading the advertisement installation package in the sandbox.
3. The method of claim 1, wherein when an operation entry exists in the sandbox for receiving an advertisement loading operation performed by a user, after receiving an advertisement installation package issued by the server, the method further comprises:
judging whether the operation entry has the advertisement loading operation or not;
wherein the loading the advertisement installation package in the sandbox comprises:
and when the operation entrance has the advertisement loading operation, loading the advertisement installation package in the sandbox.
4. The method of claim 1, wherein after the presenting the advertisement corresponding to the advertisement installation package, the method further comprises:
detecting whether a version updating installation package corresponding to the advertisement exists or not;
and if the version updating installation package exists, installing the version updating installation package so as to update the advertisement.
5. The method of claim 1, wherein after receiving the advertisement installation package delivered by the server, the method further comprises:
and saving the advertisement installation package to a private directory.
6. The method of claim 1, wherein the presenting the advertisement corresponding to the advertisement installation package comprises:
and displaying the advertisement with a second display effect different from the first display effect of the target application program.
7. The method of claim 1, wherein the presenting the advertisement corresponding to the advertisement installation package comprises:
and displaying the advertisement name and the advertisement icon of the advertisement.
8. An apparatus for integrating advertising, the apparatus comprising:
the sandbox building module is used for building a sandbox in a host application program used for installing a target application program, wherein the host application program is a shell application program for realizing the target application program;
the advertisement installation package receiving module is used for receiving an advertisement installation package issued by a server;
the loading module is used for loading the advertisement installation package in the sandbox of the host application program and displaying the advertisement corresponding to the advertisement installation package;
wherein, the loading module comprises:
the calling unit is used for establishing communication connection between the host application program and the advertisement installation package by calling a second specified interface corresponding to the first specified interface in the advertisement installation package through a first specified interface of the host application program;
a sending unit, configured to send, by the advertisement installation package, advertisement data in the advertisement installation package to the host application program through the communication connection;
and the first display unit is used for displaying the advertisement according to the advertisement data by the host application program.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the first judgment module is used for judging whether the timing time for loading the advertisement installation package reaches the preset time or not;
the loading module is specifically configured to:
and when the timing time reaches the preset time, loading the advertisement installation package in the sandbox.
10. The apparatus of claim 8, wherein when an operation entry exists in the sandbox for receiving a user to perform an advertisement loading operation, the apparatus further comprises:
the second judgment module is used for judging whether the operation entry has the advertisement loading operation or not;
the loading module is specifically configured to:
and when the operation entrance has the advertisement loading operation, loading the advertisement installation package in the sandbox.
11. The apparatus of claim 8, wherein the apparatus further comprises:
the detection module is used for detecting whether a version updating installation package corresponding to the advertisement exists or not;
and the installation module is used for installing the version updating installation package if the version updating installation package exists so as to update the advertisement.
12. The apparatus of claim 8, wherein the apparatus further comprises:
and the storage module is used for storing the advertisement installation package to a private directory.
13. The apparatus of claim 8, wherein the load module comprises:
and the second display unit is used for displaying the advertisement with a second display effect different from the first display effect of the target application program.
14. The apparatus of claim 8, wherein the load module comprises:
and the third display unit is used for displaying the advertisement name and the advertisement icon of the advertisement.
15. A mobile communication terminal, comprising a processor and a memory:
the memory is for storing a program for performing the method of any one of claims 1 to 7, and the processor is configured for executing the program stored in the memory.
CN201710253462.8A 2017-04-18 2017-04-18 Method and device for integrating advertisements and mobile terminal Active CN107203393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253462.8A CN107203393B (en) 2017-04-18 2017-04-18 Method and device for integrating advertisements and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253462.8A CN107203393B (en) 2017-04-18 2017-04-18 Method and device for integrating advertisements and mobile terminal

Publications (2)

Publication Number Publication Date
CN107203393A CN107203393A (en) 2017-09-26
CN107203393B true CN107203393B (en) 2021-06-04

Family

ID=59905021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253462.8A Active CN107203393B (en) 2017-04-18 2017-04-18 Method and device for integrating advertisements and mobile terminal

Country Status (1)

Country Link
CN (1) CN107203393B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108207B (en) * 2017-12-13 2021-09-07 北京奇虎科技有限公司 Advertisement display method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987920A (en) * 2006-11-27 2007-06-27 北京猛犸互动广告有限公司 Advertisement releasing method and its realizing method
CN104216741A (en) * 2014-08-25 2014-12-17 华中科技大学 Android plug-in implementation method and device based on APK (Android Package) dynamic loading and interaction method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987920A (en) * 2006-11-27 2007-06-27 北京猛犸互动广告有限公司 Advertisement releasing method and its realizing method
CN104216741A (en) * 2014-08-25 2014-12-17 华中科技大学 Android plug-in implementation method and device based on APK (Android Package) dynamic loading and interaction method

Also Published As

Publication number Publication date
CN107203393A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
CN107153537B (en) Information display method and device based on multi-task interface and mobile terminal
WO2018120905A1 (en) Message reminding method for terminal, and terminal
CN108834132B (en) Data transmission method and equipment and related medium product
US9998579B2 (en) Method, apparatus, and system for displaying message in mobile terminal
WO2015007232A1 (en) Method, device and mobile terminal for checking message
CN105653220B (en) Screen data display method and device in remote control
CN106775323A (en) Method, device and the mobile communication terminal of application program have been adjusted in communication process
US10298590B2 (en) Application-based service providing method, apparatus, and system
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN107967153B (en) Application program management method and mobile terminal
CN106933636B (en) Method and device for starting plug-in service and terminal equipment
CN108323236B (en) Interaction method and terminal
CN106095423B (en) Method, terminal and server for providing browsing service
CN110012152B (en) Interface display method and terminal equipment
CN106020945B (en) Shortcut item adding method and device
CN107704287B (en) Installation-free method for program application, mobile terminal and computer-readable storage medium
CN110609694A (en) BUG repairing method and device, terminal equipment and storage medium
CN107341032B (en) Data loading method, mobile terminal and computer readable storage medium
US11150913B2 (en) Method, device, and terminal for accelerating startup of application
CN107203393B (en) Method and device for integrating advertisements and mobile terminal
US20160307216A1 (en) Electronic information collection method and apparatus
CN108108207B (en) Advertisement display method and device
CN105094869B (en) Target program determines method and device
CN111273961A (en) Advertisement display method and device and electronic equipment

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