CN113469740A - Advertisement data acquisition method, device, equipment and storage medium - Google Patents

Advertisement data acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN113469740A
CN113469740A CN202110722316.1A CN202110722316A CN113469740A CN 113469740 A CN113469740 A CN 113469740A CN 202110722316 A CN202110722316 A CN 202110722316A CN 113469740 A CN113469740 A CN 113469740A
Authority
CN
China
Prior art keywords
advertisement
data
platform
request
party
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
CN202110722316.1A
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.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen 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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202110722316.1A priority Critical patent/CN113469740A/en
Publication of CN113469740A publication Critical patent/CN113469740A/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
    • G06Q30/0251Targeted advertisements
    • G06Q30/0257User requested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of data processing, and discloses a method, a device, equipment and a storage medium for acquiring advertisement data, wherein the method comprises the following steps: receiving an advertisement acquisition request of user equipment, wherein the advertisement acquisition request comprises advertisement request data; calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a configuration table according to the advertisement acquisition request; performing format conversion on the advertisement request data through a dynamic library to obtain third-party advertisement platform data; sending the third-party advertisement platform data to a third-party advertisement platform through a data interface; receiving response data returned by the third-party advertisement platform through a data interface, and performing format conversion on the response data through a dynamic library to obtain unified advertisement data; and sending the unified advertisement data to the user equipment. According to the invention, the reusability of the data interface can be improved by generating and calling the third-party advertisement platform dynamic library. In addition, the invention also relates to a block chain technology, and the dynamic library can be stored in the block chain.

Description

