CN114862470A - Advertisement resource adaptation method and device, computer equipment and storage medium - Google Patents

Advertisement resource adaptation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114862470A
CN114862470A CN202210546335.8A CN202210546335A CN114862470A CN 114862470 A CN114862470 A CN 114862470A CN 202210546335 A CN202210546335 A CN 202210546335A CN 114862470 A CN114862470 A CN 114862470A
Authority
CN
China
Prior art keywords
advertisement
target
request
resource
template
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.)
Pending
Application number
CN202210546335.8A
Other languages
Chinese (zh)
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.)
Shenzhen Xindu Bowang Technology Co ltd
Original Assignee
Shenzhen Xindu Bowang 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 Shenzhen Xindu Bowang Technology Co ltd filed Critical Shenzhen Xindu Bowang Technology Co ltd
Priority to CN202210546335.8A priority Critical patent/CN114862470A/en
Publication of CN114862470A publication Critical patent/CN114862470A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The application provides an advertisement resource adaptation method, an advertisement resource adaptation device, computer equipment and a storage medium, which relate to the technical field of multimedia communication, and the method comprises the following steps: and when receiving a target advertisement request sent by a user terminal, reading the advertisement type configuration of the target advertiser terminal from a preset database. If the target advertiser end does not support the target advertisement type, the target advertisement template is matched from the preset hash table based on the target advertisement request, then the target advertisement request is packaged into a native advertisement request matched with the advertisement type configuration of the target advertiser end based on the standard template material specification in the target advertisement template, when the native advertisement resource returned by the target advertiser end according to the native advertisement request is received, the native advertisement resource is converted into the target advertisement resource of the target advertisement type based on the target advertisement template, the target advertisement resource can be returned by the target advertiser end in response to the target advertisement request, and the application range is expanded.

Description

