CN111666117A - Advertisement service processing method and device, computer equipment and readable storage medium - Google Patents

Advertisement service processing method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN111666117A
CN111666117A CN202010508121.2A CN202010508121A CN111666117A CN 111666117 A CN111666117 A CN 111666117A CN 202010508121 A CN202010508121 A CN 202010508121A CN 111666117 A CN111666117 A CN 111666117A
Authority
CN
China
Prior art keywords
handle
advertisement
target
information
creative
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010508121.2A
Other languages
Chinese (zh)
Other versions
CN111666117B (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.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN202010508121.2A priority Critical patent/CN111666117B/en
Publication of CN111666117A publication Critical patent/CN111666117A/en
Application granted granted Critical
Publication of CN111666117B publication Critical patent/CN111666117B/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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides an advertisement service processing method, an advertisement service processing device, computer equipment and a readable storage medium, and relates to the technical field of advertisement services, wherein the advertisement service processing method is applied to a server, the server is in communication connection with terminal equipment, the server comprises an advertisement data pool and a handle storage center, advertisement data are stored in the advertisement data pool, and handles are stored in the handle storage center; the advertisement service processing method comprises the following steps: responding to an advertisement request sent by the terminal equipment, and acquiring a target handle from handles stored in a handle storage center; calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool; calling the target handle to process the target advertisement data to obtain a target creative; the target creativity is sent to the terminal equipment, and the advertisement service can be conveniently processed.

Description

Advertisement service processing method and device, computer equipment and readable storage medium
Technical Field
The present application relates to the technical field of advertisement services, and in particular, to an advertisement service processing method, an advertisement service processing apparatus, a computer device, and a readable storage medium.
Background
With the development of the advertisement service industry, for the whole advertisement service period, each process step is processed by modules with different functions, and the whole process has more related service fields and complex service logic. Different users have different requirements, but a plurality of same fields exist in a plurality of service logics, a large amount of data are interactively transmitted among a plurality of modules, and developers need to waste a large amount of time for development, so that the conventional advertisement service processing method is very inconvenient.
In view of this, it is necessary for those skilled in the art to provide a convenient advertisement service processing scheme.
Disclosure of Invention
The application provides an advertisement service processing method, an advertisement service processing device, computer equipment and a readable storage medium.
The embodiment of the application can be realized as follows:
in a first aspect, an advertisement service processing method is provided in an embodiment of the present application, and is applied to a server, where the server is in communication connection with a terminal device, the server includes an advertisement data pool and a handle storage center, the advertisement data pool stores advertisement data, and the handle storage center stores handles;
the method comprises the following steps:
responding to an advertisement request sent by the terminal equipment, and acquiring a target handle from handles stored in the handle storage center;
calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool;
calling the target handle to process the target advertisement data to obtain a target creative;
and sending the target creative to the terminal equipment.
In an optional embodiment, the advertisement request includes handle matching information, and the handle storage center at least stores a user information acquisition handle, an advertisement information acquisition handle, and a creative acquisition handle;
the acquiring a target handle from handles stored in the handle storage center in response to an advertisement request sent by the terminal device includes:
and obtaining the user information obtaining handle, the advertisement information obtaining handle and the creative obtaining handle from the handle storage center according to the handle matching information, and obtaining the target handle, wherein the target handle comprises the user information obtaining handle, the advertisement information obtaining handle and the creative obtaining handle.
In an alternative embodiment, the advertisement data includes a user identifier and an advertisement identifier, and the advertisement request further includes user information and advertisement information;
the calling the target handle to obtain target advertisement data from the advertisement data stored in the advertisement data pool comprises the following steps:
calling the user information acquisition handle to acquire a target user identifier corresponding to the user information from the advertisement data pool according to the user information;
and calling the advertisement information acquisition handle to acquire a target advertisement identifier corresponding to the advertisement information from the advertisement data pool according to the advertisement information, wherein the target advertisement data comprises a target user identifier and a target advertisement identifier.
In an optional embodiment, the invoking the target handle to process the target advertisement data to obtain a target creative includes:
acquiring relevant information of a target user corresponding to the target user identification by using a preset user information engine;
calling the user information acquisition handle, and storing the relevant information of the target user into the advertisement data pool;
acquiring target advertisement index information corresponding to the target advertisement identification by using a preset advertisement information engine;
calling the advertisement information acquisition handle, and storing the advertisement index information into the advertisement data pool;
calling the creative acquisition handle to extract the advertisement index information from the advertisement data pool;
formatting the advertisement index information by using a preset formatting engine to obtain standard creative information;
calling the creative acquisition handle to store the standard creative information into the advertisement data pool;
extracting the target user related information and the standard creative information from the advertisement data pool;
and processing the standard creative information based on a creative structure determined by the target user related information to obtain the target creative.
In an optional embodiment, the handle matching information includes a user information matching identifier, an advertisement information matching identifier, and a creative matching identifier;
the obtaining the user information acquisition handle, the advertisement information acquisition handle and the creative acquisition handle from the handle storage center according to the handle matching information to obtain the target handle includes:
acquiring user information from the handle storage center to acquire a handle according to the user information matching identifier in the handle matching information;
acquiring advertisement information from the handle storage center to acquire a handle according to the advertisement information matching identifier in the handle matching information;
acquiring a handle from the handle storage center according to the creative matching identification in the handle matching information;
and taking the user information acquisition handle, the advertisement information acquisition handle and the creative acquisition handle as the target handles.
In an optional embodiment, the user information acquisition handle includes a first user information acquisition sub-handle and/or a second user information acquisition sub-handle;
the obtaining of the handle from the handle storage center according to the user information matching identifier in the handle matching information includes:
when the user information matching identifier is a first user information matching identifier, acquiring a first user information acquisition sub-handle;
when the user information matching identifier is a second user information matching identifier, acquiring a second user information acquisition sub-handle;
the advertisement information acquisition handle comprises a first advertisement information acquisition sub-handle and/or a second advertisement information acquisition sub-handle;
the acquiring the handle by obtaining the advertisement information from the handle storage center according to the advertisement information matching identifier in the handle matching information includes:
when the advertisement information matching identifier is a first advertisement information matching identifier, acquiring a first advertisement information acquisition sub-handle;
when the advertisement information matching identifier is a second advertisement information matching identifier, acquiring a second advertisement information acquisition sub-handle;
the creative acquisition handle comprises a first creative acquisition sub-handle and/or a second creative acquisition sub-handle;
the acquiring of the handle by acquiring the creative from the handle storage center according to the creative matching identifier in the handle matching information includes:
when the creative matching identification is a first creative matching identification, obtaining the first creative obtaining sub-handle;
and when the creative matching identification is a second creative matching identification, obtaining the second creative obtaining sub-handle.
In an alternative embodiment, the advertisement request is plural;
the calling the target handle to obtain target advertisement data from the advertisement data stored in the advertisement data pool comprises the following steps:
copying the same number of advertisement data pools according to the number of the plurality of advertisement requests, wherein the plurality of advertisement requests and the plurality of advertisement data pools are in one-to-one correspondence;
calling the target handle to obtain target advertisement data corresponding to each advertisement data pool from a plurality of advertisement data pools;
the step of calling the target handle to process the target advertisement data to obtain the target creative includes:
calling the target handle to process the target advertisement data corresponding to each advertisement data pool to obtain the target sub-creatives corresponding to each advertisement data pool;
and integrating the plurality of target sub creatives to obtain the target creatives.
In a second aspect, an advertisement service processing apparatus is provided in an embodiment of the present application, and is applied to a server, where the server is in communication connection with a terminal device, the server includes an advertisement data pool and a handle storage center, the advertisement data pool stores advertisement data, and the handle storage center stores a handle;
the device comprises:
the response module is used for responding to an advertisement request sent by the terminal equipment and acquiring a target handle from handles stored in the handle storage center;
the calling module is used for calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool; calling the target handle to process the target advertisement data to obtain a target creative;
and the sending module is used for sending the target creative idea to the terminal equipment.
In a third aspect, an embodiment of the present application provides a computer device, where the computer device includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the computer device executes the advertisement service processing method according to any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, where the readable storage medium includes a computer program, and the computer program controls, when running, a computer device in the readable storage medium to execute the advertisement service processing method described in any of the foregoing embodiments.
The beneficial effects of the embodiment of the application include, for example: the application provides an advertisement service processing method, an advertisement service processing device, a computer device and a readable storage medium. Acquiring a target handle from handles stored in the handle storage center by responding to an advertisement request sent by the terminal equipment; calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool; calling the target handle to process the target advertisement data to obtain a target creative; and finally, the target creatives are sent to the terminal equipment, so that the advertisement service processing can be conveniently realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is an interaction diagram of an advertisement service processing system according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating steps of a method for processing an advertisement service according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an advertisement service processing framework according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of another advertisement service processing framework provided in the embodiment of the present application;
FIG. 5 is a schematic structural diagram of another advertisement processing framework provided in the embodiment of the present application;
FIG. 6 is a schematic structural diagram of another advertisement service processing framework provided in the embodiment of the present application;
fig. 7 is a schematic block diagram of a structure of an advertisement service processing apparatus according to an embodiment of the present application;
fig. 8 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present disclosure.
Icon: 10-a server; 20-a terminal device; 100-a computer device; 110-an advertisement traffic handling device; 1101-a response module; 1102-call module; 1103-sending module; 111-a memory; 112-a processor; 113-communication unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
The related cycle of the current advertisement service includes a plurality of processes, and due to the diversity of users and the diversity of advertisement contents, even if the logic adopted when processing some processes is the same, the corresponding functional modules are required to process the processes to be executed, and simultaneously, a large amount of data is transmitted among the functional modules, so that developers need to consume a large amount of energy to complete the advertisement related service.
Referring to fig. 1, fig. 1 is an interaction schematic diagram of an advertisement service processing system according to an embodiment of the present application, a server 10 is communicatively connected to a terminal device 20, the server 10 includes an advertisement data pool and a handle storage center, the advertisement data pool stores advertisement data, and the handle storage center stores a handle. In order to solve the aforementioned technical problem, please refer to fig. 2, and fig. 2 is a schematic flowchart illustrating steps of an advertisement service processing method according to an embodiment of the present application. In the embodiment of the present application, the advertisement service processing method may be implemented by the server 10 in fig. 1 as an execution subject, and the advertisement service processing method is described in detail below.
In step 201, in response to an advertisement request issued by the terminal device 20, a target handle is obtained from handles stored in the handle storage center.
Step 202, calling the target handle to obtain target advertisement data from the advertisement data stored in the advertisement data pool.
And step 203, calling the target handle to process the target advertisement data to obtain the target creative.
Step 204, the target creative is sent to the terminal device 20.
The terminal device 20 may be a mobile phone, a tablet computer, a desktop computer, a smart watch, an e-reader, etc. held by a user, and may be an advertisement request triggered when some software provided in the terminal device 20 is opened (for example, when some application software is opened, an advertisement request is made before entering a software interface to display an advertisement on a preset interface). In the structural framework adopted by the embodiment of the application, the advertisement data pool is stored as Context (Context) and is used for storing all Context data in the advertisement request life cycle. The handle is a Handler and is used for processing the related flow of the specific advertisement service. The handle storage Center is a HandlerCenter, and the Handler is registered in the Handler Center. A creative may be a complete piece of advertising data that may be presented. The Workflow may be set up for executing a custom set of handlers.
On the basis, the advertisement request comprises handle matching information, and the handle storage center at least stores a user information acquisition handle, an advertisement information acquisition handle and an intention acquisition handle. As an alternative embodiment, the foregoing step 201 may be implemented in the following manner.
And a substep 201-1 of obtaining a user information obtaining handle, an advertisement information obtaining handle and a creative obtaining handle from a handle storage center according to the handle matching information to obtain a target handle, wherein the target handle comprises the user information obtaining handle, the advertisement information obtaining handle and the creative obtaining handle.
A complete advertisement service processing flow may at least include flows related to obtaining user information, obtaining advertisement information, and performing creative push, and correspondingly, the handle storage center stores at least a user information obtaining handle, an advertisement information obtaining handle, and a creative obtaining handle, where the user information obtaining handle may be used to execute logic such as obtaining geographic location information according to a current IP of a user, obtaining a user tag attribute according to an ID of a device, and the like. The advertisement information acquisition handle may be used to execute logic that acquires corresponding advertisement index information based on user device information, tag information, geographic location information, etc. of the user. The creative acquisition handle may be used to perform logic for forming a creative based on the determined user-related information and ad-related information.
On the basis of the foregoing, the advertisement data includes a user identifier and an advertisement identifier, and the advertisement request further includes user information and advertisement information. A specific embodiment of the foregoing step 202 is provided below to clearly explain the step 202.
And a substep 202-1 of calling the user information acquisition handle to acquire the target user identifier corresponding to the user information from the advertisement data pool according to the user information.
And a substep 202-2 of calling the advertisement information acquisition handle to acquire the target advertisement identification corresponding to the advertisement information from the advertisement data pool according to the advertisement information.
Wherein the target advertisement data comprises a target user identification and a target advertisement identification.
In the present embodiment, as before, all context data in the advertisement request lifecycle is stored in the advertisement data pool, which may include advertisement data, which may in turn include user identification and advertisement identification. The user identification may refer to an identification data for referring to the user, such as a user ID (identification card, member code, mobile phone number, etc.). The advertisement identification may refer to one identification data such as an advertisement ID (a certain type a advertisement, a certain type B advertisement) or the like for referring to advertisement data. It should be understood that there is a relationship between the target user identification and the target advertisement identification that invokes the user information acquisition handle and the advertisement information acquisition handle.
The foregoing step 203 is explained in more detail below, and the following more specific embodiments are proposed.
And a substep 203-1 of obtaining the relevant information of the target user corresponding to the target user identifier by using a preset user information engine.
And a substep 203-2 of calling the user information to obtain a handle and storing the relevant information of the target user into an advertisement data pool.
And a substep 203-3 of obtaining the target advertisement index information corresponding to the target advertisement identification by using a preset advertisement information engine.
And a substep 203-4 of calling the advertisement information to obtain the handle and storing the advertisement index information into an advertisement data pool.
Sub-step 203-5, invokes the creative get handle to extract ad index information from the ad data pool.
And a substep 203-6 of utilizing a preset formatting engine to format the advertisement index information to obtain standard creative information.
Sub-step 203-7, calls the creative get handle to store the standard creative information into the ad data pool.
Sub-step 203-8 extracts the targeted user-related information and the standard creative information from the advertising data pool.
And a sub-step 203-9 of processing the standard creative information based on the creative structure determined by the relevant information of the target user to obtain the target creative.
Referring to fig. 3, it should be understood that, in the embodiment of the present application, a handle is only an execution logic of a certain flow, and does not have a capability of processing data itself, so that an external engine may be used to implement a data processing function. After the target user identifier is obtained from the advertisement data pool in a summary manner, a preset user information engine may be used to obtain the relevant information of the target user corresponding to the target user identifier (for example, information of the terminal device 20 of the user, a name of a city where the user is located, geographical location information such as longitude and latitude of a city center, and the like). And then calling the user information acquisition handle (HandlerA) again, storing the relevant information of the target user into the advertisement data pool, and storing the acquired data into the advertisement data pool for subsequent use.
For the obtained target advertisement identifier, a preset advertisement information engine may also be used to obtain target advertisement index information (e.g., advertisement ID, creative ID, advertisement source, etc.) corresponding to the target advertisement identifier, and it should be noted that the preset advertisement information engine refers to the target advertisement identifier on the basis of obtaining the relevant information of the target user to process to obtain target advertisement index information, and then calls an advertisement information obtaining handle (HandlerB) again to store the advertisement index information in an advertisement data pool for subsequent use.
A creative retrieval handle (HandlerC) may then be invoked to extract ad index information from the ad data pool. And using a preset formatting engine to format the advertisement index information to obtain standard creative information, calling the creative acquisition handle again to store the standard creative information into the advertisement data pool, and finally extracting the target user related information and the standard creative information from the advertisement data pool, and processing the standard creative information based on a creative structure (a structure agreed with the terminal device 20) determined by the target user related information to obtain the target creative.
Through the steps, the advertisement data pool (Context) is used as the unique parameter source of each handle (Handler), all valuable information in the life cycle of the request is recorded, and each handle can conveniently acquire corresponding information so as to promote the progress of the advertisement service.
On the basis, the handle matching information comprises a user information matching identifier, an advertisement information matching identifier and a creative matching identifier. The foregoing substep 201-1 also provides the following embodiments.
(1) And acquiring the user information from the handle storage center according to the user information matching identifier in the handle matching information to acquire the handle.
(2) And acquiring the handle by acquiring the advertisement information from the handle storage center according to the advertisement information matching identifier in the handle matching information.
(3) And acquiring the handle from the sentence handle storage center according to the creative matching identification in the handle matching information.
(4) And taking the user information acquisition handle, the advertisement information acquisition handle and the creative acquisition handle as target handles.
In the embodiment of the present application, the handle that wants to obtain the demand may be determined by the handle matching information of the advertisement request.
On the basis of the foregoing, the user information acquisition handle includes a first user information acquisition sub-handle and/or a second user information acquisition sub-handle. The following embodiments can be made in the part (1) of the substep 201-1.
And when the user information matching identifier is the first user information matching identifier, acquiring the first user information acquisition sub-handle.
And when the user information matching identifier is the second user information matching identifier, acquiring the second user information acquisition sub-handle.
Referring to fig. 4, it should be noted that, in the embodiment of the present application, in order to implement finer-grained control, such as version control, etc., a handle (Handler) is designed in a polymorphic form. Specifically, the terminal device 20 may be based on an android System or an IOS (iPhone Operation System), and there may be slight differences in execution logic in the same process for terminals of different models. For example, for the user information obtaining handle for obtaining the user identifier, if the user information matching identifier is a first user information matching identifier (the first user information matching identifier may refer to a condition that the representative terminal device 20 is an android system), the first user information obtaining sub-handle (which may be a handle for specially processing the android system) may be obtained for processing, and if the user information matching identifier is a second user information matching identifier (the second user information matching identifier may refer to a condition that the representative terminal device 20 is an IOS system), the second user information obtaining sub-handle (which may be a handle for specially processing the IOS system) may be obtained for processing. It should be noted that, in addition to distinguishing the system of the terminal device 20, a corresponding application version requirement may also be distinguished, for example, the second user information matching identifier may specifically refer to a condition that the terminal device 20 is an IOS system and the version of APP sending the advertisement request is more than 2.0, and the system and the version of application software of the terminal device 20 are subdivided, and in this embodiment, the current region where the user is located and the age bracket corresponding to the user may also be subdivided, which is not described herein again. In order to enable the advertisement business process to be smoothly executed, when the matching sub-identifiers in the user information matching identifiers do not correspond to any matching conditions, the preset third user information acquisition sub-handle can be obtained, and the third user information acquisition sub-handle (default Handler) does not have any matching conditions. Specifically, when a Workflow (Workflow) is carried out to a corresponding handle, whether the condition sub-handles meet the matching condition or not can be sequentially judged according to a preset sequence, a variable flow can be set by the Workflow, and three handlers are sequentially executed through flow. The Handler a1 may refer to a first user information acquisition sub-handle, the Handler a2 may refer to a second user information acquisition sub-handle, and the Handler a0 may refer to a third user information acquisition sub-handle.
Correspondingly, the advertisement information acquisition handle comprises a first advertisement information acquisition sub-handle and/or a second advertisement information acquisition sub-handle. The following embodiments can be made in the part (2) of the foregoing sub-step 201-2.
And when the advertisement information matching identifier is the first advertisement information matching identifier, acquiring the first advertisement information acquisition sub-handle.
And when the advertisement information matching identifier is the second advertisement information matching identifier, acquiring a second advertisement information acquisition sub-handle.
Correspondingly, the creative acquisition handle includes a first creative acquisition sub-handle and/or a second creative acquisition sub-handle. The aforementioned sub-step 201-2, section (3), may have the following embodiments.
And when the creative matching identification is the first creative matching identification, obtaining a first creative obtaining sub-handle.
And when the creative matching identification is the second creative matching identification, obtaining a second creative obtaining sub-handle.
The advertisement information acquisition handle and the creative acquisition handle are similar to the user information acquisition handle, and are not described herein again.
For a handle, there may be the aforementioned concept of "multi-state". In addition, the same logic may be implemented in different smaller units, see FIG. 5. For example, both HandlerA0 and HandlerA1 may refer to user information retrieval handles, however they may be implemented by two types of interfaces, such as for HandlerA0, which calls three child Handler's in its execution logic, HandlerD, HandlerE, and HandlerF (of course, these are also polymorphic). The child Handler is not different from the parent Handler in the registration and acquisition mode, only the calling level is different, and the child Handler can also have the child Handler. Each Handler operates by accepting a Context parameter and outputting an error. If the child Handler has error, the child Handler is processed by the calling layer, and the calling layer can also be thrown layer by layer without limitation.
HandlerA1 and HandlerA0, although both implementations of HandlerA, may have different respective child handlers, meaning that even though the same "phase", say pre-processing, the information flow request may have its smaller phases different from the federation request. And smaller stages may also support polymorphism.
In another implementation of the embodiments of the present application, the advertisement request is multiple.
The foregoing step 202 may further include:
and copying the same number of advertisement data pools according to the number of the plurality of advertisement requests, wherein the plurality of advertisement requests and the plurality of advertisement data pools are in one-to-one correspondence.
And calling the target handle to acquire the target advertisement data corresponding to each advertisement data pool from the plurality of advertisement data pools.
Accordingly, the foregoing step 203 may include:
and calling the target handle to process the target advertisement data corresponding to each advertisement data pool to obtain the target sub-creatives corresponding to each advertisement data pool.
And integrating the plurality of target sub creatives to obtain the target creatives.
In the embodiment of the present application, the advertisement service often needs to handle the "batch" situation, for example, the service provides a sync interface (external synchronous input interface) for pulling the advertisement in real time, and an async interface (external asynchronous input interface) for asynchronously caching the advertisement. sync only draws one advertisement at a time, and therefore information such as the ID, the advertisement source, the creative content and the like of the advertisement can be stored in the Context; in practical application, execution logics of two handlers, namely 'acquiring position information according to IP' and 'acquiring user tags' of sync and async interfaces are the same, but the execution of the Handler 'acquiring indexes by a request engine' is greatly different, the async needs to acquire a large number of advertisement indexes, and one index corresponds to one advertisement and needs to be formatted. For convenience, one Context ultimately corresponds to only one piece of advertisement information. That is, after acquiring a large number of advertisement indexes, the async copies a plurality of contexts (relying on Workflow copy mentioned below) through the original contexts, and then sets information such as corresponding advertisement indexes (advertisement ID, creative ID, advertisement source), advertisement slots and the like for each Context. The Context copied in batch inherits all the data such as the user equipment confidence, the label information, the geographic position information and the like obtained before, and each user equipment has respective advertisement index to execute the subsequent Handler.
The atomicity of the Context is kept through the steps, and the complexity of the problem is greatly simplified. The async interface operates independently after the Context is copied, and a large number of handlers of the sync interface can be multiplexed. As shown in FIG. 6, a copy of Workflow also means a copy of Context. Context1 and Context2 may now store the Context information of two ad requests, respectively. For any ad request, either information flow or sync, async, we need to initialize Context and Workflow in the beginning phase. If multiple ads are requested for the information flow, the logic of each ad is the same, in the form of a Workflow copy. In the finishing phase, the final data stored in the Context needs to be combined into Response (i.e. multiple target sub-creatives are integrated to obtain the target creative). In fig. 6, it is stated that the Workflow copy is performed from the beginning, and for the async _ load interface, the result returned by the engine contains information of a plurality of advertisements, which may be copied in the handler b stage, and is not limited herein.
The embodiment of the present application provides an advertisement service processing apparatus 110, which is applied to a server 10, where the server 10 is in communication connection with a terminal device 20, the server 10 includes an advertisement data pool and a handle storage center, the advertisement data pool stores advertisement data, and the handle storage center stores handles. As shown in fig. 7, the apparatus includes:
a response module 1101, configured to respond to an advertisement request sent by the terminal device 20, and obtain a target handle from handles stored in the handle storage center;
a calling module 1102, configured to call the target handle to obtain target advertisement data from the advertisement data stored in the advertisement data pool; calling the target handle to process the target advertisement data to obtain a target creative;
a sending module 1103, configured to send the target creative to the terminal device 20.
Further, the advertisement request comprises handle matching information, and the handle storage center at least stores a user information acquisition handle, an advertisement information acquisition handle and a creative acquisition handle. The response module 1101 is specifically configured to:
and according to the handle matching information, obtaining a user information obtaining handle, an advertisement information obtaining handle and a creative obtaining handle from the handle storage center to obtain a target handle, wherein the target handle comprises the user information obtaining handle, the advertisement information obtaining handle and the creative obtaining handle.
Further, the advertisement data includes a user identification and an advertisement identification, and the advertisement request further includes user information and advertisement information. The calling module 1102 is specifically configured to:
calling a user information acquisition handle to acquire a target user identifier corresponding to the user information from an advertisement data pool according to the user information; and calling an advertisement information acquisition handle to acquire a target advertisement identifier corresponding to the advertisement information from an advertisement data pool according to the advertisement information, wherein the target advertisement data comprises a target user identifier and a target advertisement identifier.
Further, the calling module 1102 is specifically configured to:
acquiring relevant information of a target user corresponding to the identification of the target user by using a preset user information engine; calling user information to obtain a handle, and storing the relevant information of the target user into an advertisement data pool; acquiring target advertisement index information corresponding to a target advertisement identification by using a preset advertisement information engine; calling advertisement information to obtain a handle, and storing advertisement index information into an advertisement data pool; calling a creative acquisition handle to extract advertisement index information from an advertisement data pool; formatting the advertisement index information by using a preset formatting engine to obtain standard creative information; calling a creative acquisition handle to store standard creative information into an advertisement data pool; extracting target user related information and standard creative information from an advertisement data pool; and processing the standard creative information based on the creative structure determined by the relevant information of the target user to obtain the target creative.
Further, the handle matching information includes a user information matching identifier, an advertisement information matching identifier, and a creative matching identifier. The response module 1101 is further specifically configured to:
acquiring user information from a handle storage center according to the user information matching identifier in the handle matching information to acquire a handle; acquiring advertisement information from a handle storage center according to the advertisement information matching identification in the handle matching information to acquire a handle; acquiring a handle from a sentence handle storage center according to the creative matching identification in the handle matching information; and taking the user information acquisition handle, the advertisement information acquisition handle and the creative acquisition handle as target handles.
Further, the user information acquisition handle comprises a first user information acquisition sub-handle and/or a second user information acquisition sub-handle. The response module 1101 is further specifically configured to:
when the user information matching identifier is a first user information matching identifier, acquiring a first user information acquisition sub-handle; and when the user information matching identifier is the second user information matching identifier, acquiring the second user information acquisition sub-handle.
The advertisement information acquisition handle comprises a first advertisement information acquisition sub-handle and/or a second advertisement information acquisition sub-handle. The response module 1101 is further specifically configured to:
when the advertisement information matching identifier is the first advertisement information matching identifier, acquiring a first advertisement information acquisition sub-handle; and when the advertisement information matching identifier is the second advertisement information matching identifier, acquiring a second advertisement information acquisition sub-handle.
The creative acquisition handle includes a first creative acquisition sub-handle and/or a second creative acquisition sub-handle. The response module 1101 is further specifically configured to:
when the creative matching identification is a first creative matching identification, a first creative acquisition sub-handle is obtained; and when the creative matching identification is the second creative matching identification, obtaining a second creative obtaining sub-handle.
Further, the advertisement request is plural;
the calling module 1102 is further specifically configured to:
copying the same number of advertisement data pools according to the number of the plurality of advertisement requests, wherein the plurality of advertisement requests and the plurality of advertisement data pools are in one-to-one correspondence; calling a target handle to obtain target advertisement data corresponding to each advertisement data pool from a plurality of advertisement data pools; calling the target handle to process the target advertisement data corresponding to each advertisement data pool to obtain the target sub-creatives corresponding to each advertisement data pool; and integrating the plurality of target sub creatives to obtain the target creatives.
In this embodiment of the application, the specific implementation principle of the advertisement processing apparatus 110 may refer to the implementation principle of the advertisement processing method, which is not described herein again.
The embodiment of the present application provides a computer device 100, where the computer device 100 includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the computer device 100 executes the foregoing advertisement service processing method. As shown in fig. 8, fig. 8 is a block diagram of a computer device 100 according to an embodiment of the present disclosure. The computer apparatus 100 includes an advertisement-service processing device 110, a memory 111, a processor 112, and a communication unit 113.
To facilitate the transfer or interaction of data, the elements of the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other, directly or indirectly. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The advertisement traffic processing apparatus 110 includes at least one software function module which may be stored in the memory 111 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the computer device 100. The processor 112 is used for executing executable modules stored in the memory 111, such as software functional modules and computer programs included in the advertisement service processing device 110.
An embodiment of the present application provides a readable storage medium, where the readable storage medium includes a computer program, and when the computer program runs, the computer device where the readable storage medium is located is controlled to execute the foregoing advertisement service processing method.
In summary, the embodiments of the present application provide an advertisement service processing method, an advertisement service processing apparatus, a computer device, and a readable storage medium. Acquiring a target handle from handles stored in the handle storage center by responding to an advertisement request sent by the terminal equipment; calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool; calling the target handle to process the target advertisement data to obtain a target creative; finally, the target creativity is sent to the terminal equipment, so that the advertisement service processing can be conveniently realized, the service function modularization and the decoupling among modules are realized, and the changeable and complex advertisement service requirements can be flexibly and elegantly supported.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The advertisement service processing method is characterized by being applied to a server, wherein the server is in communication connection with terminal equipment, the server comprises an advertisement data pool and a handle storage center, advertisement data are stored in the advertisement data pool, and handles are stored in the handle storage center;
the method comprises the following steps:
responding to an advertisement request sent by the terminal equipment, and acquiring a target handle from handles stored in the handle storage center;
calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool;
calling the target handle to process the target advertisement data to obtain a target creative;
and sending the target creative to the terminal equipment.
2. The method of claim 1, wherein the advertisement request includes handle matching information, and wherein the handle storage center stores at least a user information acquisition handle, an advertisement information acquisition handle, and a creative acquisition handle;
the acquiring a target handle from handles stored in the handle storage center in response to an advertisement request sent by the terminal device includes:
and obtaining the user information obtaining handle, the advertisement information obtaining handle and the creative obtaining handle from the handle storage center according to the handle matching information, and obtaining the target handle, wherein the target handle comprises the user information obtaining handle, the advertisement information obtaining handle and the creative obtaining handle.
3. The method of claim 2, wherein the advertisement data includes a user identification and an advertisement identification, and wherein the advertisement request further includes user information and advertisement information;
the calling the target handle to obtain target advertisement data from the advertisement data stored in the advertisement data pool comprises the following steps:
calling the user information acquisition handle to acquire a target user identifier corresponding to the user information from the advertisement data pool according to the user information;
and calling the advertisement information acquisition handle to acquire a target advertisement identifier corresponding to the advertisement information from the advertisement data pool according to the advertisement information, wherein the target advertisement data comprises a target user identifier and a target advertisement identifier.
4. The method of claim 3, wherein the invoking the target handle to process the target advertisement data to obtain a target creative comprises:
acquiring relevant information of a target user corresponding to the target user identification by using a preset user information engine;
calling the user information acquisition handle, and storing the relevant information of the target user into the advertisement data pool;
acquiring target advertisement index information corresponding to the target advertisement identification by using a preset advertisement information engine;
calling the advertisement information acquisition handle, and storing the advertisement index information into the advertisement data pool;
calling the creative acquisition handle to extract the advertisement index information from the advertisement data pool;
formatting the advertisement index information by using a preset formatting engine to obtain standard creative information;
calling the creative acquisition handle to store the standard creative information into the advertisement data pool;
extracting the target user related information and the standard creative information from the advertisement data pool;
and processing the standard creative information based on a creative structure determined by the target user related information to obtain the target creative.
5. The method of claim 2, wherein the handle match information includes a user information match identifier, an advertisement information match identifier, and a creative match identifier;
the obtaining the user information acquisition handle, the advertisement information acquisition handle and the creative acquisition handle from the handle storage center according to the handle matching information to obtain the target handle includes:
acquiring user information from the handle storage center to acquire a handle according to the user information matching identifier in the handle matching information;
acquiring advertisement information from the handle storage center to acquire a handle according to the advertisement information matching identifier in the handle matching information;
acquiring a handle from the handle storage center according to the creative matching identification in the handle matching information;
and taking the user information acquisition handle, the advertisement information acquisition handle and the creative acquisition handle as the target handles.
6. The method of claim 5, wherein the user information acquisition handle comprises a first user information acquisition sub-handle and/or a second user information acquisition sub-handle;
the obtaining of the handle from the handle storage center according to the user information matching identifier in the handle matching information includes:
when the user information matching identifier is a first user information matching identifier, acquiring a first user information acquisition sub-handle;
when the user information matching identifier is a second user information matching identifier, acquiring a second user information acquisition sub-handle;
the advertisement information acquisition handle comprises a first advertisement information acquisition sub-handle and/or a second advertisement information acquisition sub-handle;
the acquiring the handle by obtaining the advertisement information from the handle storage center according to the advertisement information matching identifier in the handle matching information includes:
when the advertisement information matching identifier is a first advertisement information matching identifier, acquiring a first advertisement information acquisition sub-handle;
when the advertisement information matching identifier is a second advertisement information matching identifier, acquiring a second advertisement information acquisition sub-handle;
the creative acquisition handle comprises a first creative acquisition sub-handle and/or a second creative acquisition sub-handle;
the acquiring of the handle by acquiring the creative from the handle storage center according to the creative matching identifier in the handle matching information includes:
when the creative matching identification is a first creative matching identification, obtaining the first creative obtaining sub-handle;
and when the creative matching identification is a second creative matching identification, obtaining the second creative obtaining sub-handle.
7. The method of claim 1, wherein the advertisement request is plural;
the calling the target handle to obtain target advertisement data from the advertisement data stored in the advertisement data pool comprises the following steps:
copying the same number of advertisement data pools according to the number of the plurality of advertisement requests, wherein the plurality of advertisement requests and the plurality of advertisement data pools are in one-to-one correspondence;
calling the target handle to obtain target advertisement data corresponding to each advertisement data pool from a plurality of advertisement data pools;
the step of calling the target handle to process the target advertisement data to obtain the target creative includes:
calling the target handle to process the target advertisement data corresponding to each advertisement data pool to obtain the target sub-creatives corresponding to each advertisement data pool;
and integrating the plurality of target sub creatives to obtain the target creatives.
8. An advertisement service processing device is applied to a server, the server is in communication connection with a terminal device, the server comprises an advertisement data pool and a handle storage center, advertisement data are stored in the advertisement data pool, and handles are stored in the handle storage center;
the device comprises:
the response module is used for responding to an advertisement request sent by the terminal equipment and acquiring a target handle from handles stored in the handle storage center;
the calling module is used for calling the target handle to acquire target advertisement data from the advertisement data stored in the advertisement data pool; calling the target handle to process the target advertisement data to obtain a target creative;
and the sending module is used for sending the target creative idea to the terminal equipment.
9. A computer device comprising a processor and a non-volatile memory having computer instructions stored thereon, wherein the computer instructions, when executed by the processor, cause the computer device to perform the advertisement traffic processing method of any of claims 1-7.
10. A readable storage medium, characterized in that the readable storage medium comprises a computer program, and the computer program controls a computer device in which the readable storage medium is located to execute the advertisement service processing method according to any one of claims 1 to 7.
CN202010508121.2A 2020-06-05 2020-06-05 Advertisement service processing method and device, computer equipment and readable storage medium Active CN111666117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010508121.2A CN111666117B (en) 2020-06-05 2020-06-05 Advertisement service processing method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010508121.2A CN111666117B (en) 2020-06-05 2020-06-05 Advertisement service processing method and device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111666117A true CN111666117A (en) 2020-09-15
CN111666117B CN111666117B (en) 2022-08-26

Family

ID=72386954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010508121.2A Active CN111666117B (en) 2020-06-05 2020-06-05 Advertisement service processing method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111666117B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1872304A2 (en) * 2005-03-30 2008-01-02 Google, Inc. Networking advertisers and agents for ad authoring and/or ad campaign management
CN102685572A (en) * 2012-04-28 2012-09-19 Tcl集团股份有限公司 System and method for playing and interacting videoland
CN109639767A (en) * 2018-11-20 2019-04-16 中国人民解放军总医院 A kind of Service Gateway data processing method, device, equipment
CN109816452A (en) * 2019-01-28 2019-05-28 腾讯科技(深圳)有限公司 Advertisement processing method, device, terminal, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1872304A2 (en) * 2005-03-30 2008-01-02 Google, Inc. Networking advertisers and agents for ad authoring and/or ad campaign management
CN102685572A (en) * 2012-04-28 2012-09-19 Tcl集团股份有限公司 System and method for playing and interacting videoland
CN109639767A (en) * 2018-11-20 2019-04-16 中国人民解放军总医院 A kind of Service Gateway data processing method, device, equipment
CN109816452A (en) * 2019-01-28 2019-05-28 腾讯科技(深圳)有限公司 Advertisement processing method, device, terminal, server and storage medium

Also Published As

Publication number Publication date
CN111666117B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
US10007664B2 (en) Systems, methods and apparatus for dynamic content management and delivery
CN107491325B (en) System, method and apparatus for managing applications on a device
US9619304B2 (en) Automatic connections between application components
CN101802815B (en) Data-driven synchronization
EP3101509A1 (en) Electronic device and method for controlling execution of application in electronic device
US20220012040A1 (en) Semantic and standard user interface (ui) interoperability in dynamically generated cross-platform applications
CN103119589A (en) Method and apparatus for binding mobile device functionality to an application definition
US20160062732A1 (en) Method for providing additional functions based on information
US20170249934A1 (en) Electronic device and method for operating the same
CN103119538A (en) Apparatus and methods of extending application services
US20180101574A1 (en) Searching index information for application data
US20210405767A1 (en) Input Method Candidate Content Recommendation Method and Electronic Device
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN110489106A (en) A kind of generation method, device, medium and the electronic equipment of project initial code
CN110442416B (en) Method, electronic device and computer-readable medium for presenting information
US20140164341A1 (en) Method and apparatus for obtaining and managing contact information
CN111666117B (en) Advertisement service processing method and device, computer equipment and readable storage medium
US20190172263A1 (en) Method and apparatus for augmenting reality
US20140220961A1 (en) Mobile device configuration utilizing physical display
CN102148687B (en) Signature method and device in information management system
CN113835790B (en) Paging page display method and device based on Android
CN114371895A (en) Terminal device, mail marking method and storage medium
CN112099722A (en) Business information display method, device, equipment and computer readable medium
CN112307717A (en) Text labeling information display method and device, electronic equipment and medium
CN112748968A (en) Auxiliary operation method, device, equipment and storage medium

Legal Events

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