Advertisement data acquisition method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring advertisement data.
Background
When the existing internet advertisement system is docked with the third-party advertisement platform, an interface for docking the third-party advertisement platform is redeveloped. The reason is that the interfaces of the internet advertisement system and each third-party advertisement platform are different, so that the interface protocols between the systems may also be different, and therefore, when each new third-party advertisement platform is accessed, one data interface is redeveloped according to the interface protocol of the third-party advertisement platform.
By means of the data docking, the internet advertising system and the third-party advertising platform are docked for several times, and the number of times of development and release is required. If the version of a certain third-party advertisement platform is updated, the data interface is affected, and the data interface is also developed, updated and released correspondingly. Developing an interface or updating an interface each time can affect a historical interface, and sometimes can cause the previous interface to be abnormal and generate faults. Every time the interface tester needs to perform regression testing, the former interface, the current interface and the place with influence need to be subjected to regression testing, a large amount of manpower and material resources are consumed, and the risk of online faults is increased.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the reusability of a data interface for the existing Internet advertisement system to obtain advertisements from a third-party advertisement platform is low.
The invention provides a method for acquiring advertisement data in a first aspect, which comprises the following steps: receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data; calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request; performing format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform; sending the third party advertisement platform data to the third party advertisement platform through the data interface; receiving response data returned by the third-party advertisement platform through the data interface, and performing format conversion on the response data through the dynamic library to obtain unified advertisement data; and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
Optionally, in a first implementation manner of the first aspect of the present invention, the obtaining, according to the format conversion performed on the advertisement request data by the dynamic library, third-party advertisement platform data that can be identified by the third-party advertisement platform includes: generating a function call request according to the request type of the advertisement acquisition request, wherein the function call request comprises a function call parameter; calling a function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter; and executing the function, and converting the advertisement request data into third-party advertisement platform data.
Optionally, in a second implementation manner of the first aspect of the present invention, the function includes a conversion function, and the function call parameter includes a function name; the calling the function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter comprises: acquiring a function type pointer corresponding to the conversion function from a preset function name mapping table according to the function name; determining the address of the conversion function in the dynamic library according to the function type pointer; and calling a conversion function in the dynamic library according to the address.
Optionally, in a third implementation manner of the first aspect of the present invention, the executing the function to convert the advertisement request data into third-party advertisement platform data includes: determining a first data format corresponding to a currently docked third-party advertisement platform; analyzing the advertisement request data to obtain a second data format corresponding to the advertisement request data; determining a corresponding converter according to the first data format and the second data format; and inputting the advertisement request data into the converter to obtain third-party advertisement platform data.
Optionally, in a fourth implementation manner of the first aspect of the present invention, before the executing the function and converting the advertisement request data into third-party advertisement platform data, the method further includes: determining a data format of the advertisement request data and a data format of the third advertisement platform data; and if the data format of the advertisement request data is the same as that of the third advertisement platform data, not executing the function.
Optionally, in a fifth implementation manner of the first aspect of the present invention, before the receiving an advertisement request sent by a user equipment, the method further includes: acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform; if the request type is that a docking platform is added, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file; storing the dynamic library to be added, the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table; and if the request type is the deletion of the docking platform, determining the third-party advertisement platform to be deleted and the corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library of the third-party advertisement platform to be added according to the description file includes: acquiring a description file of the third-party advertisement platform to be added; parsing the description file to obtain a source code file of the rule file; and compiling the source code file into a corresponding dynamic library through a preset compiling engine.
A second aspect of the present invention provides an advertisement data acquisition apparatus, including: the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving an advertisement obtaining request sent by user equipment, and the advertisement obtaining request comprises advertisement request data; the calling module is used for calling a dynamic library and a data interface corresponding to the currently-butted third-party advertisement platform from a preset configuration table according to the advertisement acquisition request; the first conversion module is used for carrying out format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform; the sending module is used for sending the third-party advertisement platform data to the third-party advertisement platform through the data interface; the second conversion module is used for receiving response data returned by the third-party advertisement platform through the data interface and converting the format of the response data through the dynamic library to obtain uniform advertisement data; and the control playing module is used for sending the unified advertisement data to the user equipment and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
Optionally, in a first implementation manner of the second aspect of the present invention, the first conversion module specifically includes: a request generating unit, configured to generate a function call request according to a request type of the advertisement obtaining request, where the function call request includes a function call parameter; a function calling unit, configured to call a function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter; and the function execution unit is used for executing the function and converting the advertisement request data into third-party advertisement platform data.
Optionally, in a second implementation manner of the second aspect of the present invention, the function includes a conversion function, the function call parameter includes a function name, and the function call unit is specifically configured to: acquiring a function type pointer corresponding to the conversion function from a preset function name mapping table according to the function name; determining the address of the conversion function in the dynamic library according to the function type pointer; and calling a conversion function in the dynamic library according to the address.
Optionally, in a third implementation manner of the second aspect of the present invention, the function execution unit is specifically configured to: determining a first data format corresponding to a currently docked third-party advertisement platform; analyzing the advertisement request data to obtain a second data format corresponding to the advertisement request data; determining a corresponding converter according to the first data format and the second data format; and inputting the advertisement request data into the converter to obtain third-party advertisement platform data.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the advertisement data obtaining apparatus further includes a function non-execution module, and the conversion unit is specifically configured to: determining a data format of the advertisement request data and a data format of the third advertisement platform data; and if the data format of the advertisement request data is the same as that of the third advertisement platform data, not executing the function.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the advertisement data obtaining apparatus further includes a configuration module, where the configuration module is specifically configured to: acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform; if the request type is that a docking platform is added, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file; storing the dynamic library to be added, the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table; and if the request type is the deletion of the docking platform, determining the third-party advertisement platform to be deleted and the corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the configuration module is further specifically configured to: acquiring a description file of the third-party advertisement platform to be added; parsing the description file to obtain a source code file of the rule file; and compiling the source code file into a corresponding dynamic library through a preset compiling engine.
A third aspect of the present invention provides an advertisement data acquisition apparatus, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the advertisement data acquisition device to perform the steps of the advertisement data acquisition method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the above-described advertisement data acquisition method.
In the technical scheme of the invention, an advertisement acquisition request sent by user equipment is received, wherein the advertisement acquisition request comprises advertisement request data; calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request; performing format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform; sending the third party advertisement platform data to the third party advertisement platform through the data interface; receiving response data returned by the third-party advertisement platform through the data interface, and performing format conversion on the response data through the dynamic library to obtain unified advertisement data; and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data. According to the invention, by developing the dynamic library of the newly added third-party advertisement platform, format conversion can be carried out through the dynamic library in the process of obtaining the advertisement by the user equipment, and meanwhile, the dynamic library is developed, so that the influence on data interfaces of other advertisement platforms can be avoided when the new third-party advertisement platform is docked, the online release is not needed, the seamless docking is realized, the faults are reduced, and the risk is reduced.
Drawings
FIG. 1 is a diagram of a first embodiment of an advertisement data obtaining method according to an embodiment of the present invention;
FIG. 2 is a diagram of a second embodiment of an advertisement data obtaining method according to an embodiment of the present invention;
FIG. 3 is a diagram of a third embodiment of an advertisement data obtaining method according to an embodiment of the present invention;
FIG. 4 is a diagram of a fourth embodiment of an advertisement data obtaining method according to an embodiment of the present invention;
FIG. 5 is a diagram of a fifth embodiment of an advertisement data obtaining method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of an advertisement data acquisition device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of another embodiment of the advertisement data acquisition device in the embodiment of the present invention;
fig. 8 is a schematic diagram of an embodiment of an advertisement data acquisition device in the embodiment of the present invention.
Detailed Description
In the technical scheme of the invention, an advertisement acquisition request sent by user equipment is received, wherein the advertisement acquisition request comprises advertisement request data; calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request; performing format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform; sending the third party advertisement platform data to the third party advertisement platform through the data interface; receiving response data returned by the third-party advertisement platform through the data interface, and performing format conversion on the response data through the dynamic library to obtain unified advertisement data; and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data. According to the invention, by developing the dynamic library of the newly added third-party advertisement platform, format conversion can be carried out through the dynamic library in the process of obtaining the advertisement by the user equipment, and meanwhile, the dynamic library is developed, so that the influence on data interfaces of other advertisement platforms can be avoided when the new third-party advertisement platform is docked, the online release is not needed, the seamless docking is realized, the faults are reduced, and the risk is reduced.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of the embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of an advertisement data obtaining method according to the embodiment of the present invention includes:
101. receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data;
it is to be understood that the execution subject of the present invention may be an advertisement data acquisition device, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
It is emphasized that the dynamic library may be stored in a node of a blockchain in order to ensure privacy and security of data.
In practical application, the Internet advertisement system is in butt joint with a third-party advertisement platform, the advertisements of the third-party advertisement platform are put on multiple platforms, the advertisements are put on user equipment connected with the Internet, the user equipment may be one of a smart phone, a television and a computer, and the user equipment sends an advertisement acquisition request to the internet advertisement system according to different equipment types and application scenarios, for example, the user equipment is a smart phone, when a user uses a video website which is docked by an internet advertising system through a smart phone or watches videos in the video website for a certain time, namely, an advertisement acquisition request is sent to the Internet advertisement system, if the user equipment is a television, the triggering condition for sending the advertisement acquisition request can be set to be that when the television is started, and the advertisement acquisition request of the user equipment of the Internet advertisement system acquires and puts the advertisement from the butted third-party advertisement platform.
In this embodiment, the advertisement request data mainly includes user device information, request id, advertisement position code, advertisement position type, advertisement display condition, user region information, and the like, where the user device information includes device type, device id, device width, device height, device longitude and latitude, and the like of the user device, the user device type includes smart phone, television, and computer, the request id mainly is user device id, the internet system performs device positioning and advertisement delivery according to the user device id, the advertisement position type mainly includes banner advertisement, text chain advertisement, native information stream, screen insertion advertisement, short video advertisement, and the like, the advertisement position code includes five advertisement position code modes of one-segment type, two-segment-batch processing, asynchronous, and iframe, the advertisement display condition mainly is to screen advertisements of a third-party advertisement platform, the advertisements meeting the conditions can be displayed, the user regional information is mainly the geographic information of the users, the advertisements required to be put by the users at different positions are different, and the screening of the third-party advertisement platform is carried out according to the user regional information.
102. Calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
in this embodiment, before the internet advertisement system is interfaced with the third-party advertisement system, interface standards of a data interface are determined, and after a data interface is generated, the data interface with each third-party advertisement platform is made into a dynamic library, where the interface standards mainly include interface standards for sending advertisement request data and interface standards for receiving advertisement response data, where the dynamic library refers to a dynamic link library, and dynamic links in the dynamic library may enable a process to call functions that do not belong to its executable code, and the executable files of the codes are located in a DLL file, and the DLL file contains one or more functions that have been compiled, linked, and stored separately from the process using them, and the functions can satisfy various functions on the data interface, and in this embodiment, the functions are mainly format conversion functions.
In this embodiment, after knowing the function of the function in the data interface, the operator of the internet advertisement system performs code design, inputs the code into the compiler for compilation, generates a dynamic library file, stores the dynamic library and the data interface, and acquires the dynamic library file when the dynamic library file needs to be used.
103. Performing format conversion on the advertisement request data through a dynamic library to obtain third-party advertisement platform data which can be identified by a third-party advertisement platform;
in the actual application, the dynamic library includes a plurality of dynamic links, and the dynamic links in the dynamic library enable the process to call functions that do not belong to the executable code of the process. In this embodiment, the conversion function includes two types, one is used to convert the data field of the internet advertisement system into a data field format that can be recognized by the third party advertisement platform, and the other is used to convert the advertisement data returned by the third party advertisement platform into a unified data format that can be recognized by the internet advertisement system.
In this embodiment, the conversion function in the dynamic library determines a corresponding data format according to the interface code by acquiring the interface code of the third-party advertisement platform, and converts the data format of the current advertisement request data into a data format corresponding to the interface code of the third advertisement platform.
104. Sending the third-party advertisement platform data to a third-party advertisement platform through a data interface;
in this embodiment, after the data interface for data transmission is determined, the data interface is called, interface routing addressing is performed on the third-party advertisement platform, the interface address is determined by determining the data interface mainly through the preset mapping relationship between the data interface and the interface address, and the third-party advertisement platform data is sent to the interface address of the third-party advertisement platform through the data interface.
In this embodiment, the interface address may further record interface call log information through an interface route, the recorded interface call log information includes call log information of any interface in the internet advertisement system, including interface call time information, interface information requested to be called, returned called data information, and the like, when the data interface call needs to be performed, the interface address of the previous third-party advertisement platform may be determined by querying the interface call log information, and the third-party advertisement platform data is sent to the interface address of the third-party advertisement platform through the data interface.
105. Receiving response data returned by the third-party advertisement platform through a data interface, and performing format conversion on the response data through a dynamic library to obtain unified advertisement data;
in this embodiment, the third-party advertisement platform selects an advertisement to be delivered according to the received third-party advertisement platform data, including user equipment information, request id, advertisement space code, advertisement space type, advertisement display condition, and user region information, and returns response data, including advertisement request id, advertisement space code, third-party platform id, advertisement material, landing page, monitoring address, and the like, where the landing page is a web page opened for the user to see after a potential user clicks an advertisement or searches with a search engine, and the monitoring address is used for monitoring information such as click rate of data.
In practical application, the dynamic library includes a plurality of dynamic links, and the dynamic links in the dynamic library enable a process to call functions that do not belong to executable codes of the dynamic library.
106. And sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
In this embodiment, the unified advertisement data includes an advertisement request id, an advertisement position code, a third party platform id, an advertisement material object, a landing page, a third party monitoring address, a third party advertisement identifier and the like, after the unified advertisement data is sent to the user equipment, the user equipment is controlled to play advertisements according to the advertisement material object and the advertisement position code, when the user clicks the advertisements, the advertisements enter a webpage corresponding to the landing page, the third party monitoring address monitors behavior data of the user watching the advertisements, and the advertisement request id, the third party platform id and the third party advertisement identifier are used for carrying out identification recording on the played advertisements and the third party advertisement platform.
In this embodiment, an advertisement acquisition request sent by a user equipment is received, where the advertisement acquisition request includes advertisement request data; calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request; performing format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform; sending the third party advertisement platform data to the third party advertisement platform through the data interface; receiving response data returned by the third-party advertisement platform through the data interface, and performing format conversion on the response data through the dynamic library to obtain unified advertisement data; and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data. According to the invention, by developing the dynamic library of the newly added third-party advertisement platform, format conversion can be carried out through the dynamic library in the process of obtaining the advertisement by the user equipment, and meanwhile, the dynamic library is developed, so that the influence on data interfaces of other advertisement platforms can be avoided when the new third-party advertisement platform is docked, the online release is not needed, the seamless docking is realized, the faults are reduced, and the risk is reduced.
Referring to fig. 2, a second embodiment of the advertisement data obtaining method according to the embodiment of the present invention includes:
201. receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data;
202. calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
203. generating a function call request according to the request type of the advertisement acquisition request, wherein the function call request comprises a function call parameter;
204. acquiring a function type pointer corresponding to the conversion function from a preset function name mapping table according to the function name in the function calling parameter;
in this embodiment, a worker previously performs dynamic library description, function type definition, and parameter description, including loading names and paths of a dynamic library, and types of functions in the dynamic library, and since different functions are compiled in the dynamic library according to different functions, when function calling is performed, a request type needs to be determined.
205. Determining the address of the conversion function in the dynamic library according to the function type pointer;
206. calling a conversion function in the dynamic library according to the address;
in this embodiment, the function call parameter includes multiple data, a corresponding function type pointer can be queried according to the function call parameter and a corresponding mapping table, the function call parameter includes a function name, and a corresponding pointer is obtained from the mapping table by the function name, in practical applications, each function occupies a segment of memory unit, which has a start address, and the pointer pointing to the function entry address is called a function pointer, in C/C + + language, the pointer is generally considered to be a pointer variable, the content of the pointer variable stores the first address of an object pointed to by the pointer variable, and the address of the corresponding function can be obtained and called by the pointer.
207. Executing a conversion function, and converting the advertisement request data into third-party advertisement platform data;
in the embodiment, the parameter map is transferred to the processing function, the local function is called in the processing function, the function is executed, and the return value of the function is converted into the json format character string and sent back to the internet advertisement platform as the third-party advertisement data for subsequent processing.
208. Sending the third-party advertisement platform data to a third-party advertisement platform through a data interface;
209. receiving response data returned by the third-party advertisement platform through a data interface, and performing format conversion on the response data through a dynamic library to obtain unified advertisement data;
210. and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
On the basis of the previous embodiment, the embodiment describes in detail a process of obtaining third-party advertisement platform data that can be identified by a third-party advertisement platform according to format conversion of advertisement request data by a dynamic library, and generates a function call request according to a request type of an advertisement acquisition request, where the function call request includes a function call parameter; calling a function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter; and executing a function to convert the advertisement request data into third-party advertisement platform data. In the embodiment, the format conversion of the data is performed through the dynamic link scheduling function in the dynamic library, so that the influence on data interfaces of other advertisement platforms can be avoided.
Referring to fig. 3, a third embodiment of the advertisement data obtaining method according to the embodiment of the present invention includes:
301. receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data;
302. calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
303. generating a function call request according to the request type of the advertisement acquisition request, wherein the function call request comprises a function call parameter;
304. calling a function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter;
305. determining a data format of the advertisement request data and a data format of the third advertisement platform data;
306. if the data format of the advertisement request data is the same as that of the third advertisement platform data, the function is not executed;
in this embodiment, the data format of the advertisement request data may be the same as the data format that can be identified by the third-party advertisement platform, which means that the advertisement request data is directly sent to the third-party advertisement platform according to the original data format for advertisement acquisition without data format conversion.
307. If the data format of the advertisement request data is different from the data format of the third advertisement platform data, determining a corresponding converter according to the function;
308. inputting the advertisement request data into a converter to obtain third-party advertisement platform data;
in this embodiment, because the third-party advertisement platforms that need to be accessed are different, the data formats that can be identified by the third-party advertisement platforms are also different, and data in different formats need to be converted into the data formats that can be identified by the third-party advertisement platforms, so as to obtain a data object in a preset format, for example, the data format that can be identified by the third-party advertisement platform is the JSON format, and format conversion is to convert advertisement request data in other formats into the third-party advertisement platform data in the JSON format. In this embodiment, the conversion function performs format conversion by determining a data format of the current advertisement request data and a data format of the third-party advertisement platform data and calling a preset format converter.
309. Sending the third-party advertisement platform data to a third-party advertisement platform through a data interface;
310. receiving response data returned by the third-party advertisement platform through a data interface, and performing format conversion on the response data through a dynamic library to obtain unified advertisement data;
311. and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
On the basis of the previous embodiment, the process of executing the function and converting the advertisement request data into the third-party advertisement platform data is described in detail, and a first data format corresponding to the currently docked third-party advertisement platform is determined; analyzing the advertisement request data to obtain a second data format corresponding to the advertisement request data; determining a corresponding converter according to the first data format and the second data format; and inputting the advertisement request data into the converter to obtain third-party advertisement platform data. The data format is confirmed by calling the function through the dynamic library, and the data format conversion and the calling of the corresponding converter are carried out through the function, so that the influence on data interfaces of other advertisement platforms can be avoided.
Referring to fig. 4, a fourth embodiment of the advertisement data obtaining method according to the embodiment of the present invention includes:
401. acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform;
in this embodiment, in order to dynamically add or remove the third-party advertisement platform system, an operation entry capable of configuring the third-party advertisement may be added to the configuration background of the advertisement, where the operation entry may add or delete the third-party advertisement system, and when a worker needs to add or delete the third-party advertisement platform docked by the internet advertisement system, the worker clicks a corresponding button on the operation entry to generate a corresponding advertisement platform configuration request.
402. If the request type is to add a docking platform, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file;
in this embodiment, when the request type of the advertisement platform configuration request is to add a docking platform, the advertisement platform configuration request further includes a description file of a third-party advertisement platform to be added, where the description file includes a dynamic library name xxxadinterface.dll (Windows) or xxxadinterface.so (Linux, unix) defining an interface of the third-party advertisement platform, and an interface name defining the same data for sending the advertisement request: sendrequest, unified parameter type: AdRequestData, defines the uniform interface name recvAdResponse for receiving the advertisement response data, and has the uniform parameter types: AdResponseData, a language for developing the dynamic library, including c language or c + +, and corresponding functions and codes developed through the development language, and compiling the codes in the description file to obtain the dynamic library file.
403. Storing the dynamic library to be added and the corresponding relation between the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table;
in this embodiment, after the dynamic library is generated and loaded, the dynamic library is docked with the third-party advertisement system, the dynamic library to be added and the corresponding relationship between the dynamic library to be added and the third-party advertisement platform to be added are stored in a preset configuration table, and after an advertisement acquisition request is received, the currently docked third-party advertisement platform can be analyzed from the configuration table and the corresponding dynamic library can be acquired for subsequent work.
404. If the request type is a deletion docking platform, determining a third-party advertisement platform to be deleted and a corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table;
in this embodiment, when the advertisement platform configuration request is to delete the docking platform, the advertisement platform configuration request includes an identifier of the third-party advertisement platform to be deleted, and after the identifier is obtained by analyzing the advertisement platform configuration request, the third-party advertisement platform and the corresponding dynamic library are deleted from the configuration table.
405. Receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data;
406. calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
407. performing format conversion on the advertisement request data through a dynamic library to obtain third-party advertisement platform data which can be identified by a third-party advertisement platform;
408. sending the third-party advertisement platform data to a third-party advertisement platform through a data interface;
409. receiving response data returned by the third-party advertisement platform through a data interface, and performing format conversion on the response data through a dynamic library to obtain unified advertisement data;
410. and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
On the basis of the previous embodiment, the present embodiment adds a process of configuring a third-party platform, and analyzes a request type of an advertisement platform configuration request by obtaining the advertisement platform configuration request, wherein the request type includes adding a docking platform or deleting the docking platform; if the request type is to add a docking platform, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file; storing the dynamic library to be added, the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table; and if the request type is the deletion of the docking platform, determining the third-party advertisement platform to be deleted and the corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table. By the method, the third-party advertisement platform which is in butt joint with the Internet advertisement system can be flexibly configured, and the influence on the interfaces of other third-party advertisement platforms is avoided.
Referring to fig. 5, a fifth embodiment of the advertisement data obtaining method according to the embodiment of the present invention includes:
501. acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform;
502. if the request type is that a docking platform is added, obtaining a description file of a third-party advertisement platform to be added;
in this embodiment, the staff develops a code in advance according to a function to be performed, and defines a dynamic library name xxxadlnterface.dll (Windows) or xxxadlnterface.so (Linux, unix) of the third-party advertisement platform interface and an interface name for transmitting the same advertisement request data: sendrequest, unified parameter type: AdRequestData, defines the uniform interface name recvAdResponse for receiving the advertisement response data, and has the uniform parameter types: AdResponseData, and the language in which dynamic library development is performed, including c language or c + +, and the corresponding functions and code developed by the development language are written into the description file.
503. Parsing the description file to obtain a source code file of the rule file;
in this embodiment, the description file is mapped into a syntax tree by the syntax tree parsing, the syntax tree includes a declaration node, a sub declaration node, and a sub expression node, the declaration node, the sub declaration node, and the sub expression node are sequentially converted according to a preset data abstraction normal, and the content obtained by the conversion is saved as a source code file.
504. Compiling the source code file into a corresponding dynamic library through a preset compiling engine;
in this embodiment, the compiler of the target language is called by the compiling engine, and the source code file is compiled into the dynamic library by the compiler. The compiler may be GCC, G + +, where GCC is (GNU compiler suite) a programming language compiler developed by GNU, GCC is originally a compiler written specifically for GNU operating systems, and G + + is a C + + compiler under GCC.
505. Storing the dynamic library to be added and the corresponding relation between the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table;
506. if the request type is a deletion docking platform, determining a third-party advertisement platform to be deleted and a corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table;
507. receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data;
508. calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
509. performing format conversion on the advertisement request data through a dynamic library to obtain third-party advertisement platform data which can be identified by a third-party advertisement platform;
510. sending the third-party advertisement platform data to a third-party advertisement platform through a data interface;
511. receiving response data returned by the third-party advertisement platform through a data interface, and performing format conversion on the response data through a dynamic library to obtain unified advertisement data;
512. and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
On the basis of the previous embodiment, the process of the configuration process of the dynamic library is described in detail, and the description file of the third-party advertisement platform to be added is obtained; parsing the description file to obtain a source code file of the rule file; and compiling the source code file into a corresponding dynamic library through a preset compiling engine. By the method, the source code file of the description file with the specific function is compiled to generate the dynamic library, so that the influence on data interfaces of other advertisement platforms can be avoided.
In the above description of the advertisement data obtaining method in the embodiment of the present invention, referring to fig. 6, an advertisement data obtaining apparatus in the embodiment of the present invention is described below, and an embodiment of the advertisement data obtaining apparatus in the embodiment of the present invention includes:
a receiving module 601, configured to receive an advertisement obtaining request sent by user equipment, where the advertisement obtaining request includes advertisement request data;
a calling module 602, configured to call, according to the advertisement acquisition request, a dynamic library and a data interface corresponding to a currently docked third-party advertisement platform from a preset configuration table;
a first conversion module 603, configured to perform format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data that can be identified by the third-party advertisement platform;
a sending module 604, configured to send the third-party advertisement platform data to the third-party advertisement platform through the data interface;
the second conversion module 605 is configured to receive response data returned by the third-party advertisement platform through the data interface and perform format conversion on the response data through the dynamic library to obtain unified advertisement data;
and a control playing module 606, configured to send the unified advertisement data to the user equipment, and control the user equipment to play a corresponding advertisement according to the unified advertisement data.
It is emphasized that the dynamic library may be stored in a node of a blockchain in order to ensure privacy and security of data.
In the embodiment of the present invention, the advertisement data obtaining apparatus runs the above advertisement data obtaining method, and receives an advertisement obtaining request sent by a user equipment, where the advertisement obtaining request includes advertisement request data; calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request; performing format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform; sending the third party advertisement platform data to the third party advertisement platform through the data interface; receiving response data returned by the third-party advertisement platform through the data interface, and performing format conversion on the response data through the dynamic library to obtain unified advertisement data; and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data. According to the invention, by developing the dynamic library of the newly added third-party advertisement platform, format conversion can be carried out through the dynamic library in the process of obtaining the advertisement by the user equipment, and meanwhile, the dynamic library is developed, so that the influence on data interfaces of other advertisement platforms can be avoided when the new third-party advertisement platform is docked, the online release is not needed, the seamless docking is realized, the faults are reduced, and the risk is reduced.
Referring to fig. 7, a second embodiment of the advertisement data obtaining apparatus according to the embodiment of the present invention includes:
a receiving module 601, configured to receive an advertisement obtaining request sent by user equipment, where the advertisement obtaining request includes advertisement request data;
a calling module 602, configured to call, according to the advertisement acquisition request, a dynamic library and a data interface corresponding to a currently docked third-party advertisement platform from a preset configuration table;
a first conversion module 603, configured to perform format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data that can be identified by the third-party advertisement platform;
a sending module 604, configured to send the third-party advertisement platform data to the third-party advertisement platform through the data interface;
the second conversion module 605 is configured to receive response data returned by the third-party advertisement platform through the data interface and perform format conversion on the response data through the dynamic library to obtain unified advertisement data;
and a control playing module 606, configured to send the unified advertisement data to the user equipment, and control the user equipment to play a corresponding advertisement according to the unified advertisement data.
The first conversion module 603 specifically includes: a request generating unit 6031, configured to generate a function call request according to a request type of the advertisement obtaining request, where the function call request includes a function call parameter; a function calling unit 6032, configured to call, according to the function calling parameter, a function corresponding to the advertisement obtaining request in the dynamic library; a function executing unit 6033, configured to execute the function, and convert the advertisement request data into third party advertisement platform data.
Optionally, the function includes a conversion function, the function call parameter includes a function name, and the function call unit 6032 is specifically configured to: acquiring a function type pointer corresponding to the conversion function from a preset function name mapping table according to the function name; determining the address of the conversion function in the dynamic library according to the function type pointer; and calling a conversion function in the dynamic library according to the address.
Optionally, the function executing unit 6033 is specifically configured to: determining a first data format corresponding to a currently docked third-party advertisement platform; analyzing the advertisement request data to obtain a second data format corresponding to the advertisement request data; determining a corresponding converter according to the first data format and the second data format; and inputting the advertisement request data into the converter to obtain third-party advertisement platform data.
The advertisement data acquiring apparatus further includes a function non-executing module 607, where the function non-executing module 607 is specifically configured to: determining a data format of the advertisement request data and a data format of the third advertisement platform data; and if the data format of the advertisement request data is the same as that of the third advertisement platform data, not executing the function.
The advertisement data acquiring apparatus further includes a configuration module 608, and the configuration module 608 is specifically configured to: acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform; if the request type is that a docking platform is added, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file; storing the dynamic library to be added, the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table; and if the request type is the deletion of the docking platform, determining the third-party advertisement platform to be deleted and the corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table.
Optionally, the configuration module 608 is further specifically configured to: acquiring a description file of the third-party advertisement platform to be added; parsing the description file to obtain a source code file of the rule file; and compiling the source code file into a corresponding dynamic library through a preset compiling engine.
On the basis of the previous embodiment, the specific functions of each module and the unit composition of part of the modules are described in detail, through the newly added modules, dynamic library development is performed on the newly added third-party advertisement platform, in the process of obtaining advertisements by user equipment, format conversion can be performed through the dynamic library, meanwhile, the dynamic library can be developed when the new third-party advertisement platform is docked, influences on data interfaces of other advertisement platforms are avoided, online publishing is not needed, seamless docking is achieved, faults are reduced, and risks are reduced.
Fig. 6 and fig. 7 describe the advertisement data obtaining apparatus in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the advertisement data obtaining apparatus in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 8 is a schematic structural diagram of an advertisement data acquiring device according to an embodiment of the present invention, where the advertisement data acquiring device 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 810 (e.g., one or more processors) and a memory 820, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 833 or data 832. Memory 820 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations for the advertisement-data obtaining apparatus 800. Further, the processor 810 may be configured to communicate with the storage medium 830, and execute a series of instruction operations in the storage medium 830 on the advertisement data acquisition device 800 to implement the steps of the advertisement data acquisition method described above.
The advertising data acquisition device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input-output interfaces 860, and/or one or more operating systems 831, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the advertising data acquisition device configuration shown in fig. 8 does not constitute a limitation of the advertising data acquisition devices provided herein, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the advertisement data acquisition method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An advertisement data acquisition method, characterized by comprising:
receiving an advertisement acquisition request sent by user equipment, wherein the advertisement acquisition request comprises advertisement request data;
calling a dynamic library and a data interface corresponding to the currently-docked third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
performing format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform;
sending the third party advertisement platform data to the third party advertisement platform through the data interface;
receiving response data returned by the third-party advertisement platform through the data interface, and performing format conversion on the response data through the dynamic library to obtain unified advertisement data;
and sending the unified advertisement data to the user equipment, and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
2. The method for acquiring advertisement data according to claim 1, wherein the obtaining third party advertisement platform data that can be recognized by the third party advertisement platform according to the format conversion of the advertisement request data by the dynamic library comprises:
generating a function call request according to the request type of the advertisement acquisition request, wherein the function call request comprises a function call parameter;
calling a function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter;
and executing the function, and converting the advertisement request data into third-party advertisement platform data.
3. The advertisement data acquisition method according to claim 2, wherein the function includes a conversion function, and the function call parameter includes a function name;
the calling the function corresponding to the advertisement acquisition request in the dynamic library according to the function calling parameter comprises:
acquiring a function type pointer corresponding to the conversion function from a preset function name mapping table according to the function name;
determining the address of the conversion function in the dynamic library according to the function type pointer;
and calling a conversion function in the dynamic library according to the address.
4. The method of claim 2, wherein the executing the function to convert the advertisement request data into third party advertisement platform data comprises:
determining a first data format corresponding to a currently docked third-party advertisement platform;
analyzing the advertisement request data to obtain a second data format corresponding to the advertisement request data;
determining a corresponding converter according to the first data format and the second data format;
and inputting the advertisement request data into the converter to obtain third-party advertisement platform data.
5. The method of claim 2, wherein before the executing the function to convert the advertisement request data into third party advertisement platform data, further comprising:
determining a data format of the advertisement request data and a data format of the third advertisement platform data;
and if the data format of the advertisement request data is the same as that of the third advertisement platform data, not executing the function.
6. The advertisement data acquisition method according to any one of claims 1 to 5, further comprising, before the receiving of the advertisement request issued by the user equipment:
acquiring an advertisement platform configuration request, and analyzing the request type of the advertisement platform configuration request, wherein the request type comprises adding a docking platform or deleting the docking platform;
if the request type is that a docking platform is added, obtaining a description file of a third-party advertisement platform to be added, and generating a dynamic library to be added according to the description file;
storing the dynamic library to be added, the dynamic library to be added and the third-party advertisement platform to be added into a preset configuration table;
and if the request type is the deletion of the docking platform, determining the third-party advertisement platform to be deleted and the corresponding dynamic library, and deleting the third-party advertisement platform to be deleted and the corresponding dynamic library from the configuration table.
7. The method for acquiring advertisement data according to claim 6, wherein the acquiring a description file of the third-party advertisement platform to be added and generating a dynamic library of the third-party advertisement platform to be added according to the description file comprises:
acquiring a description file of the third-party advertisement platform to be added;
parsing the description file to obtain a source code file of the rule file;
and compiling the source code file into a corresponding dynamic library through a preset compiling engine.
8. An advertisement data acquisition apparatus characterized by comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving an advertisement obtaining request sent by user equipment, and the advertisement obtaining request comprises advertisement request data;
the calling module is used for calling a dynamic library and a data interface corresponding to the currently-butted third-party advertisement platform from a preset configuration table according to the advertisement acquisition request;
the first conversion module is used for carrying out format conversion on the advertisement request data through the dynamic library to obtain third-party advertisement platform data which can be identified by the third-party advertisement platform;
the sending module is used for sending the third-party advertisement platform data to the third-party advertisement platform through the data interface;
the second conversion module is used for receiving response data returned by the third-party advertisement platform through the data interface and converting the format of the response data through the dynamic library to obtain uniform advertisement data;
and the control playing module is used for sending the unified advertisement data to the user equipment and controlling the user equipment to play the corresponding advertisement according to the unified advertisement data.
9. An advertisement data acquisition apparatus characterized by comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invoking the instructions in the memory to cause the advertising data acquisition device to perform the steps of the advertising data acquisition method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the advertisement data acquisition method according to any one of claims 1-7.
CN202110722316.1A 2021-06-28 2021-06-28 Advertisement data acquisition method, device, equipment and storage medium Pending CN113469740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110722316.1A CN113469740A (en) 2021-06-28 2021-06-28 Advertisement data acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110722316.1A CN113469740A (en) 2021-06-28 2021-06-28 Advertisement data acquisition method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113469740A true CN113469740A (en) 2021-10-01