Advertisement resource adaptation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of multimedia communications technologies, and in particular, to an advertisement resource adapting method, an advertisement resource adapting apparatus, a computer device, and a storage medium.
Background
With the rapid development of internet technology, people's living habits and working modes also change over the air. Nowadays, the internet has become an indispensable and important part of people's daily life. With the increasing popularity of the internet, internet advertising has gradually become one of the main ways to promote information.
The existing advertisement resource adaptation scheme is to put corresponding advertisements to the user terminal according to the advertisement types supported by the advertiser, but for the advertisement types not supported by the advertiser, the appropriate advertisement resources cannot be adapted and returned to the user terminal, and the application range is small.
Disclosure of Invention
Therefore, it is necessary to provide an advertisement resource adapting method to solve the problem of a small application range of the existing advertisement resource adapting scheme.
A first aspect of an embodiment of the present application provides an advertisement resource adaptation method, including:
when a target advertisement request sent by a user terminal is received, reading the advertisement type configuration of a target advertiser terminal from a preset database;
if the advertisement type configuration does not comprise the target advertisement type corresponding to the target advertisement request, a target advertisement template is adapted from a preset hash table based on the target advertisement request; standard template material specifications are configured in the target advertisement template;
repackaging the target advertisement request based on the standard template material specification to obtain a native advertisement request, and sending the native advertisement request to the target advertiser terminal; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
receiving the native advertisement resource returned by the target advertiser terminal according to the native advertisement request, and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
and sending the target advertisement resource to the user terminal.
A second aspect of the embodiments of the present application provides an advertisement resource adapting apparatus, including:
a response module: the system comprises a user terminal, a preset database and a target advertising server, wherein the user terminal is used for receiving a target advertising request sent by the user terminal and reading the advertising type configuration of a target advertiser terminal from the preset database;
an adaptation module: the target advertisement template is adapted from a preset hash table based on the target advertisement request if the advertisement type configuration is identified not to include the target advertisement type corresponding to the target advertisement request; standard template material specifications are configured in the target advertisement template;
packaging the module: the system comprises a standard template material specification, a target advertisement request sending end and a target advertisement main end, wherein the standard template material specification is used for repackaging the target advertisement request to obtain a primary advertisement request and sending the primary advertisement request to the target advertisement main end; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
a conversion module: the system comprises a target advertiser end, a target advertisement template and a target advertisement server, wherein the target advertiser end is used for receiving a native advertisement resource returned by the target advertiser end according to the native advertisement request and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
a feedback module: for sending the targeted advertising resources to the user terminal.
A third aspect of the embodiments of the present application provides a computer device, which includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, and the processor, when executing the computer readable instructions, implements the advertisement resource adaptation method described above.
A fourth aspect of embodiments of the present application provides one or more readable storage media storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the above advertisement resource adaptation method.
The embodiment of the application provides an advertisement resource adaptation method, when a target advertisement request sent by a user terminal is received, firstly, the advertisement type configuration of a target advertiser terminal is read from a preset database so as to judge whether the target advertiser terminal supports the target advertisement type corresponding to the target advertisement request. The method comprises the steps that a preset hash table which is configured in advance comprises at least one target advertisement template, if the fact that a target advertiser end does not support the target advertisement type is identified, the target advertisement template is firstly matched from the preset hash table based on a target advertisement request, then request parameters of the target advertisement request are changed based on standard template material specifications in the target advertisement template, the target advertisement request is packaged into a native advertisement request matched with the advertisement type configuration of the target advertiser end, the native advertisement request comprises the standard template material specifications matched with the target advertisement template, therefore, when the native advertisement resource returned by the target advertiser end according to the native advertisement request is received, the native advertisement resource can be converted into the target advertisement resource based on the target advertisement template, the conversion of the advertisement type is achieved, and the target advertisement resource can be returned by the advertiser which does not support the target advertisement type in response to the target advertisement request sent by a user terminal, the application range of the advertisement resource adaptation is expanded.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of an implementation architecture of an advertisement resource adaptation method in an embodiment of the present application;
FIG. 2 is a schematic flow chart of an implementation of an advertisement resource adaptation method in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an advertisement resource adaptation apparatus in an embodiment of the present application;
fig. 4 is a schematic diagram of a computer device in an embodiment of the present application.
Detailed Description
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, but not all, embodiments of the present 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.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an implementation architecture of an advertisement resource adaptation method in an embodiment of the present application, as shown in fig. 1, an operator previously inputs advertisement type configuration information supported by a target advertisement host to a management platform, and simultaneously uses an offline script to synchronously cache the advertisement type configuration in a preset database, when a server receives a target advertisement request sent by a user terminal, the server first reads the advertisement type configuration of the target advertisement host from the preset database, determines whether the target advertisement host supports a target advertisement type corresponding to the target advertisement request, if not, the server adapts a target advertisement template from a preset hash table based on the target advertisement request, pre-configures template materials in the target advertisement template and standard template material specifications corresponding to the template materials, and re-encapsulates the target advertisement request based on the template materials and the standard template material specifications, the method comprises the steps of obtaining a native advertisement request matched with the type configuration of a target advertiser terminal advertisement, sending the native advertisement request to the target advertiser terminal, responding to the native advertisement request by the target advertiser terminal, and sending a native advertisement resource to a server.
The server may be implemented by an independent server or a server cluster composed of a plurality of servers. User terminals include, but are not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The target advertiser terminal includes but is not limited to a server or a terminal corresponding to the advertiser service system.
Referring to fig. 2, fig. 2 is a flowchart illustrating an implementation of the advertisement resource adaptation method in the embodiment of the present application, which is described by taking the method as an example and includes the following steps:
s11: and when receiving a target advertisement request sent by a user terminal, reading the advertisement type configuration of the target advertiser terminal from a preset database.
In step S11, the target advertisement request refers to the requirement of the application program in the user terminal and so on for the target advertiser-side advertisement data, including the requested advertisement type, the information of the target advertiser, and so on. The target advertiser side refers to a server side providing advertisement data. The ad type configuration includes the ad types supported by the targeted advertiser.
In this embodiment, an operator enters target advertiser information corresponding to a target advertiser terminal into a management platform in advance, where the advertiser information includes a name of an advertiser, advertisement type configuration, and the like, and runs an offline script to store the advertisement type configuration of the target advertiser in a preset database. When the server receives a target advertisement request sent by a user terminal, the target advertisement request is analyzed to obtain information such as the name of a target advertiser, and advertisement type configuration corresponding to the target advertiser end is read from a preset database according to the analyzed information.
S12: if the advertisement type configuration does not comprise the target advertisement type corresponding to the target advertisement request, a target advertisement template is adapted from a preset hash table based on the target advertisement request; and standard template material specifications are configured in the target advertisement template.
In step S12, the target advertisement template refers to an advertisement template matching the target advertisement type, such as a rich media advertisement template. And standard template material specifications are configured in the target advertisement template. The hash table is also called a hash table, and is a data structure directly accessed from a key value. It accesses the record by mapping the key value to a location in the table to speed the lookup. In the embodiment of the application, a plurality of target advertisement templates corresponding to target advertisement types are configured in advance, and the target advertisement template data are mapped to the preset hash table, so that the target advertisement templates are convenient to search.
In this embodiment, the server identifies the read advertisement type configuration, and determines whether the advertisement type supported by the target advertiser end includes a target advertisement type corresponding to the target advertisement request, that is, determines whether the target advertiser end supports the target advertisement type corresponding to the target advertisement request, if the target advertiser end does not support the target advertisement type, the server adapts a target advertisement template from a preset hash table based on the target advertisement request, where the target advertisement template is an advertisement template corresponding to the target advertisement type, that is, an advertisement of the target advertisement type can be generated according to the target advertisement template, and parameter information that meets a standard template material specification is required for obtaining the advertisement. In another embodiment, if the target advertiser supports the target advertisement type corresponding to the target advertisement request, the server sends the target advertisement request to the target advertiser, the target advertiser returns the advertisement data information corresponding to the target advertisement request to the server according to the target advertisement request, and the server returns the advertisement data information to the user terminal.
As an embodiment of the present application, the adapting a target advertisement template from a preset hash table based on the target advertisement request includes: analyzing the target advertisement request to obtain a target advertisement size specification; and matching a target advertisement template consistent with the target advertisement size specification from a preset hash table based on the target advertisement size specification.
In this embodiment, the target advertisement request includes information of the target advertisement size specifications, such as width and height, of the target advertisement, and the preset hash table includes information of the size parameter of each advertisement template, so that the target advertisement template consistent with the target advertisement size specification can be adapted from the preset hash table based on the target advertisement size specification. As an example, the width and height of the targeted advertisement are connected using a character "X" and combined into a key to represent the targeted advertisement size specification, e.g., the width of the targeted advertisement corresponding to the targeted advertisement request is 320 pixels and the height is 50 pixels, and the key corresponding to the targeted advertisement request is 320 pixels by 50 pixels. And then searching for the advertisement template matched with the key in a preset hash table by using the key corresponding to the target advertisement request, namely obtaining the target advertisement template.
As an example, as shown in table 1 below, the advertisement templates with different sizes include different types of template materials, and each type of template material has a corresponding standard specification, for example, for an advertisement template with a size of 320 pixels by 50 pixels, the template materials include template materials of an Icon picture type, a Title text type, a description text type, and a Call to action text type, where the specification of the Icon picture: 50 pixels by 50 pixels, specification of Title text: within 90 characters in length, the specification of the description text: within 140 characters in length, the specification of Call to action text: length 15 characters or less.
Figure BDA0003652808050000071
Figure BDA0003652808050000081
TABLE 1
S13: repackaging the target advertisement request based on the standard template material specification to obtain a native advertisement request, and sending the native advertisement request to the target advertiser terminal; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration.
In step S13, encapsulating means configuring request parameters corresponding to the target advertisement request. The native advertisement request refers to an advertisement request adapted to the advertisement type configuration of the target advertiser terminal, and the target advertiser terminal responds to the native advertisement request.
In this embodiment, since the target advertiser does not support the target advertisement type corresponding to the target advertisement request, and the target advertiser cannot respond to the target advertisement request, in order to obtain the advertisement resource parameter data of the target advertiser, the target advertisement request needs to be packaged and converted into the original advertisement request that the target advertiser can recognize and respond, so that the advertisement type corresponding to the original advertisement request conforms to the advertisement type configuration of the target advertiser. And packaging the target advertisement request based on the standard template material specification, and then sending the primary advertisement request obtained after packaging to the target advertisement main terminal so as to obtain the advertisement resource parameter data meeting the standard template material specification.
As an embodiment of the present application, the repackaging the target advertisement request based on the standard template material specification to obtain a native advertisement request includes: creating target parameters corresponding to the template materials according to the standard template material specification and the template materials; and updating the target parameters to the request parameters corresponding to the target advertisement request to obtain the native advertisement request.
In this embodiment, the target parameters include parameters such as pictures and texts and corresponding attribute parameters. And creating parameter objects for the template material types according to the template material types of the standard template material specification in the target advertisement template to obtain final target parameters, updating the target parameters into request parameters corresponding to the target advertisement request to obtain a primary advertisement request, and requesting the template materials meeting the standard template material specification.
As an embodiment of the present application, the creating a target parameter corresponding to the template material according to the standard template material specification and the template material includes: creating initial parameters of the template material according to the type attribute of the template material; and configuring the parameter attribute corresponding to the initial parameter according to the standard template material specification to obtain the target parameter.
In this embodiment, first, according to the type attribute of each template material corresponding to the standard template material specification in the target advertisement template, an initial parameter of each template material is created, and then under the initial parameter of each template material, according to the standard template material specification, a parameter attribute corresponding to each initial parameter is configured, so as to obtain a final target parameter.
As an example, the assetBuilder object is first created. And then judging whether the template material type contained in the target advertisement template contains a large image or not, if so, creating an imageBuilder object, and setting the image type of the imageBuilder as main and the corresponding size attribute. The assetBuilder object adds the imageBuilder object. And judging whether the target advertisement template contains an icon, if so, creating an imageBuilder object, and setting the picture type of the imageBuilder as the icon and the corresponding size attribute. The assetBuilder object adds the imageBuilder object. And judging whether the target advertisement template contains a title text, if so, creating a title builder object, and setting the len attribute of the title builder. The assetBuilder object adds the titleBuilder object. And judging whether the target advertisement template contains the description text, if so, creating a dataBuilder object, and setting the type of the dataBuilder as desc and the corresponding len attribute. The assetBuilder object adds the dataBuilder object. And judging whether the target advertisement template contains CTA text, if so, creating a dataBuilder object, and setting the type of the dataBuilder as CTA and the corresponding len attribute. The assetBuilder object adds the dataBuilder object. And finally, adding the repackaged assetBuilder object into the request parameter of the target advertisement request to obtain the native advertisement request.
S14: and receiving the native advertisement resource returned by the target advertiser terminal according to the native advertisement request, and performing type conversion on the native advertisement resource based on the target advertisement template to obtain the target advertisement resource.
In step S14, the native advertisement resources include material information such as pictures and texts meeting the standard template material specification, and also include monitoring link information to monitor the advertisement exposure and click problem, so as to prevent false advertisement exposure and click, false sale and false user, thereby avoiding wasting the advertisement resources on the unproductive false user.
In this embodiment, the target advertisement template is an advertisement template of a target advertisement type, and after receiving the native advertisement resource returned by the target advertiser according to the native advertisement request, the server may obtain information, such as pictures and texts, that meet the standard template material specification in the target advertisement template from the target advertiser through parsing, and monitor link information, and replace the information with the target advertisement template, so as to implement conversion of the advertisement type corresponding to the native advertisement resource returned by the target advertiser, and obtain the target advertisement resource of the target advertisement type.
As an embodiment of the present application, performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource includes: analyzing the native advertisement resource to obtain advertisement resource information; and updating the advertisement resource information to the target advertisement template to obtain the target advertisement resource.
In this embodiment, the advertisement resource information includes information such as pictures, texts, and monitoring links. After the native advertisement resources are obtained, the native advertisement resources are analyzed, and then the advertisement resource information can be obtained, wherein material specifications of pictures, texts and the like in the advertisement resource information all meet standard template material specifications in the target advertisement template. And then updating the advertisement resource information to a target advertisement template to obtain a target advertisement resource, wherein the target advertisement template is an advertisement template corresponding to the target advertisement type, so that the advertisement type corresponding to the target advertisement resource is also the target advertisement type, and the advertisement type conversion of the native advertisement resource of the target advertiser end is realized.
As an embodiment of the present application, the target advertisement template includes at least one resource information identifier; the updating the advertisement resource information to the target advertisement template to obtain the target advertisement resource includes: and correspondingly replacing the resource information identification in the target advertisement template with the advertisement resource information to obtain the target advertisement resource.
In this embodiment, the target advertisement template is an HTML (Hyper Text Markup Language) code segment that can be rendered in the client webview, and different macro definition identifiers, that is, resource information identifiers, are preset in the target advertisement template and correspond to data information such as pictures, texts, monitoring links, and the like in the advertisement resource information. And correspondingly replacing the resource information identification in the target advertisement template with the advertisement resource information to obtain the target advertisement resource of the target advertisement type.
Taking the rich media advertisement request as an example, if the target advertiser end does not support the rich media advertisement type, after the advertisement resource information of the target advertiser end is obtained, the type conversion is performed on the advertisement resource information by the target advertisement template based on the rich media advertisement template. Macro such as $ { LINK }, $ { WIDTH }, $ { HEIGHT }, $ { TITLE }, $ { DESC }, $ { CTA }, $ { ADURL }, $ { ICON }, $ { ctracs }, $ { ctron }, $ { ctracs }, $ { itraks }, and $jtracks } are preset in the rich media advertisement template as resource information identification of the rich media advertisement template. And respectively replacing the $ { WIDTH } macro and $ { HEIGHT } macro in the rich media advertisement template with the WIDTH and the HEIGHT corresponding to the target advertisement size specification. And then, reading a bid, search, bid, adm, LINK and url field in the advertisement resource information, acquiring a landing page LINK, and replacing a $ { LINK } macro in the rich media advertisement template with the landing page LINK so as to realize that the user jumps to the landing page LINK when clicking the advertisement. Reading a bid. Then $ { TITLE } macro is replaced with TITLE text, $ { DESC } is replaced with description text, $ { CTA } is replaced with CTA text, $ { ICON } is replaced with ICON picture link, $ { ADURL } is replaced with big picture link. And after macro replacement in the rich media advertisement template is completed, obtaining a final advertisement code, namely a rich media advertisement resource, completing the conversion of the advertisement type, and finally returning the converted rich media advertisement resource to the user terminal.
The rich media advertisement template can preset the styles of pictures and texts by using formats such as CSS or HTML, and after the user terminal finishes rendering the target advertisement resource advertisement, the rich media advertisement is displayed on the user terminal according to the specified style.
In the process of converting the advertisement types, some field information in the advertisement resource information can be read to obtain the monitoring link to monitor the advertisement exposure and click, so that false advertisement exposure and click, false sale and false users are prevented, and the advertisement resources are prevented from being wasted on worthless false users.
Based on the above example, the server obtains the advertisement resource information returned by the target advertiser, reads the field of bid, search, bid, adm, link, click, and links to obtain the click monitoring link, where the number of click monitoring links may be multiple, such as the click monitoring link of the server, the click monitoring link of the user terminal, and the click monitoring link of the advertiser, and then replaces the $ { ctracs } macro in the rich media advertisement template with the click monitoring link. And (3) a click monitoring event is built in the rich media advertisement template, when a user clicks the advertisement, all click monitoring links are firstly and synchronously requested, then an external browser is pulled up to jump to a landing page, and click reporting and click jumping functions are completed. The method and the device realize the monitoring of advertisement clicking, simultaneously read the field of bid, search, bid, adm, imptrakers to obtain the display monitoring link, possibly contain a plurality of display monitoring links in the advertisement resource information, and replace the $ { ITRACKS } macro in the rich media advertisement template into the display monitoring link. The rich media advertisement template is internally provided with a section of program, when the advertisement is rendered, the display monitoring link array is traversed, and a 1x1 pixel point is generated for each display monitoring link and spliced at the tail end of the advertisement code. When the advertisement code runs to the 1x1 pixel point, the display monitoring link is requested to complete the display reporting function, and the advertisement exposure is monitored.
S15: and sending the target advertisement resource to the user terminal.
In step S15, the targeted advertising resource is a code fragment that can be rendered in a web page view of the user terminal. The advertisement type corresponding to the target advertisement resource is the target advertisement type.
In this embodiment, because the advertisement type corresponding to the converted target advertisement resource is also the target advertisement type corresponding to the target advertisement request, the converted target advertisement resource is sent to the user terminal in response to the target advertisement request, and the user can view the target advertisement resource at the user terminal.
As an example, the target advertisement request is a rich media advertisement request, the advertisement type corresponding to the request is a rich media advertisement type, and if the target advertiser end does not have the capability of making a rich media advertisement, that is, does not support the rich media advertisement type, the above scheme can be applied to convert the advertisement type supported by the target advertiser end into the rich media advertisement type, which not only meets the user requirement, but also expands the application range of advertisement resource adaptation of the target advertiser end.
When a target advertisement request sent by a user terminal is received, firstly reading advertisement type configuration of a target advertiser end from a preset database to judge whether the target advertiser end supports a target advertisement type corresponding to the target advertisement request. The method comprises the steps that a preset hash table which is configured in advance comprises at least one target advertisement template, if the fact that a target advertiser end does not support the target advertisement type is identified, the target advertisement template is firstly matched from the preset hash table based on a target advertisement request, then request parameters of the target advertisement request are changed based on standard template material specifications in the target advertisement template, the target advertisement request is packaged into a native advertisement request matched with the advertisement type configuration of the target advertiser end, the native advertisement request comprises the standard template material specifications matched with the target advertisement template, therefore, when the native advertisement resource returned by the target advertiser end according to the native advertisement request is received, the native advertisement resource can be converted into the target advertisement resource based on the target advertisement template, the conversion of the advertisement type is achieved, and the target advertisement resource can be returned by the advertiser which does not support the target advertisement type in response to the target advertisement request sent by a user terminal, the application range of the advertisement resource adaptation is expanded.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In one embodiment, an advertisement resource adapting device 300 is provided, which corresponds to the advertisement resource adapting methods in the above embodiments one to one. As shown in fig. 3, the advertisement resource adaptation apparatus includes a response module 301, an adaptation module 302, an encapsulation module 303, a conversion module 304, and an execution module 305. The functional modules are explained in detail as follows:
the response module 301: the system comprises a user terminal, a preset database and a target advertising server, wherein the user terminal is used for receiving a target advertising request sent by the user terminal and reading the advertising type configuration of a target advertiser terminal from the preset database;
the adaptation module 302: the target advertisement template is adapted from a preset hash table based on the target advertisement request if the advertisement type configuration is identified not to include the target advertisement type corresponding to the target advertisement request; the target advertisement template is configured with standard template material specification;
the encapsulation module 303: the system comprises a standard template material specification, a target advertisement request sending end and a target advertisement main end, wherein the standard template material specification is used for repackaging the target advertisement request to obtain a primary advertisement request and sending the primary advertisement request to the target advertisement main end; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
the conversion module 304: the system comprises a target advertiser end, a target advertisement template and a target advertisement server, wherein the target advertiser end is used for receiving a native advertisement resource returned by the target advertiser end according to the native advertisement request and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
the feedback module 305: for sending the targeted advertising resources to the user terminal.
The adaptation module further comprises:
and (5) analyzing a submodule: the system is used for analyzing the target advertisement request to obtain a target advertisement size specification;
matching the sub-modules: and the target advertisement template is used for being matched with the target advertisement size specification from a preset hash table based on the target advertisement size specification.
For the specific definition of the advertisement resource adapting device, reference may be made to the above definition of the advertisement resource adapting method, which is not described herein again. The modules in the advertisement resource adaptation device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer apparatus includes a processor, a memory, a network interface, a display device (display screen), and an input device connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a readable storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The internal memory provides an environment for the operating system and execution of computer-readable instructions in the readable storage medium. The network interface of the computer device is used for communicating with an external server through a network connection. The computer readable instructions, when executed by a processor, implement a method of advertisement resource adaptation. The readable storage media provided by the present embodiment include nonvolatile readable storage media and volatile readable storage media.
In one embodiment, a computer device is provided, comprising a memory, a processor, and computer readable instructions stored on the memory and executable on the processor, the processor when executing the computer readable instructions implementing the steps of:
when a target advertisement request sent by a user terminal is received, reading the advertisement type configuration of a target advertiser terminal from a preset database;
if the advertisement type configuration does not comprise the target advertisement type corresponding to the target advertisement request, a target advertisement template is adapted from a preset hash table based on the target advertisement request; standard template material specifications are configured in the target advertisement template;
repackaging the target advertisement request based on the standard template material specification to obtain a native advertisement request, and sending the native advertisement request to the target advertiser terminal; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
receiving the native advertisement resource returned by the target advertiser terminal according to the native advertisement request, and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
and sending the target advertisement resource to the user terminal.
In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided, the readable storage media provided by the embodiments including non-volatile readable storage media and volatile readable storage media. The readable storage medium has stored thereon computer readable instructions which, when executed by one or more processors, perform the steps of:
when a target advertisement request sent by a user terminal is received, reading the advertisement type configuration of a target advertiser terminal from a preset database;
if the advertisement type configuration does not comprise the target advertisement type corresponding to the target advertisement request, a target advertisement template is adapted from a preset hash table based on the target advertisement request; standard template material specifications are configured in the target advertisement template;
repackaging the target advertisement request based on the standard template material specification to obtain a native advertisement request, and sending the native advertisement request to the target advertiser terminal; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
receiving the native advertisement resource returned by the target advertiser terminal according to the native advertisement request, and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
and sending the target advertisement resource to the user terminal.
It will be understood by those of ordinary skill in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to computer readable instructions, which may be stored in a non-volatile readable storage medium or a volatile readable storage medium, and when executed, the computer readable instructions may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An advertisement resource adapting method, characterized in that the advertisement resource adapting method comprises:
when a target advertisement request sent by a user terminal is received, reading the advertisement type configuration of a target advertiser terminal from a preset database;
if the advertisement type configuration does not comprise the target advertisement type corresponding to the target advertisement request, a target advertisement template is adapted from a preset hash table based on the target advertisement request; standard template material specifications are configured in the target advertisement template;
repackaging the target advertisement request based on the standard template material specification to obtain a native advertisement request, and sending the native advertisement request to the target advertiser terminal; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
receiving the native advertisement resource returned by the target advertiser terminal according to the native advertisement request, and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
and sending the target advertisement resource to the user terminal.
2. The advertisement resource adaptation method of claim 1, wherein the adapting a target advertisement template from a preset hash table based on the target advertisement request comprises:
analyzing the target advertisement request to obtain a target advertisement size specification;
and matching a target advertisement template consistent with the target advertisement size specification from a preset hash table based on the target advertisement size specification.
3. The method of claim 1, wherein said repackaging the targeted ad request based on the standard template material specification, resulting in a native ad request, comprises:
creating target parameters based on the standard template material specification;
and updating the target parameters to the request parameters corresponding to the target advertisement request to obtain the native advertisement request.
4. The advertisement resource adaptation method of claim 3, wherein creating target parameters based on the standard template material specification comprises:
creating material type parameters corresponding to the standard template material specification;
and configuring the parameter attribute corresponding to the material type parameter according to the standard template material specification to obtain the target parameter.
5. The method for adapting an advertisement resource of claim 1, wherein the type-converting the native advertisement resource based on the target advertisement template to obtain a target advertisement resource comprises:
analyzing the native advertisement resource to obtain advertisement resource information;
and updating the advertisement resource information to the target advertisement template to obtain the target advertisement resource.
6. The advertisement resource adaptation method of claim 5, wherein the target advertisement template includes at least one resource information identification;
the updating the advertisement resource information to the target advertisement template to obtain the target advertisement resource includes:
and correspondingly replacing the resource information identification with the advertisement resource information to obtain the target advertisement resource.
7. An advertisement resource adaptation device, characterized in that the advertisement resource adaptation device comprises:
a response module: the system comprises a user terminal, a preset database and a target advertising server, wherein the user terminal is used for receiving a target advertising request sent by the user terminal and reading the advertising type configuration of a target advertiser terminal from the preset database;
an adaptation module: the target advertisement template is adapted from a preset hash table based on the target advertisement request if the advertisement type configuration is identified not to include the target advertisement type corresponding to the target advertisement request; standard template material specifications are configured in the target advertisement template;
and (3) packaging the module: the system comprises a standard template material specification, a target advertisement request sending end and a target advertisement main end, wherein the standard template material specification is used for repackaging the target advertisement request to obtain a primary advertisement request and sending the primary advertisement request to the target advertisement main end; wherein the native advertisement request refers to an advertisement request adapted to the advertisement type configuration;
a conversion module: the system comprises a target advertiser end, a target advertisement template and a target advertisement server, wherein the target advertiser end is used for receiving a native advertisement resource returned by the target advertiser end according to the native advertisement request and performing type conversion on the native advertisement resource based on the target advertisement template to obtain a target advertisement resource;
a feedback module: for sending the targeted advertising resources to the user terminal.
8. The advertisement resource adaptation device of claim 7, the adaptation module further comprising:
and (5) analyzing a submodule: the system is used for analyzing the target advertisement request to obtain a target advertisement size specification;
matching sub-modules: and the target advertisement template is used for being matched with the target advertisement size specification from a preset hash table based on the target advertisement size specification.
9. A computer device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the computer readable instructions, when executed by the processor, implement the advertisement resource adaptation method of any one of claims 1-6.
10. One or more readable storage media storing computer-readable instructions, wherein the computer-readable instructions, when executed by a processor, implement the advertisement resource adaptation method of any one of claims 1-6.
CN202210546335.8A 2022-05-19 2022-05-19 Advertisement resource adaptation method and device, computer equipment and storage medium Pending CN114862470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210546335.8A CN114862470A (en) 2022-05-19 2022-05-19 Advertisement resource adaptation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210546335.8A CN114862470A (en) 2022-05-19 2022-05-19 Advertisement resource adaptation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114862470A true CN114862470A (en) 2022-08-05

Family

ID=82639242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210546335.8A Pending CN114862470A (en) 2022-05-19 2022-05-19 Advertisement resource adaptation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114862470A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116151881A (en) * 2022-12-19 2023-05-23 北京阅友科技有限公司 Advertisement access system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116151881A (en) * 2022-12-19 2023-05-23 北京阅友科技有限公司 Advertisement access system and method
CN116151881B (en) * 2022-12-19 2024-01-26 北京阅友科技有限公司 Advertisement access system and method

Similar Documents

Publication Publication Date Title
JP6740373B2 (en) Page component dynamic layout
US10990641B2 (en) Configuration of content site user interaction monitoring in data networks
JP2004510254A (en) Network server
US9749440B2 (en) Systems and methods for hosted application marketplaces
CN110321177B (en) Mobile application localized loading method and device and electronic equipment
CN112114913B (en) Application program interface updating method and device, computer equipment and storage medium
CN106533926B (en) Webpage information spreading method and device
CN110647699A (en) Web page rendering method and device, computer equipment and storage medium
CN108595697B (en) Webpage integration method, device and system
US20230334113A1 (en) Image processing method and apparatus, and computer readable storage medium
CN110221871B (en) Webpage acquisition method and device, computer equipment and storage medium
CN112395848A (en) Rich text display method and device, computer equipment and storage medium
WO2023082654A1 (en) Method, apparatus and device for generating service interaction diagram, and storage medium
CN110888634B (en) Game floor page generation method, game floor page generation device, computer equipment and storage medium
CN115098098A (en) Page generation method, page display method and device
CN110968314A (en) Page generation method and device
TWI519980B (en) Method and device for displaying web page and computer-readable storage medium
CN112231379A (en) API (application program interface) auditing method, device, equipment and storage medium based on micro-service architecture
CN114862470A (en) Advertisement resource adaptation method and device, computer equipment and storage medium
CN114756228A (en) Page processing method, device, equipment and storage medium
CN112631564A (en) Content management system-based interface generation method, device, equipment and storage medium
CN115994517A (en) Information processing method, apparatus, storage medium, device, and program product
CN111857782B (en) Interface updating method and device, computer equipment and storage medium
EP2557505A1 (en) Web display program conversion system, web display program conversion method, and program for web display program conversion
CN115202673A (en) Application construction method and device based on cloud server and computer 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