Family

ID=77873431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110722316.1A Pending CN113469740A (en) 2021-06-28 2021-06-28 Advertisement data acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113469740A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114282949A (en) * 2021-12-27 2022-04-05 广州通达汽车电气股份有限公司 Method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120059696A1 (en) * 2010-09-08 2012-03-08 United Video Properties, Inc. Systems and methods for providing advertisements to user devices using an advertisement gateway

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120059696A1 (en) * 2010-09-08 2012-03-08 United Video Properties, Inc. Systems and methods for providing advertisements to user devices using an advertisement gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡振平, 王昌德, 王本奇: "测井数据格式转换系统", 测井技术, no. 04, 30 October 2005 (2005-10-30), pages 369 - 370 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114282949A (en) * 2021-12-27 2022-04-05 广州通达汽车电气股份有限公司 Method and device

Similar Documents

Publication Publication Date Title
US9715370B2 (en) Method and system for providing content
US11667033B2 (en) Systems and methods for robotic process automation
US20230036980A1 (en) Micro-frontend system, sub-application loading method, electronic device, computer program product, and computer-readable storage medium
CN113448611B (en) Method and system for quickly and thermally updating application program
US11726800B2 (en) Remote component loader
CN112114890A (en) Method, device and equipment for processing small program and storage medium
CN111680253A (en) Page application data packet generation method and device, computer equipment and storage medium
CN112769706B (en) Componentized routing method and system
CN113268245A (en) Code analysis method, device and storage medium
US20100313207A1 (en) Service provider management device, service provider management program, and service provider management method
CN116431155A (en) Front-end application construction method, medium, device and computing equipment
CN112835568A (en) Project construction method and device
CN113469740A (en) Advertisement data acquisition method, device, equipment and storage medium
US11210110B2 (en) Application library analytics tool
CN113760736A (en) Test method, device and system
AU2019222873B2 (en) Method and system for providing content
CN111427770B (en) Resource testing method and related equipment
CN115525305A (en) Data processing method, application starting method, device, computer equipment and storage medium
KR100538801B1 (en) Graphic User Interface Providing System And Method Wireless Terminal Applications
CN113535188A (en) Privatization deployment method and device
CN113835691B (en) IOS application development method, system, device, medium and program product
CN115269051A (en) Business item output method and device based on data modularization, medium and equipment
US20130111504A1 (en) Dialog to service conversion method and system
CN117827185A (en) Method, system, device and medium for generating micro front-end application page
CN117112003A (en) Content updating 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